[INFO] cloning repository https://github.com/soywod/himalaya [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soywod/himalaya" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoywod%2Fhimalaya", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoywod%2Fhimalaya'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0296a54d2b6ab3006f614597e75dacd470bb751 [INFO] checking soywod/himalaya against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoywod%2Fhimalaya" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soywod/himalaya on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soywod/himalaya [INFO] finished tweaking git repo https://github.com/soywod/himalaya [INFO] tweaked toml for git repo https://github.com/soywod/himalaya written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/soywod/himalaya already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] [stderr] Downloaded lettre v0.10.0-alpha.4 [INFO] [stderr] Downloaded hyperx v1.2.0 [INFO] [stderr] Downloaded charset v0.1.2 [INFO] [stderr] Downloaded imap-proto v0.10.2 [INFO] [stderr] Downloaded rfc2047-decoder v0.1.2 [INFO] [stderr] Downloaded mailparse v0.13.1 [INFO] [stderr] Downloaded quoted_printable v0.4.2 [INFO] [stderr] Downloaded imap v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e172f647e1fc52c8e313361c7cfe6a6be950e4ca842d8ff99f7a338c23cad496 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e172f647e1fc52c8e313361c7cfe6a6be950e4ca842d8ff99f7a338c23cad496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e172f647e1fc52c8e313361c7cfe6a6be950e4ca842d8ff99f7a338c23cad496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e172f647e1fc52c8e313361c7cfe6a6be950e4ca842d8ff99f7a338c23cad496", kill_on_drop: false }` [INFO] [stdout] e172f647e1fc52c8e313361c7cfe6a6be950e4ca842d8ff99f7a338c23cad496 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30f1b934be7ee0950cbf0b8db079f26173e52ae659e15ca6769e55fc8c6b226e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30f1b934be7ee0950cbf0b8db079f26173e52ae659e15ca6769e55fc8c6b226e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling hyperx v1.2.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking quoted_printable v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking lexical-core v0.7.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking charset v0.1.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking mailparse v0.13.1 [INFO] [stderr] Checking rfc2047-decoder v0.1.2 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking imap-proto v0.10.2 [INFO] [stderr] Checking imap v2.4.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking lettre v0.10.0-alpha.4 [INFO] [stderr] Checking himalaya v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/app.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{self, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/app.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config::Config`, `imap::ImapConnector`, `input`, `print`, `self`, `smtp` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | config::Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | flag::cli::{flag_matches, flag_subcmds}, [INFO] [stdout] 8 | imap::ImapConnector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | output::{self, print}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 13 | smtp, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs` [INFO] [stdout] --> src/msg/cli.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Account` [INFO] [stdout] --> src/msg/cli.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | config::{self, Account, Config}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/app.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{self, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/app.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config::Config`, `imap::ImapConnector`, `input`, `print`, `self`, `smtp` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | config::Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | flag::cli::{flag_matches, flag_subcmds}, [INFO] [stdout] 8 | imap::ImapConnector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | output::{self, print}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 13 | smtp, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs` [INFO] [stdout] --> src/msg/cli.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Account` [INFO] [stdout] --> src/msg/cli.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | config::{self, Account, Config}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matched` [INFO] [stdout] --> src/app.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let matched = msg_matches(matched, &matches)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_fmt` [INFO] [stdout] --> src/flag/cli.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let output_fmt = matches.value_of("output").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matched` [INFO] [stdout] --> src/app.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let matched = msg_matches(matched, &matches)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_fmt` [INFO] [stdout] --> src/flag/cli.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let output_fmt = matches.value_of("output").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smtp_creds` [INFO] [stdout] --> src/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn smtp_creds(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smtp_starttls` [INFO] [stdout] --> src/config.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn smtp_starttls(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downloads_filepath` [INFO] [stdout] --> src/config.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn downloads_filepath(&self, account: &Account, filename: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `address` [INFO] [stdout] --> src/config.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn address(&self, account: &Account) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_notify_cmd` [INFO] [stdout] --> src/config.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn run_notify_cmd(&self, subject: &str, sender: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_new_seq` [INFO] [stdout] --> src/imap.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn last_new_seq(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `idle` [INFO] [stdout] --> src/imap.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn idle(&mut self, config: &Config, mbox: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_msgs` [INFO] [stdout] --> src/imap.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn search_msgs( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_msg` [INFO] [stdout] --> src/imap.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn read_msg(&mut self, mbox: &str, uid: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_msg` [INFO] [stdout] --> src/imap.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn append_msg(&mut self, mbox: &str, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_editor_with_tpl` [INFO] [stdout] --> src/input.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn open_editor_with_tpl(tpl: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_editor_with_draft` [INFO] [stdout] --> src/input.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn open_editor_with_draft() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Choice` [INFO] [stdout] --> src/input.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum Choice { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_edit_choice` [INFO] [stdout] --> src/input.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn post_edit_choice() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send` [INFO] [stdout] --> src/smtp.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn send(account: &Account, msg: &lettre::Message) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mailbox_arg` [INFO] [stdout] --> src/msg/cli.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn mailbox_arg<'a, 'b>() -> Arg<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uid_arg` [INFO] [stdout] --> src/msg/cli.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn uid_arg<'a, 'b>() -> Arg<'a, 'b> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reply_all_arg` [INFO] [stdout] --> src/msg/cli.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn reply_all_arg<'a, 'b>() -> Arg<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_part` [INFO] [stdout] --> src/msg/model.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_part(part: &'a mailparse::ParsedMail) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_from_part` [INFO] [stdout] --> src/msg/model.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn extract_from_part(&'a mut self, part: &'a mailparse::ParsedMail) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/msg/model.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_parts` [INFO] [stdout] --> src/msg/model.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn flatten_parts(part: &'a mailparse::ParsedMail) -> Vec<&'a mailparse::ParsedMail<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/msg/model.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn from_bytes(mime: &str, bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/msg/model.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn parse(&'m self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vec` [INFO] [stdout] --> src/msg/model.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn to_vec(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_sendable_msg` [INFO] [stdout] --> src/msg/model.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn to_sendable_msg(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_text_bodies_into` [INFO] [stdout] --> src/msg/model.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn extract_text_bodies_into(part: &mailparse::ParsedMail, mime: &str, parts: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_text_bodies` [INFO] [stdout] --> src/msg/model.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | fn extract_text_bodies(&self, mime: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text_bodies` [INFO] [stdout] --> src/msg/model.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn text_bodies(&self, mime: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_new_tpl` [INFO] [stdout] --> src/msg/model.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn build_new_tpl(config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_reply_tpl` [INFO] [stdout] --> src/msg/model.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn build_reply_tpl(&self, config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_reply_all_tpl` [INFO] [stdout] --> src/msg/model.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn build_reply_all_tpl(&self, config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_forward_tpl` [INFO] [stdout] --> src/msg/model.rs:495:12 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn build_forward_tpl(&self, config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smtp_creds` [INFO] [stdout] --> src/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn smtp_creds(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smtp_starttls` [INFO] [stdout] --> src/config.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn smtp_starttls(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downloads_filepath` [INFO] [stdout] --> src/config.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn downloads_filepath(&self, account: &Account, filename: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `address` [INFO] [stdout] --> src/config.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn address(&self, account: &Account) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_notify_cmd` [INFO] [stdout] --> src/config.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn run_notify_cmd(&self, subject: &str, sender: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_new_seq` [INFO] [stdout] --> src/imap.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn last_new_seq(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `idle` [INFO] [stdout] --> src/imap.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn idle(&mut self, config: &Config, mbox: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_msgs` [INFO] [stdout] --> src/imap.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn search_msgs( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_msg` [INFO] [stdout] --> src/imap.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn read_msg(&mut self, mbox: &str, uid: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_msg` [INFO] [stdout] --> src/imap.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn append_msg(&mut self, mbox: &str, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_editor_with_tpl` [INFO] [stdout] --> src/input.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn open_editor_with_tpl(tpl: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_editor_with_draft` [INFO] [stdout] --> src/input.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn open_editor_with_draft() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Choice` [INFO] [stdout] --> src/input.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum Choice { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_edit_choice` [INFO] [stdout] --> src/input.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn post_edit_choice() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send` [INFO] [stdout] --> src/smtp.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn send(account: &Account, msg: &lettre::Message) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mailbox_arg` [INFO] [stdout] --> src/msg/cli.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn mailbox_arg<'a, 'b>() -> Arg<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uid_arg` [INFO] [stdout] --> src/msg/cli.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn uid_arg<'a, 'b>() -> Arg<'a, 'b> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reply_all_arg` [INFO] [stdout] --> src/msg/cli.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn reply_all_arg<'a, 'b>() -> Arg<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_part` [INFO] [stdout] --> src/msg/model.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_part(part: &'a mailparse::ParsedMail) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_from_part` [INFO] [stdout] --> src/msg/model.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn extract_from_part(&'a mut self, part: &'a mailparse::ParsedMail) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/msg/model.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_parts` [INFO] [stdout] --> src/msg/model.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn flatten_parts(part: &'a mailparse::ParsedMail) -> Vec<&'a mailparse::ParsedMail<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/msg/model.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn from_bytes(mime: &str, bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/msg/model.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn parse(&'m self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vec` [INFO] [stdout] --> src/msg/model.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn to_vec(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_sendable_msg` [INFO] [stdout] --> src/msg/model.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn to_sendable_msg(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_text_bodies_into` [INFO] [stdout] --> src/msg/model.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn extract_text_bodies_into(part: &mailparse::ParsedMail, mime: &str, parts: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_text_bodies` [INFO] [stdout] --> src/msg/model.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 336 | fn extract_text_bodies(&self, mime: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text_bodies` [INFO] [stdout] --> src/msg/model.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn text_bodies(&self, mime: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_new_tpl` [INFO] [stdout] --> src/msg/model.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn build_new_tpl(config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_reply_tpl` [INFO] [stdout] --> src/msg/model.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn build_reply_tpl(&self, config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_reply_all_tpl` [INFO] [stdout] --> src/msg/model.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn build_reply_all_tpl(&self, config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_forward_tpl` [INFO] [stdout] --> src/msg/model.rs:495:12 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn build_forward_tpl(&self, config: &Config, account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "30f1b934be7ee0950cbf0b8db079f26173e52ae659e15ca6769e55fc8c6b226e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f1b934be7ee0950cbf0b8db079f26173e52ae659e15ca6769e55fc8c6b226e", kill_on_drop: false }` [INFO] [stdout] 30f1b934be7ee0950cbf0b8db079f26173e52ae659e15ca6769e55fc8c6b226e