[INFO] fetching crate pepper 0.31.0... [INFO] testing pepper-0.31.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pepper 0.31.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pepper 0.31.0 [INFO] finished tweaking crates.io crate pepper 0.31.0 [INFO] tweaked toml for crates.io crate pepper 0.31.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pepper 0.31.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pepper 0.31.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c6bd69c75cfaa771abb248832832f71cb81967cced3975131ec66e09b774b6 [INFO] running `Command { std: "docker" "start" "-a" "82c6bd69c75cfaa771abb248832832f71cb81967cced3975131ec66e09b774b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c6bd69c75cfaa771abb248832832f71cb81967cced3975131ec66e09b774b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c6bd69c75cfaa771abb248832832f71cb81967cced3975131ec66e09b774b6", kill_on_drop: false }` [INFO] [stdout] 82c6bd69c75cfaa771abb248832832f71cb81967cced3975131ec66e09b774b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 20f517b5547841a203002b5179491d22a76a96636c7bcae1af07ad5a6dd49115 [INFO] running `Command { std: "docker" "start" "-a" "20f517b5547841a203002b5179491d22a76a96636c7bcae1af07ad5a6dd49115", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling pepper v0.31.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:219:68 [INFO] [stdout] | [INFO] [stdout] 219 | static mut ORIGINAL_PANIC_HOOK: MaybeUninit> = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | let config = ON_PANIC_CONFIG.assume_init_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let hook = ORIGINAL_PANIC_HOOK.assume_init_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/buffer.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard { [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] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard<'_> { [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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 521 | WordRefWithIndex, [INFO] [stdout] | ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] 522 | impl Iterator, [INFO] [stdout] | ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] 523 | impl Iterator, [INFO] [stdout] | ---------------- the lifetimes get 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] 521 ~ WordRefWithIndex<'_>, [INFO] [stdout] 522 ~ impl Iterator>, [INFO] [stdout] 523 ~ impl Iterator>, [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:556:20 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex { [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] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex<'_> { [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:772:23 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter { [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] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter<'_> { [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:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 921 | WordRefWithPosition, [INFO] [stdout] | ------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 922 | impl Iterator, [INFO] [stdout] | ------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 923 | impl Iterator, [INFO] [stdout] | ------------------- the lifetimes get 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] 921 ~ WordRefWithPosition<'_>, [INFO] [stdout] 922 ~ impl Iterator>, [INFO] [stdout] 923 ~ impl Iterator>, [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:939:20 [INFO] [stdout] | [INFO] [stdout] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition { [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] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition<'_> { [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:1280:28 [INFO] [stdout] | [INFO] [stdout] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection { [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] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection<'_> { [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_history.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 378 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stdout] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 378 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [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_history.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 406 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stdout] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 406 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/config.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_config(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 68 | / config_values! { [INFO] [stdout] 69 | | tab_size: u8 = 4, [INFO] [stdout] 70 | | indent_with_tabs: bool = false, [INFO] [stdout] ... | [INFO] [stdout] 79 | | status_bar_max_height: u8 = 8, [INFO] [stdout] 80 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `config_values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_config(&self, key: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard { [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] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter { [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] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:747:36 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser) { [INFO] [stdout] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:757:38 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser) { [INFO] [stdout] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard { [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] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 106 | handle: BufferHandle, [INFO] [stdout] 107 | ) -> BufferRangeDeletesMutGuard { [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] 107 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 129 | handle: BufferHandle, [INFO] [stdout] 130 | ) -> BufferTextInsertsMutGuard { [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] 130 | ) -> BufferTextInsertsMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 136 | handle: BufferHandle, [INFO] [stdout] 137 | ) -> BufferRangeDeletesMutGuard { [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] 137 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard { [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] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/events.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | std::mem::drop(range_deletes); [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BufferRangeDeletesMutGuard<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 201 - std::mem::drop(range_deletes); [INFO] [stdout] 201 + let _ = range_deletes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/events.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | std::mem::drop(text_inserts); [INFO] [stdout] | ^^^^^^^^^^^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BufferTextInsertsMutGuard<'_>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 220 - std::mem::drop(text_inserts); [INFO] [stdout] 220 + let _ = text_inserts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/help.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option { [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] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/word_database.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn word_indices(&self) -> WordIndicesIter { [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] 205 | pub fn word_indices(&self) -> WordIndicesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.00s [INFO] running `Command { std: "docker" "inspect" "20f517b5547841a203002b5179491d22a76a96636c7bcae1af07ad5a6dd49115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f517b5547841a203002b5179491d22a76a96636c7bcae1af07ad5a6dd49115", kill_on_drop: false }` [INFO] [stdout] 20f517b5547841a203002b5179491d22a76a96636c7bcae1af07ad5a6dd49115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 336103abcc622bdf35c943be416e56e388b5e30a1c87756c71008fa6c73ecbf7 [INFO] running `Command { std: "docker" "start" "-a" "336103abcc622bdf35c943be416e56e388b5e30a1c87756c71008fa6c73ecbf7", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:219:68 [INFO] [stdout] | [INFO] [stdout] 219 | static mut ORIGINAL_PANIC_HOOK: MaybeUninit> = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | let config = ON_PANIC_CONFIG.assume_init_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let hook = ORIGINAL_PANIC_HOOK.assume_init_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/buffer.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard { [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] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard<'_> { [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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 521 | WordRefWithIndex, [INFO] [stdout] | ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] 522 | impl Iterator, [INFO] [stdout] | ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] 523 | impl Iterator, [INFO] [stdout] | ---------------- the lifetimes get 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] 521 ~ WordRefWithIndex<'_>, [INFO] [stdout] 522 ~ impl Iterator>, [INFO] [stdout] 523 ~ impl Iterator>, [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:556:20 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex { [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] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex<'_> { [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:772:23 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter { [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] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter<'_> { [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:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 921 | WordRefWithPosition, [INFO] [stdout] | ------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 922 | impl Iterator, [INFO] [stdout] | ------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 923 | impl Iterator, [INFO] [stdout] | ------------------- the lifetimes get 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] 921 ~ WordRefWithPosition<'_>, [INFO] [stdout] 922 ~ impl Iterator>, [INFO] [stdout] 923 ~ impl Iterator>, [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:939:20 [INFO] [stdout] | [INFO] [stdout] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition { [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] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition<'_> { [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:1280:28 [INFO] [stdout] | [INFO] [stdout] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection { [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] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection<'_> { [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_history.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 378 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stdout] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 378 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [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_history.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 406 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stdout] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 406 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/config.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_config(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 68 | / config_values! { [INFO] [stdout] 69 | | tab_size: u8 = 4, [INFO] [stdout] 70 | | indent_with_tabs: bool = false, [INFO] [stdout] ... | [INFO] [stdout] 79 | | status_bar_max_height: u8 = 8, [INFO] [stdout] 80 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `config_values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_config(&self, key: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard { [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] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter { [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] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:747:36 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser) { [INFO] [stdout] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pepper v0.31.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:757:38 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser) { [INFO] [stdout] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard { [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] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 106 | handle: BufferHandle, [INFO] [stdout] 107 | ) -> BufferRangeDeletesMutGuard { [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] 107 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 129 | handle: BufferHandle, [INFO] [stdout] 130 | ) -> BufferTextInsertsMutGuard { [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] 130 | ) -> BufferTextInsertsMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 136 | handle: BufferHandle, [INFO] [stdout] 137 | ) -> BufferRangeDeletesMutGuard { [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] 137 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard { [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] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/events.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | std::mem::drop(range_deletes); [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BufferRangeDeletesMutGuard<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 201 - std::mem::drop(range_deletes); [INFO] [stdout] 201 + let _ = range_deletes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/events.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | std::mem::drop(text_inserts); [INFO] [stdout] | ^^^^^^^^^^^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BufferTextInsertsMutGuard<'_>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 220 - std::mem::drop(text_inserts); [INFO] [stdout] 220 + let _ = text_inserts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/help.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option { [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] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/word_database.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn word_indices(&self) -> WordIndicesIter { [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] 205 | pub fn word_indices(&self) -> WordIndicesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:219:68 [INFO] [stdout] | [INFO] [stdout] 219 | static mut ORIGINAL_PANIC_HOOK: MaybeUninit> = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | let config = ON_PANIC_CONFIG.assume_init_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let hook = ORIGINAL_PANIC_HOOK.assume_init_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/buffer.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard { [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] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard<'_> { [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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 521 | WordRefWithIndex, [INFO] [stdout] | ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] 522 | impl Iterator, [INFO] [stdout] | ---------------- the lifetimes get resolved as `'_` [INFO] [stdout] 523 | impl Iterator, [INFO] [stdout] | ---------------- the lifetimes get 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] 521 ~ WordRefWithIndex<'_>, [INFO] [stdout] 522 ~ impl Iterator>, [INFO] [stdout] 523 ~ impl Iterator>, [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:556:20 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex { [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] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex<'_> { [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:772:23 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter { [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] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter<'_> { [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:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 921 | WordRefWithPosition, [INFO] [stdout] | ------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 922 | impl Iterator, [INFO] [stdout] | ------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 923 | impl Iterator, [INFO] [stdout] | ------------------- the lifetimes get 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] 921 ~ WordRefWithPosition<'_>, [INFO] [stdout] 922 ~ impl Iterator>, [INFO] [stdout] 923 ~ impl Iterator>, [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:939:20 [INFO] [stdout] | [INFO] [stdout] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition { [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] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition<'_> { [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:1280:28 [INFO] [stdout] | [INFO] [stdout] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection { [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] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection<'_> { [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_history.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 378 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stdout] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 378 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [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_history.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 406 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stdout] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get 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] 406 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/config.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_config(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 68 | / config_values! { [INFO] [stdout] 69 | | tab_size: u8 = 4, [INFO] [stdout] 70 | | indent_with_tabs: bool = false, [INFO] [stdout] ... | [INFO] [stdout] 79 | | status_bar_max_height: u8 = 8, [INFO] [stdout] 80 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `config_values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_config(&self, key: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard { [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] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter { [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] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:747:36 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser) { [INFO] [stdout] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/editor_utils.rs:757:38 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser) { [INFO] [stdout] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard { [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] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 106 | handle: BufferHandle, [INFO] [stdout] 107 | ) -> BufferRangeDeletesMutGuard { [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] 107 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 129 | handle: BufferHandle, [INFO] [stdout] 130 | ) -> BufferTextInsertsMutGuard { [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] 130 | ) -> BufferTextInsertsMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 136 | handle: BufferHandle, [INFO] [stdout] 137 | ) -> BufferRangeDeletesMutGuard { [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] 137 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/events.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard { [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] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/events.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | std::mem::drop(range_deletes); [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BufferRangeDeletesMutGuard<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 201 - std::mem::drop(range_deletes); [INFO] [stdout] 201 + let _ = range_deletes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/events.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | std::mem::drop(text_inserts); [INFO] [stdout] | ^^^^^^^^^^^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BufferTextInsertsMutGuard<'_>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 220 - std::mem::drop(text_inserts); [INFO] [stdout] 220 + let _ = text_inserts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/help.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option { [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] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/word_database.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn word_indices(&self) -> WordIndicesIter { [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] 205 | pub fn word_indices(&self) -> WordIndicesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.94s [INFO] running `Command { std: "docker" "inspect" "336103abcc622bdf35c943be416e56e388b5e30a1c87756c71008fa6c73ecbf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336103abcc622bdf35c943be416e56e388b5e30a1c87756c71008fa6c73ecbf7", kill_on_drop: false }` [INFO] [stdout] 336103abcc622bdf35c943be416e56e388b5e30a1c87756c71008fa6c73ecbf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 596067a686e41d771268e4119b9885003201c883c2d669eddc7515eefc1f54f0 [INFO] running `Command { std: "docker" "start" "-a" "596067a686e41d771268e4119b9885003201c883c2d669eddc7515eefc1f54f0", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/lib.rs:219:68 [INFO] [stderr] | [INFO] [stderr] 219 | static mut ORIGINAL_PANIC_HOOK: MaybeUninit> = [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:229:22 [INFO] [stderr] | [INFO] [stderr] 229 | let config = ON_PANIC_CONFIG.assume_init_ref(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:245:20 [INFO] [stderr] | [INFO] [stderr] 245 | let hook = ORIGINAL_PANIC_HOOK.assume_init_ref(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer.rs:199:22 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard { [INFO] [stderr] | ^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 199 | pub fn mut_guard(&mut self, plugin_handle: PluginHandle) -> BufferLintCollectionMutGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer.rs:518:9 [INFO] [stderr] | [INFO] [stderr] 518 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 521 | WordRefWithIndex, [INFO] [stderr] | ---------------- the lifetimes get resolved as `'_` [INFO] [stderr] 522 | impl Iterator, [INFO] [stderr] | ---------------- the lifetimes get resolved as `'_` [INFO] [stderr] 523 | impl Iterator, [INFO] [stderr] | ---------------- the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 521 ~ WordRefWithIndex<'_>, [INFO] [stderr] 522 ~ impl Iterator>, [INFO] [stderr] 523 ~ impl Iterator>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer.rs:556:20 [INFO] [stderr] | [INFO] [stderr] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 556 | pub fn word_at(&self, index: usize) -> WordRefWithIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer.rs:772:23 [INFO] [stderr] | [INFO] [stderr] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 772 | pub fn text_range(&self, range: BufferRange) -> TextRangeIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer.rs:918:9 [INFO] [stderr] | [INFO] [stderr] 918 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 921 | WordRefWithPosition, [INFO] [stderr] | ------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 922 | impl Iterator, [INFO] [stderr] | ------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 923 | impl Iterator, [INFO] [stderr] | ------------------- the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 921 ~ WordRefWithPosition<'_>, [INFO] [stderr] 922 ~ impl Iterator>, [INFO] [stderr] 923 ~ impl Iterator>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer.rs:939:20 [INFO] [stderr] | [INFO] [stderr] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition { [INFO] [stderr] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 939 | pub fn word_at(&self, position: BufferPosition) -> WordRefWithPosition<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 82 tests [INFO] [stdout] test buffer::tests::buffer_content_delete_range ... ok [INFO] [stdout] test buffer::tests::buffer_content_word_at ... ok [INFO] [stdout] test buffer::tests::buffer_content_text_range ... ok [INFO] [stdout] test buffer::tests::buffer_content_insert_text ... ok [INFO] [stdout] test buffer::tests::buffer_content_words_from ... ok [INFO] [stdout] test buffer::tests::buffer_delete_undo_redo_multi_line ... ok [INFO] [stdout] test buffer::tests::buffer_delete_undo_redo_single_line ... ok [INFO] [stdout] test buffer::tests::buffer_find_balanced_chars ... ok [INFO] [stdout] test buffer::tests::buffer_fix_line_indentation ... ok [INFO] [stdout] test buffer::tests::buffer_insert_delete_forward_insert_undo ... ok [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer.rs:1280:28 [INFO] [stderr] | [INFO] [stderr] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection { [INFO] [stderr] | ^^^^^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1280 | pub fn breakpoints_mut(&mut self) -> BufferBreakpointMutCollection<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer_history.rs:377:9 [INFO] [stderr] | [INFO] [stderr] 377 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 378 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stderr] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 378 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/buffer_history.rs:405:9 [INFO] [stderr] | [INFO] [stderr] 405 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 406 | ) -> impl Clone + ExactSizeIterator + DoubleEndedIterator { [INFO] [stderr] | ---- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 406 | ) -> impl Clone + ExactSizeIterator> + DoubleEndedIterator> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/config.rs:36:35 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn display_config(&self, key: &str) -> Option { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 68 | / config_values! { [INFO] [stderr] 69 | | tab_size: u8 = 4, [INFO] [stderr] 70 | | indent_with_tabs: bool = false, [INFO] [stderr] ... | [INFO] [stderr] 79 | | status_bar_max_height: u8 = 8, [INFO] [stderr] 80 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `config_values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn display_config(&self, key: &str) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cursor.rs:74:22 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard { [INFO] [stderr] | ^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn mut_guard(&mut self) -> CursorCollectionMutGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/editor_utils.rs:289:18 [INFO] [stderr] | [INFO] [stderr] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter { [INFO] [stderr] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 289 | pub fn write(&mut self, kind: LogKind) -> LogWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/editor_utils.rs:747:36 [INFO] [stderr] | [INFO] [stderr] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser) { [INFO] [stderr] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 747 | pub fn parse_path_and_ranges(text: &str) -> (&str, BufferRangesParser<'_>) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/editor_utils.rs:757:38 [INFO] [stderr] | [INFO] [stderr] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser) { [INFO] [stderr] | ^^^^ ---- ------------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 757 | pub fn find_path_and_ranges_at(text: &str, index: usize) -> (&str, BufferRangesParser<'_>) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/events.rs:95:38 [INFO] [stderr] | [INFO] [stderr] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard { [INFO] [stderr] | ^^^^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 95 | fn buffer_text_inserts_mut_guard(&mut self, handle: BufferHandle) -> BufferTextInsertsMutGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/events.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 106 | handle: BufferHandle, [INFO] [stderr] 107 | ) -> BufferRangeDeletesMutGuard { [INFO] [stderr] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 107 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/events.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 129 | handle: BufferHandle, [INFO] [stderr] 130 | ) -> BufferTextInsertsMutGuard { [INFO] [stderr] | ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 130 | ) -> BufferTextInsertsMutGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/events.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 136 | handle: BufferHandle, [INFO] [stderr] 137 | ) -> BufferRangeDeletesMutGuard { [INFO] [stderr] | -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 137 | ) -> BufferRangeDeletesMutGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/events.rs:141:34 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard { [INFO] [stderr] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 141 | pub fn fix_cursors_mut_guard(&mut self, handle: BufferViewHandle) -> FixCursorMutGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/events.rs:201:17 [INFO] [stderr] | [INFO] [stderr] 201 | std::mem::drop(range_deletes); [INFO] [stderr] | ^^^^^^^^^^^^^^^-------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut BufferRangeDeletesMutGuard<'_>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 201 - std::mem::drop(range_deletes); [INFO] [stderr] 201 + let _ = range_deletes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/events.rs:220:17 [INFO] [stderr] | [INFO] [stderr] 220 | std::mem::drop(text_inserts); [INFO] [stderr] | ^^^^^^^^^^^^^^^------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut BufferTextInsertsMutGuard<'_>` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 220 - std::mem::drop(text_inserts); [INFO] [stderr] 220 + let _ = text_inserts; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/help.rs:82:47 [INFO] [stderr] | [INFO] [stderr] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option { [INFO] [stderr] | ^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 82 | pub(crate) fn parse_help_page_name(page_name: &str) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/word_database.rs:205:25 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn word_indices(&self) -> WordIndicesIter { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 205 | pub fn word_indices(&self) -> WordIndicesIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pepper` (lib) generated 26 warnings (run `cargo fix --lib -p pepper` to apply 21 suggestions) [INFO] [stderr] warning: `pepper` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pepper-027417f613cd5fc3) [INFO] [stdout] test buffer::tests::buffer_utf8_support ... ok [INFO] [stdout] test buffer::tests::buffer_display_len ... ok [INFO] [stdout] test buffer::tests::display_distance ... ok [INFO] [stdout] test buffer_history::tests::commit_edits_on_emtpy_history ... ok [INFO] [stdout] test buffer_history::tests::compress_delete_delete_edits ... ok [INFO] [stdout] test buffer_history::tests::compress_insert_delete_edits ... ok [INFO] [stdout] test buffer_history::tests::compress_insert_insert_edits ... ok [INFO] [stdout] test buffer::tests::buffer_content_delete_lines ... ok [INFO] [stdout] test buffer_history::tests::compress_multiple_delete_delete_edits ... ok [INFO] [stdout] test buffer_history::tests::compress_multiple_insert_delete_edits ... ok [INFO] [stdout] test buffer_history::tests::compress_multiple_insert_insert_edits ... ok [INFO] [stdout] test buffer_history::tests::delete_insert_twice ... ok [INFO] [stdout] test buffer_history::tests::edit_grouping ... ok [INFO] [stdout] test buffer_history::tests::insert_delete_insert ... ok [INFO] [stdout] test buffer_history::tests::insert_multiple_deletes_insert ... ok [INFO] [stdout] test buffer_history::tests::no_compress_insert_delete_insert_edits ... ok [INFO] [stdout] test buffer_position::tests::buffer_position_comparison ... ok [INFO] [stdout] test buffer_position::tests::buffer_position_delete ... ok [INFO] [stdout] test buffer_position::tests::buffer_position_insert ... ok [INFO] [stdout] test buffer_position::tests::buffer_position_parsing ... ok [INFO] [stdout] test buffer_position::tests::buffer_ranges_parsing ... ok [INFO] [stdout] test buffer_view::tests::buffer_view_cursor_movement ... ok [INFO] [stdout] test command::tests::command_iter ... ok [INFO] [stdout] test command::tests::command_tokenizer ... ok [INFO] [stdout] test cursor::tests::move_and_merge_cursors ... ok [INFO] [stdout] test cursor::tests::no_merge_cursor ... ok [INFO] [stdout] test editor_utils::tests::is_char_boundary_test ... ok [INFO] [stdout] test command::tests::variable_expansion ... ok [INFO] [stdout] test editor_utils::tests::residual_str_bytes ... ok [INFO] [stdout] test cursor::tests::merge_cursor ... ok [INFO] [stdout] test editor_utils::tests::test_find_delimiter_pair_at ... ok [INFO] [stdout] test editor_utils::tests::test_parse_path ... ok [INFO] [stdout] test events::tests::client_event_deserialize_splitted ... ok [INFO] [stdout] test editor_utils::tests::test_find_path_at ... ok [INFO] [stdout] test events::tests::key_parser ... ok [INFO] [stdout] test glob::tests::compile ... ok [INFO] [stdout] test events::tests::key_parsing ... ok [INFO] [stdout] test events::tests::key_serialization ... ok [INFO] [stdout] test glob::tests::matches ... ok [INFO] [stdout] test navigation_history::tests::move_back_and_forward_in_history ... ok [INFO] [stdout] test navigation_history::tests::navigate_back_then_move_to_previous_buffer ... ok [INFO] [stdout] test pattern::tests::bad_pattern ... ok [INFO] [stdout] test navigation_history::tests::move_to_previous_buffer_three_times ... ok [INFO] [stdout] test pattern::tests::beginning_anchor ... ok [INFO] [stdout] test pattern::tests::beginning_and_ending_anchors ... ok [INFO] [stdout] test pattern::tests::complex_pattern ... ok [INFO] [stdout] test pattern::tests::edge_cases ... ok [INFO] [stdout] test pattern::tests::ending_anchor ... ok [INFO] [stdout] test pattern::tests::group ... ok [INFO] [stdout] test pattern::tests::middle_text_matching ... ok [INFO] [stdout] test pattern::tests::multi_subpatterns ... ok [INFO] [stdout] test pattern::tests::pattern_composition ... ok [INFO] [stdout] test pattern::tests::repeat ... ok [INFO] [stdout] test pattern::tests::sequence ... ok [INFO] [stdout] test pattern::tests::search_anchor ... ok [INFO] [stdout] test pattern::tests::utf8 ... ok [INFO] [stdout] test pattern::tests::simple_pattern ... ok [INFO] [stdout] test pattern::tests::word_boundary ... ok [INFO] [stdout] test picker::tests::fuzzy_matcher_test ... ok [INFO] [stdout] test syntax::tests::beginning_anchor_syntax ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pepper-e8f20d9d340023ad) [INFO] [stdout] test syntax::tests::editing_highlighted_buffer ... ok [INFO] [stdout] test syntax::tests::highlight_lines_after_became_unfinished ... ok [INFO] [stdout] test syntax::tests::highlight_lines_after_unfinished_to_finished ... ok [INFO] [stdout] test syntax::tests::highlight_range_after_unfinished_line ... ok [INFO] [stdout] test syntax::tests::highlight_unfinished_lines_on_multiline_delete ... ok [INFO] [stdout] test syntax::tests::no_syntax ... ok [INFO] [stdout] test syntax::tests::multiline_syntax ... ok [INFO] [stdout] test word_database::tests::identifier_word_iter ... ok [INFO] [stdout] test word_database::tests::word_database_insert_remove ... ok [INFO] [stdout] test word_database::tests::word_iter ... ok [INFO] [stdout] test syntax::tests::simple_syntax ... ok [INFO] [stdout] test syntax::tests::one_rule_syntax ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 82 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "596067a686e41d771268e4119b9885003201c883c2d669eddc7515eefc1f54f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596067a686e41d771268e4119b9885003201c883c2d669eddc7515eefc1f54f0", kill_on_drop: false }` [INFO] [stdout] 596067a686e41d771268e4119b9885003201c883c2d669eddc7515eefc1f54f0