[INFO] cloning repository https://github.com/doy/nbsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/doy/nbsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoy%2Fnbsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoy%2Fnbsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4151ab7aab939a12721a0f4207c87b5c09ace339 [INFO] checking doy/nbsh against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoy%2Fnbsh" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/doy/nbsh [INFO] finished tweaking git repo https://github.com/doy/nbsh [INFO] tweaked toml for git repo https://github.com/doy/nbsh written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/doy/nbsh on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/doy/nbsh 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/nix-rust/nix` [INFO] [stderr] Updating git repository `https://github.com/notify-rs/notify` [INFO] [stderr] Updating git repository `https://github.com/doy/pty-process` [INFO] [stderr] Updating git repository `https://github.com/doy/textmode` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.1 [INFO] [stderr] Downloaded vt100 v0.15.1 [INFO] [stderr] Downloaded kqueue v1.0.4 [INFO] [stderr] Downloaded num_threads v0.1.3 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded time-macros v0.2.3 [INFO] [stderr] Downloaded tokio-util v0.7.0 [INFO] [stderr] Downloaded which v4.2.4 [INFO] [stderr] Downloaded tracing v0.1.31 [INFO] [stderr] Downloaded time v0.3.7 [INFO] [stderr] Downloaded anyhow v1.0.55 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded clap v3.1.5 [INFO] [stderr] Downloaded git2 v0.14.1 [INFO] [stderr] Downloaded h2 v0.3.11 [INFO] [stderr] Downloaded console-subscriber v0.1.3 [INFO] [stderr] Downloaded hdrhistogram v7.5.0 [INFO] [stderr] Downloaded libz-sys v1.1.3 [INFO] [stderr] Downloaded libgit2-sys v0.13.1+1.4.2 [INFO] [stderr] Downloaded vte v0.10.1 [INFO] [stderr] Downloaded clap_derive v3.1.4 [INFO] [stderr] Downloaded console-api v0.1.2 [INFO] [stderr] Downloaded tracing-subscriber v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f27a3cf8ebb558f71642250624c63cd227becb5ccb0ee1e6a9df52e2a9f984af [INFO] running `Command { std: "docker" "start" "-a" "f27a3cf8ebb558f71642250624c63cd227becb5ccb0ee1e6a9df52e2a9f984af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f27a3cf8ebb558f71642250624c63cd227becb5ccb0ee1e6a9df52e2a9f984af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27a3cf8ebb558f71642250624c63cd227becb5ccb0ee1e6a9df52e2a9f984af", kill_on_drop: false }` [INFO] [stdout] f27a3cf8ebb558f71642250624c63cd227becb5ccb0ee1e6a9df52e2a9f984af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d58e842aba0c6d5ec78124991cc826fd6fc8c23910d58c5d679b6154481ffafa [INFO] running `Command { std: "docker" "start" "-a" "d58e842aba0c6d5ec78124991cc826fd6fc8c23910d58c5d679b6154481ffafa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking nix v0.23.1 (https://github.com/nix-rust/nix#9312f1c4) [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.13.1+1.4.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking vt100 v0.15.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking notify v5.0.0-pre.13 (https://github.com/notify-rs/notify#b1802ecc) [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking clap v3.1.5 [INFO] [stderr] Checking pty-process v0.2.0 (https://github.com/doy/pty-process#b2733e64) [INFO] [stderr] Checking textmode v0.3.0 (https://github.com/doy/textmode#193e1963) [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking git2 v0.14.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking nbsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/runner/builtins/mod.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | pub use command::{Child, Command, File, Io}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nbsh_tokio_console` [INFO] [stdout] --> src/main.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(nbsh_tokio_console)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nbsh_tokio_console)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nbsh_tokio_console)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/runner/builtins/mod.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | pub use command::{Child, Command, File, Io}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nbsh_tokio_console` [INFO] [stdout] --> src/main.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(nbsh_tokio_console)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nbsh_tokio_console)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nbsh_tokio_console)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `allow_with` is never used [INFO] [stdout] --> src/prelude.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Result { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn allow_with(self, allow_e: Self::E, default_t: Self::T) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `old_history` is never read [INFO] [stdout] --> src/shell/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Shell { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | old_history: old_history::History, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries` is never read [INFO] [stdout] --> src/shell/old_history.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct History { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 12 | entries: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `entry_count` is never used [INFO] [stdout] --> src/shell/old_history.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl History { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn entry_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cmdline`, `start_time`, and `duration` are never read [INFO] [stdout] --> src/shell/old_history.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 54 | cmdline: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | start_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render` and `cmd` are never used [INFO] [stdout] --> src/shell/old_history.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 60 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn cmd(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/ast.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | pair: pest::iterators::Pair, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is hidden here [INFO] [stdout] 397 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 396 | pair: pest::iterators::Pair<'_, Rule>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shell/history/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 152 | ) -> VisibleEntries { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | ) -> VisibleEntries<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shell/history/entry.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn lock_vt(&self) -> std::sync::MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | pub fn lock_vt(&self) -> std::sync::MutexGuard<'_, super::pty::Vt> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shell/history/pty.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn lock_vt(&self) -> std::sync::MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn lock_vt(&self) -> std::sync::MutexGuard<'_, Vt> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `allow_with` is never used [INFO] [stdout] --> src/prelude.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Result { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn allow_with(self, allow_e: Self::E, default_t: Self::T) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `old_history` is never read [INFO] [stdout] --> src/shell/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Shell { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | old_history: old_history::History, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries` is never read [INFO] [stdout] --> src/shell/old_history.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct History { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 12 | entries: std::sync::Arc>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `entry_count` is never used [INFO] [stdout] --> src/shell/old_history.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl History { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn entry_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render` and `cmd` are never used [INFO] [stdout] --> src/shell/old_history.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 60 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn cmd(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/ast.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | pair: pest::iterators::Pair, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is hidden here [INFO] [stdout] 397 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 396 | pair: pest::iterators::Pair<'_, Rule>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shell/history/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 152 | ) -> VisibleEntries { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | ) -> VisibleEntries<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shell/history/entry.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn lock_vt(&self) -> std::sync::MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | pub fn lock_vt(&self) -> std::sync::MutexGuard<'_, super::pty::Vt> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shell/history/pty.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn lock_vt(&self) -> std::sync::MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn lock_vt(&self) -> std::sync::MutexGuard<'_, Vt> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "d58e842aba0c6d5ec78124991cc826fd6fc8c23910d58c5d679b6154481ffafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58e842aba0c6d5ec78124991cc826fd6fc8c23910d58c5d679b6154481ffafa", kill_on_drop: false }` [INFO] [stdout] d58e842aba0c6d5ec78124991cc826fd6fc8c23910d58c5d679b6154481ffafa