[INFO] cloning repository https://github.com/Melesar/ghterm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Melesar/ghterm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelesar%2Fghterm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelesar%2Fghterm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60cc4f5c5885c54623b2d0e6334e3c4ffe63ff3b [INFO] building Melesar/ghterm against try#2cd6942e35a7765b6869d3a149ca54f2598b77ad for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelesar%2Fghterm" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Melesar/ghterm on toolchain 2cd6942e35a7765b6869d3a149ca54f2598b77ad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Melesar/ghterm [INFO] finished tweaking git repo https://github.com/Melesar/ghterm [INFO] tweaked toml for git repo https://github.com/Melesar/ghterm written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Melesar/ghterm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded crossterm v0.20.0 [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f898fc6b8e2d513f58d02ec5e9cd62678ab487a0632cc4050086d8ddf3ffd351 [INFO] running `Command { std: "docker" "start" "-a" "f898fc6b8e2d513f58d02ec5e9cd62678ab487a0632cc4050086d8ddf3ffd351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f898fc6b8e2d513f58d02ec5e9cd62678ab487a0632cc4050086d8ddf3ffd351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f898fc6b8e2d513f58d02ec5e9cd62678ab487a0632cc4050086d8ddf3ffd351", kill_on_drop: false }` [INFO] [stdout] f898fc6b8e2d513f58d02ec5e9cd62678ab487a0632cc4050086d8ddf3ffd351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 781fe1c519d0f3f30b367a414d099a2435fdfcf04e770a3b3c93cc99989c0d74 [INFO] running `Command { std: "docker" "start" "-a" "781fe1c519d0f3f30b367a414d099a2435fdfcf04e770a3b3c93cc99989c0d74", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling args v2.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling tui v0.16.0 [INFO] [stderr] Compiling ghterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PrHeader` [INFO] [stdout] --> src/frontend/repo_selection_handler.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::backend::pr::{self, PrHeader}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Color`, `Modifier`, `Span`, `Style` [INFO] [stdout] --> src/frontend/main_screen.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | widgets::{Block, Borders, Tabs}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] 9 | style::{Style, Modifier, Color}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | text::{Spans, Span}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::screen::{Rect, ApplicationScreen, DrawableScreen, InteractableScreen, ScreenHandler}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borders` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | widgets::{Widget, StatefulWidget, Block, Borders}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScreenWriter`, `Screen` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree_state.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::frontend::screen::{ScreenWriter, Screen}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `BorderType` [INFO] [stdout] --> src/frontend/conversation_tab.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | layout::{Rect, Layout, Alignment, Direction, Constraint}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | widgets::{Block, Borders, BorderType}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use tui::backend::{Backend, CrosstermBackend}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/main_screen.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | _ => "", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/main_screen.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/main_screen.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/frontend/main_screen.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | if let MainScreenTab::Conversation(ct) = tab { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/frontend/main_screen.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | if let MainScreenTab::Conversation(ct) = tab { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | if let Some(evt) = self.screen_events_receiver.try_recv().ok() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal_offset` [INFO] [stdout] --> src/frontend/conversation_tab.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let horizontal_offset = match input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_draw.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | fn draw(&self, area: Rect, buffer: &mut Buffer, style: Style, changelist: &Option>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_string_param` [INFO] [stdout] --> src/backend/gh.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn add_string_param(&mut self, param_name: &str, param_value: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_index` [INFO] [stdout] --> src/backend/diff.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub line_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `screen` [INFO] [stdout] --> src/frontend/screen.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn screen(&self) -> Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Screen` [INFO] [stdout] --> src/frontend/screen.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/frontend/screen.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(rect: Rect) -> Screen { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_border` [INFO] [stdout] --> src/frontend/screen.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn draw_border(&self, buffer: &mut dyn Write) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_vertically` [INFO] [stdout] --> src/frontend/screen.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn merge_vertically(top: Screen, bottom: Screen) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_horizontally` [INFO] [stdout] --> src/frontend/screen.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn merge_horizontally(left: Screen, right: Screen) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_vertically` [INFO] [stdout] --> src/frontend/screen.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn split_vertically(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_horizontally` [INFO] [stdout] --> src/frontend/screen.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn split_horizontally(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_writer` [INFO] [stdout] --> src/frontend/screen.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_writer(&self) -> ScreenWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_full_rect` [INFO] [stdout] --> src/frontend/screen.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_full_rect(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_content_rect` [INFO] [stdout] --> src/frontend/screen.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_content_rect(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScreenWriter` [INFO] [stdout] --> src/frontend/screen.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct ScreenWriter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `available_width` [INFO] [stdout] --> src/frontend/screen.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn available_width(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left_padding` [INFO] [stdout] --> src/frontend/screen.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn left_padding(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_selection` [INFO] [stdout] --> src/frontend/screen.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn draw_selection(&self, buffer: &mut dyn Write, y_pos: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_line` [INFO] [stdout] --> src/frontend/screen.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn write_line(&mut self, buffer: &mut dyn Write, message: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_line_truncated` [INFO] [stdout] --> src/frontend/screen.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn write_line_truncated(&mut self, buffer: &mut dyn Write, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_selection` [INFO] [stdout] --> src/frontend/screen.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn set_selection(&mut self, is_selected: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_indent` [INFO] [stdout] --> src/frontend/screen.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn set_indent(&mut self, indent: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `separator` [INFO] [stdout] --> src/frontend/screen.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn separator(&mut self, buffer: &mut dyn Write) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `task_manager` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | task_manager: TaskManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | client: &'a GhClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `style` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn style(mut self, style: Style) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `style` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree_content.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn style(mut self, style: Style) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_event_sender` [INFO] [stdout] --> src/frontend/conversation_tab.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | screen_event_sender: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TabsState` [INFO] [stdout] --> src/frontend/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TabsState<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/frontend/util.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/frontend/util.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `previous` [INFO] [stdout] --> src/frontend/util.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_items` [INFO] [stdout] --> src/frontend/util.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn with_items(items: Vec) -> StatefulList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unselect` [INFO] [stdout] --> src/frontend/util.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn unselect(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.46s [INFO] running `Command { std: "docker" "inspect" "781fe1c519d0f3f30b367a414d099a2435fdfcf04e770a3b3c93cc99989c0d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781fe1c519d0f3f30b367a414d099a2435fdfcf04e770a3b3c93cc99989c0d74", kill_on_drop: false }` [INFO] [stdout] 781fe1c519d0f3f30b367a414d099a2435fdfcf04e770a3b3c93cc99989c0d74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 869b2d63c926c5e26d7fcdba5f6eade5f122e4fe1d6ad5b7c960e4a1ce6535d2 [INFO] running `Command { std: "docker" "start" "-a" "869b2d63c926c5e26d7fcdba5f6eade5f122e4fe1d6ad5b7c960e4a1ce6535d2", kill_on_drop: false }` [INFO] [stderr] Compiling ghterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PrHeader` [INFO] [stdout] --> src/frontend/repo_selection_handler.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::backend::pr::{self, PrHeader}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Color`, `Modifier`, `Span`, `Style` [INFO] [stdout] --> src/frontend/main_screen.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | widgets::{Block, Borders, Tabs}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] 9 | style::{Style, Modifier, Color}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | text::{Spans, Span}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::screen::{Rect, ApplicationScreen, DrawableScreen, InteractableScreen, ScreenHandler}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borders` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | widgets::{Widget, StatefulWidget, Block, Borders}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScreenWriter`, `Screen` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree_state.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::frontend::screen::{ScreenWriter, Screen}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `BorderType` [INFO] [stdout] --> src/frontend/conversation_tab.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | layout::{Rect, Layout, Alignment, Direction, Constraint}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | widgets::{Block, Borders, BorderType}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use tui::backend::{Backend, CrosstermBackend}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/main_screen.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | _ => "", [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/main_screen.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/main_screen.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/frontend/main_screen.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | if let MainScreenTab::Conversation(ct) = tab { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/frontend/main_screen.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | if let MainScreenTab::Conversation(ct) = tab { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | if let Some(evt) = self.screen_events_receiver.try_recv().ok() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal_offset` [INFO] [stdout] --> src/frontend/conversation_tab.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let horizontal_offset = match input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_draw.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | fn draw(&self, area: Rect, buffer: &mut Buffer, style: Style, changelist: &Option>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_string_param` [INFO] [stdout] --> src/backend/gh.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn add_string_param(&mut self, param_name: &str, param_value: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_index` [INFO] [stdout] --> src/backend/diff.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub line_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `screen` [INFO] [stdout] --> src/frontend/screen.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn screen(&self) -> Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Screen` [INFO] [stdout] --> src/frontend/screen.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/frontend/screen.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(rect: Rect) -> Screen { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_border` [INFO] [stdout] --> src/frontend/screen.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn draw_border(&self, buffer: &mut dyn Write) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_vertically` [INFO] [stdout] --> src/frontend/screen.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn merge_vertically(top: Screen, bottom: Screen) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_horizontally` [INFO] [stdout] --> src/frontend/screen.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn merge_horizontally(left: Screen, right: Screen) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_vertically` [INFO] [stdout] --> src/frontend/screen.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn split_vertically(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_horizontally` [INFO] [stdout] --> src/frontend/screen.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn split_horizontally(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_writer` [INFO] [stdout] --> src/frontend/screen.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_writer(&self) -> ScreenWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_full_rect` [INFO] [stdout] --> src/frontend/screen.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_full_rect(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_content_rect` [INFO] [stdout] --> src/frontend/screen.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_content_rect(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScreenWriter` [INFO] [stdout] --> src/frontend/screen.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct ScreenWriter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `available_width` [INFO] [stdout] --> src/frontend/screen.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn available_width(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left_padding` [INFO] [stdout] --> src/frontend/screen.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn left_padding(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_selection` [INFO] [stdout] --> src/frontend/screen.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn draw_selection(&self, buffer: &mut dyn Write, y_pos: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_line` [INFO] [stdout] --> src/frontend/screen.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn write_line(&mut self, buffer: &mut dyn Write, message: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_line_truncated` [INFO] [stdout] --> src/frontend/screen.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn write_line_truncated(&mut self, buffer: &mut dyn Write, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_selection` [INFO] [stdout] --> src/frontend/screen.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn set_selection(&mut self, is_selected: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_indent` [INFO] [stdout] --> src/frontend/screen.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn set_indent(&mut self, indent: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `separator` [INFO] [stdout] --> src/frontend/screen.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn separator(&mut self, buffer: &mut dyn Write) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `task_manager` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | task_manager: TaskManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/frontend/main_screen_handler.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | client: &'a GhClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `style` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn style(mut self, style: Style) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `style` [INFO] [stdout] --> src/frontend/conversation_tab/conversation_tree_content.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn style(mut self, style: Style) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_event_sender` [INFO] [stdout] --> src/frontend/conversation_tab.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | screen_event_sender: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TabsState` [INFO] [stdout] --> src/frontend/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TabsState<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/frontend/util.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/frontend/util.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `previous` [INFO] [stdout] --> src/frontend/util.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_items` [INFO] [stdout] --> src/frontend/util.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn with_items(items: Vec) -> StatefulList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unselect` [INFO] [stdout] --> src/frontend/util.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn unselect(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "869b2d63c926c5e26d7fcdba5f6eade5f122e4fe1d6ad5b7c960e4a1ce6535d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869b2d63c926c5e26d7fcdba5f6eade5f122e4fe1d6ad5b7c960e4a1ce6535d2", kill_on_drop: false }` [INFO] [stdout] 869b2d63c926c5e26d7fcdba5f6eade5f122e4fe1d6ad5b7c960e4a1ce6535d2