[INFO] cloning repository https://github.com/nhaehnle/vctools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nhaehnle/vctools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhaehnle%2Fvctools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhaehnle%2Fvctools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fb1b75c009ff2d4f647bef8c4e46f43055c989c [INFO] building nhaehnle/vctools against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhaehnle%2Fvctools" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nhaehnle/vctools [INFO] finished tweaking git repo https://github.com/nhaehnle/vctools [INFO] tweaked toml for git repo https://github.com/nhaehnle/vctools written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nhaehnle/vctools on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nhaehnle/vctools 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compact_str v0.8.0 [INFO] [stderr] Downloaded trybuild v1.0.101 [INFO] [stderr] Downloaded tui-input v0.10.1 [INFO] [stderr] Downloaded async-trait v0.1.76 [INFO] [stderr] Downloaded hyper-rustls v0.26.0 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded lru v0.12.4 [INFO] [stderr] Downloaded snafu-derive v0.8.4 [INFO] [stderr] Downloaded tokio-rustls v0.25.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.55 [INFO] [stderr] Downloaded iri-string v0.7.5 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded rustls v0.22.4 [INFO] [stderr] Downloaded directories v6.0.0 [INFO] [stderr] Downloaded hyper-timeout v0.5.1 [INFO] [stderr] Downloaded snafu v0.8.4 [INFO] [stderr] Downloaded target-triple v0.1.3 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded octocrab v0.39.0 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded thiserror v1.0.55 [INFO] [stderr] Downloaded schannel v0.1.24 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded textwrap v0.16.1 [INFO] [stderr] Downloaded instability v0.3.2 [INFO] [stderr] Downloaded tui-tree-widget v0.22.0 [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded reqwest v0.12.8 [INFO] [stderr] Downloaded tui-logger v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29cd22ec13f332c309510c633181335f34d626f8ece9ed42eafe6afd3403c6ac [INFO] running `Command { std: "docker" "start" "-a" "29cd22ec13f332c309510c633181335f34d626f8ece9ed42eafe6afd3403c6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29cd22ec13f332c309510c633181335f34d626f8ece9ed42eafe6afd3403c6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29cd22ec13f332c309510c633181335f34d626f8ece9ed42eafe6afd3403c6ac", kill_on_drop: false }` [INFO] [stdout] 29cd22ec13f332c309510c633181335f34d626f8ece9ed42eafe6afd3403c6ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8d52c8850e677ea56b3eccc7af58a1130b36c25f80d4081cb00832fba79960a [INFO] running `Command { std: "docker" "start" "-a" "b8d52c8850e677ea56b3eccc7af58a1130b36c25f80d4081cb00832fba79960a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling vctools-utils v0.1.0 (/opt/rustwide/workdir/vctools-utils) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling vctuik-unsafe-internals v0.1.0 (/opt/rustwide/workdir/vctuik-unsafe-internals) [INFO] [stderr] Compiling async-trait v0.1.76 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling iri-string v0.7.5 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling snafu-derive v0.8.4 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling snafu v0.8.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tui-tree-widget v0.22.0 [INFO] [stderr] Compiling tui-input v0.10.1 [INFO] [stderr] Compiling vctuik v0.1.0 (/opt/rustwide/workdir/vctuik) [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling tui-logger v0.13.2 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling reqwest v0.12.8 [INFO] [stderr] Compiling octocrab v0.39.0 [INFO] [stderr] Compiling diff-modulo-base v0.1.0 (/opt/rustwide/workdir/diff-modulo-base) [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> diff-modulo-base/src/tool/gdmb.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt::Display, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChunkWriterExt` [INFO] [stdout] --> diff-modulo-base/src/tool/gdmb.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use diff::{ChunkWriter, ChunkWriterExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling git-review v0.1.0 (/opt/rustwide/workdir/git-review) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/pager.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/pager.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 341 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/bin/git-review.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling git-review-tui v0.1.0 (/opt/rustwide/workdir/git-review-tui) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:2:93 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, fs::File, hash::Hash, io::{self, BufReader}, rc::Rc, sync::mpsc, thread, time::Duration [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TuiLoggerSmartWidget` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use tui_logger::{TuiLoggerSmartWidget, TuiLoggerWidget, TuiWidgetEvent, TuiWidgetState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Themed` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use vctuik::{prelude::*, theme::{Theme, Themed}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style` and `Stylize` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | style::{Style, Stylize}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/action.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Themed` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/msgbox.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use vctuik::theme::{Theme, Themed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Themed` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/panes.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use vctuik::theme::{Theme, Themed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(state: &mut bool) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tui` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_checkbox<'a>(tui: Tui<'a>, state: &'a TuiState) -> Tui<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut blah = TuiState::new(false); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | handled = match self.state.panes.handle_event(ev) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Account { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 41 | name: String, [INFO] [stdout] 42 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/action.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Command { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GitHubAccount { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | url: String, [INFO] [stdout] 17 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubAccount` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ApiSimpleOwner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | login: String, [INFO] [stdout] 24 | node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiSimpleOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `node_id` are never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct ApiMinimalRepository { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 29 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiMinimalRepository` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `url`, and `subject_type` are never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct ApiNotificationSubject { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 37 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | #[serde(rename = "type")] [INFO] [stdout] 40 | subject_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiNotificationSubject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `last_read_at`, `reason`, `subject`, `unread`, and `updated_at` are never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct ApiNotificationThread { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 45 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | last_read_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | repository: ApiMinimalRepository, [INFO] [stdout] 49 | subject: ApiNotificationSubject, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | unread: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiNotificationThread` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeReview` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CodeReview { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/model.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CodeReviewId(pub usize); [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CodeReviewId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_reviews` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Repository { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub code_reviews: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/panes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PanesState { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_pane` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/panes.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'state, 'theme> Panes<'state, 'theme> { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn add_pane(mut self, pane: Pane<'state>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PhantomUnsync` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type PhantomUnsync = std::marker::PhantomData>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PhantomUnsend` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type PhantomUnsend = std::marker::PhantomData>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateMarker` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct StateMarker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateRef` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StateRef<'t, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'t, T> StateRef<'t, T> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 39 | pub fn new(state: &'t mut T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckBox` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct CheckBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl CheckBox { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 53 | fn new(state: &mut bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn render(&self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tui` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Tui<'state> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'state> Tui<'state> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 64 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TuiState` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct TuiState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl TuiState { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 75 | pub fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn borrow(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_checkbox` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_checkbox<'a>(tui: Tui<'a>, state: &'a TuiState) -> Tui<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn borrow(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn borrow(&self) -> std::cell::Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut { [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] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "b8d52c8850e677ea56b3eccc7af58a1130b36c25f80d4081cb00832fba79960a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d52c8850e677ea56b3eccc7af58a1130b36c25f80d4081cb00832fba79960a", kill_on_drop: false }` [INFO] [stdout] b8d52c8850e677ea56b3eccc7af58a1130b36c25f80d4081cb00832fba79960a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df258dcbf4adda31a8e465471f5dcebd38f54b3f6928f9733edb6af0efff0cbb [INFO] running `Command { std: "docker" "start" "-a" "df258dcbf4adda31a8e465471f5dcebd38f54b3f6928f9733edb6af0efff0cbb", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> diff-modulo-base/src/tool/gdmb.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt::Display, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChunkWriterExt` [INFO] [stdout] --> diff-modulo-base/src/tool/gdmb.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use diff::{ChunkWriter, ChunkWriterExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling diff-modulo-base v0.1.0 (/opt/rustwide/workdir/diff-modulo-base) [INFO] [stderr] Compiling vctools-utils v0.1.0 (/opt/rustwide/workdir/vctools-utils) [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> diff-modulo-base/src/tool/gdmb.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt::Display, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChunkWriterExt` [INFO] [stdout] --> diff-modulo-base/src/tool/gdmb.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use diff::{ChunkWriter, ChunkWriterExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trybuild v1.0.101 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling vctuik-unsafe-internals v0.1.0 (/opt/rustwide/workdir/vctuik-unsafe-internals) [INFO] [stderr] Compiling tui-tree-widget v0.22.0 [INFO] [stderr] Compiling tui-logger v0.13.2 [INFO] [stderr] Compiling tui-input v0.10.1 [INFO] [stderr] Compiling vctuik v0.1.0 (/opt/rustwide/workdir/vctuik) [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling git-review v0.1.0 (/opt/rustwide/workdir/git-review) [INFO] [stderr] Compiling octocrab v0.39.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/pager.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/pager.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 341 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefCell` [INFO] [stdout] --> vctuik/examples/demo.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/pager.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/pager.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 341 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review/src/bin/git-review.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | fn get_line(&self, theme: &theme::Text, line: usize, col_no: usize, max_cols: usize) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling git-review-tui v0.1.0 (/opt/rustwide/workdir/git-review-tui) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:2:93 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, fs::File, hash::Hash, io::{self, BufReader}, rc::Rc, sync::mpsc, thread, time::Duration [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TuiLoggerSmartWidget` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use tui_logger::{TuiLoggerSmartWidget, TuiLoggerWidget, TuiWidgetEvent, TuiWidgetState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Themed` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use vctuik::{prelude::*, theme::{Theme, Themed}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style` and `Stylize` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | style::{Style, Stylize}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/action.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Themed` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/msgbox.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use vctuik::theme::{Theme, Themed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Themed` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/panes.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use vctuik::theme::{Theme, Themed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(state: &mut bool) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tui` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_checkbox<'a>(tui: Tui<'a>, state: &'a TuiState) -> Tui<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut blah = TuiState::new(false); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | handled = match self.state.panes.handle_event(ev) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Account { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 41 | name: String, [INFO] [stdout] 42 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/action.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Command { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GitHubAccount { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | url: String, [INFO] [stdout] 17 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubAccount` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_id` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ApiSimpleOwner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | login: String, [INFO] [stdout] 24 | node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiSimpleOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `node_id` are never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct ApiMinimalRepository { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 29 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | node_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiMinimalRepository` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `url`, and `subject_type` are never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct ApiNotificationSubject { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 37 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | #[serde(rename = "type")] [INFO] [stdout] 40 | subject_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiNotificationSubject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `last_read_at`, `reason`, `subject`, `unread`, and `updated_at` are never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/github.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct ApiNotificationThread { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 45 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | last_read_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | repository: ApiMinimalRepository, [INFO] [stdout] 49 | subject: ApiNotificationSubject, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | unread: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiNotificationThread` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeReview` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CodeReview { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/model.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CodeReviewId(pub usize); [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CodeReviewId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code_reviews` is never read [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/model.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Repository { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub code_reviews: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/panes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PanesState { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_pane` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/panes.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'state, 'theme> Panes<'state, 'theme> { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn add_pane(mut self, pane: Pane<'state>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PhantomUnsync` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type PhantomUnsync = std::marker::PhantomData>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PhantomUnsend` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type PhantomUnsend = std::marker::PhantomData>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateMarker` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct StateMarker { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateRef` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StateRef<'t, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'t, T> StateRef<'t, T> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 39 | pub fn new(state: &'t mut T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckBox` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct CheckBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl CheckBox { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 53 | fn new(state: &mut bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn render(&self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tui` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Tui<'state> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'state> Tui<'state> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 64 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TuiState` is never constructed [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct TuiState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl TuiState { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 75 | pub fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn borrow(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_checkbox` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn add_checkbox<'a>(tui: Tui<'a>, state: &'a TuiState) -> Tui<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn borrow(&self) -> std::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn borrow(&self) -> std::cell::Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> git-review-tui/src/bin/git-review-tui/topwidget.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut { [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] 85 | pub fn borrow_mut(&self, tui: &mut Tui) -> std::cell::RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 50.55s [INFO] running `Command { std: "docker" "inspect" "df258dcbf4adda31a8e465471f5dcebd38f54b3f6928f9733edb6af0efff0cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df258dcbf4adda31a8e465471f5dcebd38f54b3f6928f9733edb6af0efff0cbb", kill_on_drop: false }` [INFO] [stdout] df258dcbf4adda31a8e465471f5dcebd38f54b3f6928f9733edb6af0efff0cbb