[INFO] fetching crate br-email 1.0.17...
[INFO] checking br-email-1.0.17 against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682
[INFO] extracting crate br-email 1.0.17 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate br-email 1.0.17 on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate br-email 1.0.17
[INFO] finished tweaking crates.io crate br-email 1.0.17
[INFO] tweaked toml for crates.io crate br-email 1.0.17 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate crates.io crate br-email 1.0.17 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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded urlencoding v2.1.3
[INFO] [stderr]   Downloaded encoding-index-korean v1.20141219.5
[INFO] [stderr]   Downloaded sct v0.7.1
[INFO] [stderr]   Downloaded br-xml v0.0.1
[INFO] [stderr]   Downloaded email_address v0.2.4
[INFO] [stderr]   Downloaded stacker v0.1.15
[INFO] [stderr]   Downloaded bufstream v0.1.4
[INFO] [stderr]   Downloaded xml2json-rs v1.0.1
[INFO] [stderr]   Downloaded js-sys v0.3.65
[INFO] [stderr]   Downloaded quick-xml v0.23.1
[INFO] [stderr]   Downloaded mail-parser v0.9.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.88
[INFO] [stderr]   Downloaded rustls-webpki v0.101.7
[INFO] [stderr]   Downloaded openssl v0.10.60
[INFO] [stderr]   Downloaded br-crypto v0.1.15
[INFO] [stderr]   Downloaded sha256-rs v1.0.1
[INFO] [stderr]   Downloaded rustix v0.38.25
[INFO] [stderr]   Downloaded br-web v0.4.15
[INFO] [stderr]   Downloaded tokio v1.34.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.11
[INFO] [stderr]   Downloaded rustls v0.21.9
[INFO] [stderr]   Downloaded encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]   Downloaded json v0.12.4
[INFO] [stderr]   Downloaded imap v3.0.0-alpha.12
[INFO] [stderr]   Downloaded chumsky v0.9.3
[INFO] [stderr]   Downloaded openssl-sys v0.9.96
[INFO] [stderr]   Downloaded lettre v0.11.2
[INFO] [stderr]   Downloaded encoding v0.2.33
[INFO] [stderr]   Downloaded textcode v0.2.2
[INFO] [stderr]   Downloaded encoding-index-japanese v1.20141219.5
[INFO] [stderr]   Downloaded encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.88
[INFO] [stderr]   Downloaded imap-proto v0.16.3
[INFO] [stderr]   Downloaded rustls-pemfile v1.0.4
[INFO] [stderr]   Downloaded errno v0.3.7
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.88
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.88
[INFO] [stderr]   Downloaded encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]   Downloaded hostname v0.3.1
[INFO] [stderr]   Downloaded ouroboros_macro v0.16.0
[INFO] [stderr]   Downloaded ouroboros v0.16.0
[INFO] [stderr]   Downloaded email-encoding v0.2.0
[INFO] [stderr]   Downloaded quoted_printable v0.5.0
[INFO] [stderr]   Downloaded psm v0.1.21
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.88
[INFO] [stderr]   Downloaded encoding_index_tests v0.1.4
[INFO] [stderr]   Downloaded match_cfg v0.1.0
[INFO] [stderr]   Downloaded aliasable v0.1.3
[INFO] [stderr]   Downloaded quoted_printable v0.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a212d52ee54f97c928478afa6b192f925ec840f83a93ee27d241247de55e725a
[INFO] running `Command { std: "docker" "start" "-a" "a212d52ee54f97c928478afa6b192f925ec840f83a93ee27d241247de55e725a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a212d52ee54f97c928478afa6b192f925ec840f83a93ee27d241247de55e725a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a212d52ee54f97c928478afa6b192f925ec840f83a93ee27d241247de55e725a", kill_on_drop: false }`
[INFO] [stdout] a212d52ee54f97c928478afa6b192f925ec840f83a93ee27d241247de55e725a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c4f2e8236163d48b14452eda0cfd99a00f6e46f1e005a69e119e03b8fcae72a
[INFO] running `Command { std: "docker" "start" "-a" "3c4f2e8236163d48b14452eda0cfd99a00f6e46f1e005a69e119e03b8fcae72a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking zerocopy v0.7.26
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.60
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking cpufeatures v0.2.11
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking quick-xml v0.23.1
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling rustix v0.38.25
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]    Compiling rustls v0.21.9
[INFO] [stderr]     Checking quoted_printable v0.4.8
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking textcode v0.2.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking sha256-rs v1.0.1
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking mail-parser v0.9.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]     Checking email-encoding v0.2.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking email_address v0.2.4
[INFO] [stderr]     Checking imap-proto v0.16.3
[INFO] [stderr]     Checking quoted_printable v0.5.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.96
[INFO] [stderr]    Compiling ring v0.17.5
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking xml2json-rs v1.0.1
[INFO] [stderr]     Checking br-xml v0.0.1
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking env_logger v0.10.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling ouroboros_macro v0.16.0
[INFO] [stderr]     Checking ouroboros v0.16.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking br-crypto v0.1.15
[INFO] [stderr]     Checking imap v3.0.0-alpha.12
[INFO] [stderr]     Checking lettre v0.11.2
[INFO] [stderr]     Checking br-web v0.4.15
[INFO] [stderr]     Checking br-email v1.0.17 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:659:25
[INFO] [stdout]     |
[INFO] [stdout] 659 |                     let mut x: Vec<&str> = item.split("=").collect();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:659:25
[INFO] [stdout]     |
[INFO] [stdout] 659 |                     let mut x: Vec<&str> = item.split("=").collect();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:813:13
[INFO] [stdout]     |
[INFO] [stdout] 813 |         let mut temp_att_body: Vec<JsonValue> = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:842:13
[INFO] [stdout]     |
[INFO] [stdout] 842 |         let mut attachment = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:813:13
[INFO] [stdout]     |
[INFO] [stdout] 813 |         let mut temp_att_body: Vec<JsonValue> = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:842:13
[INFO] [stdout]     |
[INFO] [stdout] 842 |         let mut attachment = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]    --> src/analysis.rs:499:5
[INFO] [stdout]     |
[INFO] [stdout] 495 | pub struct Mail {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 499 |     data: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:111:48
[INFO] [stdout]     |
[INFO] [stdout] 111 |         if MAIL_DATA.lock().unwrap().get(&*name.clone()).is_none() {
[INFO] [stdout]     |                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:112:64
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let connection = MAIL_CONN.lock().unwrap().get(name.clone()).unwrap().clone();
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:116:45
[INFO] [stdout]     |
[INFO] [stdout] 116 |         MAIL_DATA.lock().unwrap().get(&*name.clone()).unwrap().clone()
[INFO] [stdout]     |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]    --> src/analysis.rs:499:5
[INFO] [stdout]     |
[INFO] [stdout] 495 | pub struct Mail {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 499 |     data: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:111:48
[INFO] [stdout]     |
[INFO] [stdout] 111 |         if MAIL_DATA.lock().unwrap().get(&*name.clone()).is_none() {
[INFO] [stdout]     |                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:21:54
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:112:64
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let connection = MAIL_CONN.lock().unwrap().get(name.clone()).unwrap().clone();
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:116:45
[INFO] [stdout]     |
[INFO] [stdout] 116 |         MAIL_DATA.lock().unwrap().get(&*name.clone()).unwrap().clone()
[INFO] [stdout]     |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:71
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:49:49
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:52:54
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:54:51
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:52
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:71
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:85:49
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:87:54
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:88:54
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let client = match imap::ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:52
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:71
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:108:69
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "RFC822") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:141:54
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:142:54
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:144:51
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:71
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:163:69
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "ALL") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:179:49
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:181:54
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:182:54
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:184:51
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:52
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:71
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:203:69
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "UID") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:21:54
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:242:43
[INFO] [stdout]     |
[INFO] [stdout] 242 |             let data_vec: Vec<&str> = data.clone().split("?").collect();
[INFO] [stdout]     |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:71
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:49:49
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:519:34
[INFO] [stdout]     |
[INFO] [stdout] 519 |         let header = mail_list[0].clone();
[INFO] [stdout]     |                                  ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:52:54
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:54:51
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:52
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:71
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:821:75
[INFO] [stdout]     |
[INFO] [stdout] 821 |             more_info["suffix"] = split_filename[split_filename.len() - 1].clone().into();
[INFO] [stdout]     |                                                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:85:49
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:87:54
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:88:54
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let client = match imap::ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:52
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:71
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:108:69
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "RFC822") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:141:54
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:142:54
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:144:51
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:71
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:163:69
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "ALL") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:179:49
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:181:54
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:182:54
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:184:51
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:52
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:71
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:203:69
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "UID") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:242:43
[INFO] [stdout]     |
[INFO] [stdout] 242 |             let data_vec: Vec<&str> = data.clone().split("?").collect();
[INFO] [stdout]     |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:519:34
[INFO] [stdout]     |
[INFO] [stdout] 519 |         let header = mail_list[0].clone();
[INFO] [stdout]     |                                  ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:821:75
[INFO] [stdout]     |
[INFO] [stdout] 821 |             more_info["suffix"] = split_filename[split_filename.len() - 1].clone().into();
[INFO] [stdout]     |                                                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 43 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 43 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.63s
[INFO] running `Command { std: "docker" "inspect" "3c4f2e8236163d48b14452eda0cfd99a00f6e46f1e005a69e119e03b8fcae72a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c4f2e8236163d48b14452eda0cfd99a00f6e46f1e005a69e119e03b8fcae72a", kill_on_drop: false }`
[INFO] [stdout] 3c4f2e8236163d48b14452eda0cfd99a00f6e46f1e005a69e119e03b8fcae72a
[INFO] checking br-email-1.0.17 against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682
[INFO] extracting crate br-email 1.0.17 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate br-email 1.0.17 on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate br-email 1.0.17
[INFO] finished tweaking crates.io crate br-email 1.0.17
[INFO] tweaked toml for crates.io crate br-email 1.0.17 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate crates.io crate br-email 1.0.17 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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ce7d4f4c31a4126b3b222f807a8097654789e72193f245cfe55efc11e58b30e
[INFO] running `Command { std: "docker" "start" "-a" "9ce7d4f4c31a4126b3b222f807a8097654789e72193f245cfe55efc11e58b30e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ce7d4f4c31a4126b3b222f807a8097654789e72193f245cfe55efc11e58b30e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ce7d4f4c31a4126b3b222f807a8097654789e72193f245cfe55efc11e58b30e", kill_on_drop: false }`
[INFO] [stdout] 9ce7d4f4c31a4126b3b222f807a8097654789e72193f245cfe55efc11e58b30e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 210a821d7a1784b2492ac83ff8c7b77f2f6d4e4767a02a9f06d7584125791dd3
[INFO] running `Command { std: "docker" "start" "-a" "210a821d7a1784b2492ac83ff8c7b77f2f6d4e4767a02a9f06d7584125791dd3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking zerocopy v0.7.26
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling openssl v0.10.60
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking cpufeatures v0.2.11
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking quick-xml v0.23.1
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]    Compiling rustix v0.38.25
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking linux-raw-sys v0.4.11
[INFO] [stderr]     Checking sha256-rs v1.0.1
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]    Compiling rustls v0.21.9
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking quoted_printable v0.4.8
[INFO] [stderr]     Checking mail-parser v0.9.1
[INFO] [stderr]     Checking textcode v0.2.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking uuid v1.6.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking email-encoding v0.2.0
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking quoted_printable v0.5.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking email_address v0.2.4
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking imap-proto v0.16.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling openssl-sys v0.9.96
[INFO] [stderr]    Compiling ring v0.17.5
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking xml2json-rs v1.0.1
[INFO] [stderr]     Checking env_logger v0.10.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling ouroboros_macro v0.16.0
[INFO] [stderr]     Checking br-xml v0.0.1
[INFO] [stderr]     Checking ouroboros v0.16.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking br-crypto v0.1.15
[INFO] [stderr]     Checking br-web v0.4.15
[INFO] [stderr]     Checking lettre v0.11.2
[INFO] [stderr]     Checking imap v3.0.0-alpha.12
[INFO] [stderr]     Checking br-email v1.0.17 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:659:25
[INFO] [stdout]     |
[INFO] [stdout] 659 |                     let mut x: Vec<&str> = item.split("=").collect();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:813:13
[INFO] [stdout]     |
[INFO] [stdout] 813 |         let mut temp_att_body: Vec<JsonValue> = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:842:13
[INFO] [stdout]     |
[INFO] [stdout] 842 |         let mut attachment = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:659:25
[INFO] [stdout]     |
[INFO] [stdout] 659 |                     let mut x: Vec<&str> = item.split("=").collect();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:813:13
[INFO] [stdout]     |
[INFO] [stdout] 813 |         let mut temp_att_body: Vec<JsonValue> = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/analysis.rs:842:13
[INFO] [stdout]     |
[INFO] [stdout] 842 |         let mut attachment = self.attachment_body.clone();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]    --> src/analysis.rs:499:5
[INFO] [stdout]     |
[INFO] [stdout] 495 | pub struct Mail {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 499 |     data: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:111:48
[INFO] [stdout]     |
[INFO] [stdout] 111 |         if MAIL_DATA.lock().unwrap().get(&*name.clone()).is_none() {
[INFO] [stdout]     |                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:112:64
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let connection = MAIL_CONN.lock().unwrap().get(name.clone()).unwrap().clone();
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:116:45
[INFO] [stdout]     |
[INFO] [stdout] 116 |         MAIL_DATA.lock().unwrap().get(&*name.clone()).unwrap().clone()
[INFO] [stdout]     |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:21:54
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:71
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:49:49
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:52:54
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:54:51
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:52
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:71
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:85:49
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:87:54
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:88:54
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let client = match imap::ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:52
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:71
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:108:69
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "RFC822") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:141:54
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:142:54
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:144:51
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:71
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:163:69
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "ALL") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:179:49
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:181:54
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:182:54
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:184:51
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:52
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:71
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:203:69
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "UID") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:242:43
[INFO] [stdout]     |
[INFO] [stdout] 242 |             let data_vec: Vec<&str> = data.clone().split("?").collect();
[INFO] [stdout]     |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:519:34
[INFO] [stdout]     |
[INFO] [stdout] 519 |         let header = mail_list[0].clone();
[INFO] [stdout]     |                                  ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:821:75
[INFO] [stdout]     |
[INFO] [stdout] 821 |             more_info["suffix"] = split_filename[split_filename.len() - 1].clone().into();
[INFO] [stdout]     |                                                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]    --> src/analysis.rs:499:5
[INFO] [stdout]     |
[INFO] [stdout] 495 | pub struct Mail {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 499 |     data: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:111:48
[INFO] [stdout]     |
[INFO] [stdout] 111 |         if MAIL_DATA.lock().unwrap().get(&*name.clone()).is_none() {
[INFO] [stdout]     |                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:112:64
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let connection = MAIL_CONN.lock().unwrap().get(name.clone()).unwrap().clone();
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:116:45
[INFO] [stdout]     |
[INFO] [stdout] 116 |         MAIL_DATA.lock().unwrap().get(&*name.clone()).unwrap().clone()
[INFO] [stdout]     |                                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:21:54
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:30:71
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:49:49
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:52:54
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:54:51
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:52
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:60:71
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:85:49
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]    |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:87:54
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:88:54
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]    |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let client = match imap::ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]    |                                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:52
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/imap/mod.rs:96:71
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]    |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:108:69
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "RFC822") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:141:54
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:142:54
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:144:51
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:150:71
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:163:69
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "ALL") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:179:49
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let host = self.connection.host.as_str().clone();
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:181:54
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let user_name = self.connection.mail.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:182:54
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let user_pass = self.connection.pass.as_str().clone();
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:184:51
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let client = match ClientBuilder::new(host.clone(), port.clone()).connect() {
[INFO] [stdout]     |                                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:52
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:190:71
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut conn = match client.login(user_name.clone(), user_pass.clone()).map_err(|e| e.0) {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/imap/mod.rs:203:69
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let messages = match conn.fetch(mail_id.to_string().as_str().clone(), "UID") {
[INFO] [stdout]     |                                                                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:242:43
[INFO] [stdout]     |
[INFO] [stdout] 242 |             let data_vec: Vec<&str> = data.clone().split("?").collect();
[INFO] [stdout]     |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:519:34
[INFO] [stdout]     |
[INFO] [stdout] 519 |         let header = mail_list[0].clone();
[INFO] [stdout]     |                                  ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/analysis.rs:821:75
[INFO] [stdout]     |
[INFO] [stdout] 821 |             more_info["suffix"] = split_filename[split_filename.len() - 1].clone().into();
[INFO] [stdout]     |                                                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 43 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 43 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.83s
[INFO] running `Command { std: "docker" "inspect" "210a821d7a1784b2492ac83ff8c7b77f2f6d4e4767a02a9f06d7584125791dd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "210a821d7a1784b2492ac83ff8c7b77f2f6d4e4767a02a9f06d7584125791dd3", kill_on_drop: false }`
[INFO] [stdout] 210a821d7a1784b2492ac83ff8c7b77f2f6d4e4767a02a9f06d7584125791dd3
