[INFO] cloning repository https://github.com/cosh-shell/cosh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosh-shell/cosh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 201d9450d873518e62c18bcb72fbd2356a1fed57 [INFO] checking cosh-shell/cosh against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cosh-shell/cosh [INFO] finished tweaking git repo https://github.com/cosh-shell/cosh [INFO] tweaked toml for git repo https://github.com/cosh-shell/cosh written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cosh-shell/cosh on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cosh-shell/cosh 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v1.2.1 [INFO] [stderr] Downloaded is_executable v1.0.1 [INFO] [stderr] Downloaded guess_host_triple v0.1.3 [INFO] [stderr] Downloaded nu-ansi-term v0.36.0 [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded siphasher v0.3.9 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded which v4.2.4 [INFO] [stderr] Downloaded crossterm v0.21.0 [INFO] [stderr] Downloaded clearscreen v1.0.9 [INFO] [stderr] Downloaded reedline v0.2.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1be9a220088f0636624874a260c3075b21256ab6f2a8f80e17173130938662ea [INFO] running `Command { std: "docker" "start" "-a" "1be9a220088f0636624874a260c3075b21256ab6f2a8f80e17173130938662ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1be9a220088f0636624874a260c3075b21256ab6f2a8f80e17173130938662ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1be9a220088f0636624874a260c3075b21256ab6f2a8f80e17173130938662ea", kill_on_drop: false }` [INFO] [stdout] 1be9a220088f0636624874a260c3075b21256ab6f2a8f80e17173130938662ea [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 276d35c2add8418896ba09dbdd4c697199ee1654472cbdbe2a53ed4f84ec73ad [INFO] running `Command { std: "docker" "start" "-a" "276d35c2add8418896ba09dbdd4c697199ee1654472cbdbe2a53ed4f84ec73ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking which v4.2.4 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking nu-ansi-term v0.36.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking guess_host_triple v0.1.3 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking whoami v1.2.1 [INFO] [stderr] Checking is_executable v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clearscreen v1.0.9 [INFO] [stderr] Checking crossterm v0.21.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking reedline v0.2.0 [INFO] [stderr] Checking cosh v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/main.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultHighlighter` [INFO] [stdout] --> src/main.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use reedline::{DefaultCompleter, DefaultCompletionActionHandler, DefaultHighlighter, DefaultHinter, FileBackedHistory, Reedline, Signal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use nu_ansi_term::{Color, Style}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `current_exe` and `temp_dir` [INFO] [stdout] --> src/panics.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::{current_exe, temp_dir}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `create_dir` [INFO] [stdout] --> src/panics.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{create_dir, File}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/panics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/panics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/panics.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use backtrace::{Backtrace, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/panics.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dirs::home_dir` [INFO] [stdout] --> src/panics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dirs::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/main.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultHighlighter` [INFO] [stdout] --> src/main.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use reedline::{DefaultCompleter, DefaultCompletionActionHandler, DefaultHighlighter, DefaultHinter, FileBackedHistory, Reedline, Signal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use nu_ansi_term::{Color, Style}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `current_exe` and `temp_dir` [INFO] [stdout] --> src/panics.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::{current_exe, temp_dir}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `create_dir` [INFO] [stdout] --> src/panics.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{create_dir, File}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/panics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/panics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/panics.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use backtrace::{Backtrace, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/panics.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dirs::home_dir` [INFO] [stdout] --> src/panics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dirs::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panics.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panics.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn handle_panic(info: &PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panics.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panics.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn handle_panic(info: &PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/main.rs:179:50 [INFO] [stdout] | [INFO] [stdout] 179 | let child = Command::new(command).args(args).before_exec(|| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/main.rs:179:50 [INFO] [stdout] | [INFO] [stdout] 179 | let child = Command::new(command).args(args).before_exec(|| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn render_prompt(&self, _screen_width: usize) -> Cow { [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] 23 | fn render_prompt(&self, _screen_width: usize) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | fn render_prompt_multiline_indicator(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 42 | history_search: PromptHistorySearch, [INFO] [stdout] 43 | ) -> Cow { [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] 43 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn render_prompt(&self, _screen_width: usize) -> Cow { [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] 23 | fn render_prompt(&self, _screen_width: usize) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | fn render_prompt_multiline_indicator(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/print.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 42 | history_search: PromptHistorySearch, [INFO] [stdout] 43 | ) -> Cow { [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] 43 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "276d35c2add8418896ba09dbdd4c697199ee1654472cbdbe2a53ed4f84ec73ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "276d35c2add8418896ba09dbdd4c697199ee1654472cbdbe2a53ed4f84ec73ad", kill_on_drop: false }` [INFO] [stdout] 276d35c2add8418896ba09dbdd4c697199ee1654472cbdbe2a53ed4f84ec73ad