[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 try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjustinDeu%2Fchatty" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justinDeu/chatty on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37536703bff6e1e560e4229fa2ca3092684ea344a2b3cb4e9d46c418e956f60b [INFO] running `Command { std: "docker" "start" "-a" "37536703bff6e1e560e4229fa2ca3092684ea344a2b3cb4e9d46c418e956f60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37536703bff6e1e560e4229fa2ca3092684ea344a2b3cb4e9d46c418e956f60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37536703bff6e1e560e4229fa2ca3092684ea344a2b3cb4e9d46c418e956f60b", kill_on_drop: false }` [INFO] [stdout] 37536703bff6e1e560e4229fa2ca3092684ea344a2b3cb4e9d46c418e956f60b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 411d303831cd78dbc3d2427eca741b308846b2434f453bc27d076f21015c9da2 [INFO] running `Command { std: "docker" "start" "-a" "411d303831cd78dbc3d2427eca741b308846b2434f453bc27d076f21015c9da2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [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 better-panic v0.3.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [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-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.15 [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: 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.05s [INFO] running `Command { std: "docker" "inspect" "411d303831cd78dbc3d2427eca741b308846b2434f453bc27d076f21015c9da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411d303831cd78dbc3d2427eca741b308846b2434f453bc27d076f21015c9da2", kill_on_drop: false }` [INFO] [stdout] 411d303831cd78dbc3d2427eca741b308846b2434f453bc27d076f21015c9da2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cf1939fc343a01429a4b34204220242d7b13cbbcc9f658e2af92f04fb38c9ff [INFO] running `Command { std: "docker" "start" "-a" "1cf1939fc343a01429a4b34204220242d7b13cbbcc9f658e2af92f04fb38c9ff", 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: 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "1cf1939fc343a01429a4b34204220242d7b13cbbcc9f658e2af92f04fb38c9ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf1939fc343a01429a4b34204220242d7b13cbbcc9f658e2af92f04fb38c9ff", kill_on_drop: false }` [INFO] [stdout] 1cf1939fc343a01429a4b34204220242d7b13cbbcc9f658e2af92f04fb38c9ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0162dcc480be148cd6369fe82c03bcf4690c330d13884f8015008d9605401b38 [INFO] running `Command { std: "docker" "start" "-a" "0162dcc480be148cd6369fe82c03bcf4690c330d13884f8015008d9605401b38", 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: 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: `chatty` (bin "chatty" test) generated 14 warnings (run `cargo fix --bin "chatty" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chatty-6fd1f2eb42ccf67f) [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" "0162dcc480be148cd6369fe82c03bcf4690c330d13884f8015008d9605401b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0162dcc480be148cd6369fe82c03bcf4690c330d13884f8015008d9605401b38", kill_on_drop: false }` [INFO] [stdout] 0162dcc480be148cd6369fe82c03bcf4690c330d13884f8015008d9605401b38