[INFO] cloning repository https://github.com/justinDeu/chatty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinDeu/chatty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjustinDeu%2Fchatty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjustinDeu%2Fchatty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d16e1601f2b5cd91340c69399124616d4590735 [INFO] testing justinDeu/chatty against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjustinDeu%2Fchatty" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/justinDeu/chatty [INFO] finished tweaking git repo https://github.com/justinDeu/chatty [INFO] tweaked toml for git repo https://github.com/justinDeu/chatty written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/justinDeu/chatty on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/justinDeu/chatty 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6650715b8395ad77dd9a90149fa2632ae43e9b8de701d7cc753c4ca9190a85f [INFO] running `Command { std: "docker" "start" "-a" "c6650715b8395ad77dd9a90149fa2632ae43e9b8de701d7cc753c4ca9190a85f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6650715b8395ad77dd9a90149fa2632ae43e9b8de701d7cc753c4ca9190a85f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6650715b8395ad77dd9a90149fa2632ae43e9b8de701d7cc753c4ca9190a85f", kill_on_drop: false }` [INFO] [stdout] c6650715b8395ad77dd9a90149fa2632ae43e9b8de701d7cc753c4ca9190a85f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27b197abe193a860123a936f8b54676d3e55e879020497809a21fde223692b02 [INFO] running `Command { std: "docker" "start" "-a" "27b197abe193a860123a936f8b54676d3e55e879020497809a21fde223692b02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling better-panic v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.27.0 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling os_info v3.8.2 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling human-panic v2.0.1 [INFO] [stderr] Compiling chatty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `KeyCode` and `KeyModifiers` [INFO] [stdout] --> src/ui/panes/messages_pane.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::event::{KeyCode, KeyEvent, KeyEventKind, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DevConsole` and `self` [INFO] [stdout] --> src/ui/router.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use super::panes::dev_console::dev_console::{self, DevConsole}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::popup_area` [INFO] [stdout] --> src/ui/router.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::popup_area; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mac.rs:17:79 [INFO] [stdout] | [INFO] [stdout] 17 | Message::new(contact.clone(), String::from("hey"), NaiveDateTime::from_timestamp(1724895116, 0), MessageDirection::To), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mac.rs:18:79 [INFO] [stdout] | [INFO] [stdout] 18 | Message::new(contact.clone(), String::from("hi"), NaiveDateTime::from_timestamp(1724895126, 0), MessageDirection::From), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mac.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | Message::new(contact.clone(), String::from("hello"), NaiveDateTime::from_timestamp(1724895136, 0), MessageDirection::From), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mock.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | NaiveDateTime::from_timestamp(1724895116, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mock.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | NaiveDateTime::from_timestamp(1724895126, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mock.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | NaiveDateTime::from_timestamp(1724895136, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/backends/mac.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn send_message(&mut self, message: Message) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/backends/mac.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_messages(&self, contact: &Contact, n: Option) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let (terminator, mut interrupt_rx) = create_termination(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacBackend` is never constructed [INFO] [stdout] --> src/backends/mac.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MacBackend { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eq` is never used [INFO] [stdout] --> src/state/state.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Contact { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn eq(&self, other: &Contact) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/state/state.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: method `sent_by_me` is never used [INFO] [stdout] --> src/state/state.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn sent_by_me(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `popup_area` is never used [INFO] [stdout] --> src/ui/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn popup_area(area: Rect, percent_x: u16, percent_y: u16) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_text` and `is_empty` are never used [INFO] [stdout] --> src/ui/components/input_box.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl InputBox { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_text(&mut self, new_text: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DevConsole` is never constructed [INFO] [stdout] --> src/ui/panes/dev_console/dev_console.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DevConsole { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_command` is never used [INFO] [stdout] --> src/ui/panes/dev_console/dev_console.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl DevConsole { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 50 | fn handle_command(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderProps` is never constructed [INFO] [stdout] --> src/ui/panes/dev_console/dev_console.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct RenderProps { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pre_popup_active_pane` is never read [INFO] [stdout] --> src/ui/router.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AppRouter { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pre_popup_active_pane: ActivePane, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 31s [INFO] running `Command { std: "docker" "inspect" "27b197abe193a860123a936f8b54676d3e55e879020497809a21fde223692b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b197abe193a860123a936f8b54676d3e55e879020497809a21fde223692b02", kill_on_drop: false }` [INFO] [stdout] 27b197abe193a860123a936f8b54676d3e55e879020497809a21fde223692b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ad52a8ca5abb971eb8db734ce5376a1f0842a35ab0496dcc7e1d294e6b44b4 [INFO] running `Command { std: "docker" "start" "-a" "63ad52a8ca5abb971eb8db734ce5376a1f0842a35ab0496dcc7e1d294e6b44b4", kill_on_drop: false }` [INFO] [stderr] Compiling chatty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `KeyCode` and `KeyModifiers` [INFO] [stdout] --> src/ui/panes/messages_pane.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::event::{KeyCode, KeyEvent, KeyEventKind, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DevConsole` and `self` [INFO] [stdout] --> src/ui/router.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use super::panes::dev_console::dev_console::{self, DevConsole}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::popup_area` [INFO] [stdout] --> src/ui/router.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::popup_area; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mac.rs:17:79 [INFO] [stdout] | [INFO] [stdout] 17 | Message::new(contact.clone(), String::from("hey"), NaiveDateTime::from_timestamp(1724895116, 0), MessageDirection::To), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mac.rs:18:79 [INFO] [stdout] | [INFO] [stdout] 18 | Message::new(contact.clone(), String::from("hi"), NaiveDateTime::from_timestamp(1724895126, 0), MessageDirection::From), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mac.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | Message::new(contact.clone(), String::from("hello"), NaiveDateTime::from_timestamp(1724895136, 0), MessageDirection::From), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mock.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | NaiveDateTime::from_timestamp(1724895116, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mock.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | NaiveDateTime::from_timestamp(1724895126, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/backends/mock.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | NaiveDateTime::from_timestamp(1724895136, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/backends/mac.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn send_message(&mut self, message: Message) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/backends/mac.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_messages(&self, contact: &Contact, n: Option) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let (terminator, mut interrupt_rx) = create_termination(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacBackend` is never constructed [INFO] [stdout] --> src/backends/mac.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MacBackend { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eq` is never used [INFO] [stdout] --> src/state/state.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Contact { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn eq(&self, other: &Contact) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/state/state.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: method `sent_by_me` is never used [INFO] [stdout] --> src/state/state.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn sent_by_me(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `popup_area` is never used [INFO] [stdout] --> src/ui/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn popup_area(area: Rect, percent_x: u16, percent_y: u16) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_text` and `is_empty` are never used [INFO] [stdout] --> src/ui/components/input_box.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl InputBox { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_text(&mut self, new_text: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DevConsole` is never constructed [INFO] [stdout] --> src/ui/panes/dev_console/dev_console.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DevConsole { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_command` is never used [INFO] [stdout] --> src/ui/panes/dev_console/dev_console.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl DevConsole { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 50 | fn handle_command(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderProps` is never constructed [INFO] [stdout] --> src/ui/panes/dev_console/dev_console.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct RenderProps { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pre_popup_active_pane` is never read [INFO] [stdout] --> src/ui/router.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AppRouter { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pre_popup_active_pane: ActivePane, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "63ad52a8ca5abb971eb8db734ce5376a1f0842a35ab0496dcc7e1d294e6b44b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ad52a8ca5abb971eb8db734ce5376a1f0842a35ab0496dcc7e1d294e6b44b4", kill_on_drop: false }` [INFO] [stdout] 63ad52a8ca5abb971eb8db734ce5376a1f0842a35ab0496dcc7e1d294e6b44b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 70d3cccbb08a6f685df357a576419262717727a893deb339f44f097643eedb29 [INFO] running `Command { std: "docker" "start" "-a" "70d3cccbb08a6f685df357a576419262717727a893deb339f44f097643eedb29", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `KeyCode` and `KeyModifiers` [INFO] [stderr] --> src/ui/panes/messages_pane.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use crossterm::event::{KeyCode, KeyEvent, KeyEventKind, KeyModifiers}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DevConsole` and `self` [INFO] [stderr] --> src/ui/router.rs:9:46 [INFO] [stderr] | [INFO] [stderr] 9 | use super::panes::dev_console::dev_console::{self, DevConsole}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::popup_area` [INFO] [stderr] --> src/ui/router.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use super::popup_area; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/backends/mac.rs:17:79 [INFO] [stderr] | [INFO] [stderr] 17 | Message::new(contact.clone(), String::from("hey"), NaiveDateTime::from_timestamp(1724895116, 0), MessageDirection::To), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/backends/mac.rs:18:79 [INFO] [stderr] | [INFO] [stderr] 18 | Message::new(contact.clone(), String::from("hi"), NaiveDateTime::from_timestamp(1724895126, 0), MessageDirection::From), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/backends/mac.rs:19:81 [INFO] [stderr] | [INFO] [stderr] 19 | Message::new(contact.clone(), String::from("hello"), NaiveDateTime::from_timestamp(1724895136, 0), MessageDirection::From), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/backends/mock.rs:18:36 [INFO] [stderr] | [INFO] [stderr] 18 | NaiveDateTime::from_timestamp(1724895116, 0), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/backends/mock.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | NaiveDateTime::from_timestamp(1724895126, 0), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/backends/mock.rs:30:36 [INFO] [stderr] | [INFO] [stderr] 30 | NaiveDateTime::from_timestamp(1724895136, 0), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/backends/mac.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | fn send_message(&mut self, message: Message) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/backends/mac.rs:15:47 [INFO] [stderr] | [INFO] [stderr] 15 | fn get_messages(&self, contact: &Contact, n: Option) -> Vec { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | let (terminator, mut interrupt_rx) = create_termination(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `MacBackend` is never constructed [INFO] [stderr] --> src/backends/mac.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct MacBackend { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `eq` is never used [INFO] [stderr] --> src/state/state.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 10 | impl Contact { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 19 | fn eq(&self, other: &Contact) -> bool { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `timestamp` is never read [INFO] [stderr] --> src/state/state.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct Message { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 46 | pub timestamp: NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `sent_by_me` is never used [INFO] [stderr] --> src/state/state.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 50 | impl Message { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn sent_by_me(self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `popup_area` is never used [INFO] [stderr] --> src/ui/mod.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn popup_area(area: Rect, percent_x: u16, percent_y: u16) -> Rect { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `set_text` and `is_empty` are never used [INFO] [stderr] --> src/ui/components/input_box.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl InputBox { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn set_text(&mut self, new_text: &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DevConsole` is never constructed [INFO] [stderr] --> src/ui/panes/dev_console/dev_console.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct DevConsole { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `handle_command` is never used [INFO] [stderr] --> src/ui/panes/dev_console/dev_console.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 49 | impl DevConsole { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 50 | fn handle_command(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RenderProps` is never constructed [INFO] [stderr] --> src/ui/panes/dev_console/dev_console.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 139 | pub struct RenderProps { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pre_popup_active_pane` is never read [INFO] [stderr] --> src/ui/router.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct AppRouter { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | pre_popup_active_pane: ActivePane, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chatty` (bin "chatty" test) generated 22 warnings (run `cargo fix --bin "chatty" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chatty-8127a60646a2effd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "70d3cccbb08a6f685df357a576419262717727a893deb339f44f097643eedb29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d3cccbb08a6f685df357a576419262717727a893deb339f44f097643eedb29", kill_on_drop: false }` [INFO] [stdout] 70d3cccbb08a6f685df357a576419262717727a893deb339f44f097643eedb29