[INFO] fetching crate mail-core-ng 0.6.3...
[INFO] checking mail-core-ng-0.6.3 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate mail-core-ng 0.6.3 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate mail-core-ng 0.6.3 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mail-core-ng 0.6.3
[INFO] finished tweaking crates.io crate mail-core-ng 0.6.3
[INFO] tweaked toml for crates.io crate mail-core-ng 0.6.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate mail-core-ng 0.6.3 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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded media-type v0.4.0-unstable
[INFO] [stderr]   Downloaded lut v0.1.0-unstable
[INFO] [stderr]   Downloaded quoted_printable v0.4.8
[INFO] [stderr]   Downloaded soft-ascii-string v1.1.0
[INFO] [stderr]   Downloaded vec1 v1.10.1
[INFO] [stderr]   Downloaded vec-drain-where v1.0.1
[INFO] [stderr]   Downloaded safemem v0.2.0
[INFO] [stderr]   Downloaded media-type-impl-utils v0.3.0-unstable
[INFO] [stderr]   Downloaded checked_command v0.2.4
[INFO] [stderr]   Downloaded total-order-multi-map v0.4.6
[INFO] [stderr]   Downloaded quoted-string v0.6.1
[INFO] [stderr]   Downloaded mail-headers-ng v0.6.7
[INFO] [stderr]   Downloaded base64 v0.6.0
[INFO] [stderr]   Downloaded mail-internals-ng v0.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9dae81c864e9ecc996941eedce5600699ee32c36190e7673967a520a00f8b3ed
[INFO] running `Command { std: "docker" "start" "-a" "9dae81c864e9ecc996941eedce5600699ee32c36190e7673967a520a00f8b3ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9dae81c864e9ecc996941eedce5600699ee32c36190e7673967a520a00f8b3ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dae81c864e9ecc996941eedce5600699ee32c36190e7673967a520a00f8b3ed", kill_on_drop: false }`
[INFO] [stdout] 9dae81c864e9ecc996941eedce5600699ee32c36190e7673967a520a00f8b3ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a067800e085e8fb634834628328ea5a106046339c8576399a60d00820337153e
[INFO] running `Command { std: "docker" "start" "-a" "a067800e085e8fb634834628328ea5a106046339c8576399a60d00820337153e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking quoted-string v0.6.1
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking safemem v0.2.0
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking quoted_printable v0.4.8
[INFO] [stderr]    Compiling checked_command v0.2.4
[INFO] [stderr]     Checking vec1 v1.10.1
[INFO] [stderr]     Checking soft-ascii-string v1.1.0
[INFO] [stderr]     Checking vec-drain-where v1.0.1
[INFO] [stderr]     Checking lut v0.1.0-unstable
[INFO] [stderr]     Checking base64 v0.6.0
[INFO] [stderr]     Checking total-order-multi-map v0.4.6
[INFO] [stderr]    Compiling serde_json v1.0.104
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking media-type-impl-utils v0.3.0-unstable
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking media-type v0.4.0-unstable
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking object v0.31.1
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]    Compiling cc v1.0.82
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]     Checking addr2line v0.20.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking serde_test v1.0.176
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking mail-internals-ng v0.2.4
[INFO] [stderr]     Checking mail-headers-ng v0.6.7
[INFO] [stderr]     Checking mail-core-ng v0.6.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Send` is imported redundantly
[INFO] [stdout]  --> src/utils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::marker::Send;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Send` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]   --> src/utils.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | use chrono;
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate chrono;
[INFO] [stdout]    | -------------------- the item `chrono` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/mime.rs:2:12
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/resource/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     default::Default,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]  --> src/resource/loading.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     borrow::{ToOwned, Borrow},
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/default_impl/message_id_gen.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rand;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Send` is imported redundantly
[INFO] [stdout]  --> src/utils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::marker::Send;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Send` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]   --> src/utils.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | use chrono;
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate chrono;
[INFO] [stdout]    | -------------------- the item `chrono` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/mime.rs:2:12
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/resource/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     default::Default,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]  --> src/resource/loading.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     borrow::{ToOwned, Borrow},
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `_From` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:781:17
[INFO] [stdout]     |
[INFO] [stdout] 781 |                 _From, ContentType, ContentTransferEncoding,
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `_From` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ContentType` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:781:24
[INFO] [stdout]     |
[INFO] [stdout] 781 |                 _From, ContentType, ContentTransferEncoding,
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `ContentType` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ContentTransferEncoding` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:781:37
[INFO] [stdout]     |
[INFO] [stdout] 781 |                 _From, ContentType, ContentTransferEncoding,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `ContentTransferEncoding` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Date` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:782:17
[INFO] [stdout]     |
[INFO] [stdout] 782 |                 Date, Subject
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `Date` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Builder` is imported redundantly
[INFO] [stdout]   --> src/default_impl/cpupool.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use futures_cpupool::Builder;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     use super::*;
[INFO] [stdout]    |         -------- the item `Builder` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/default_impl/message_id_gen.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rand;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/utils.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<dyn Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/utils.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<dyn Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&Fail> {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&Fail> {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
[INFO] [stdout]    --> src/mail.rs:885:37
[INFO] [stdout]     |
[INFO] [stdout] 885 |             let provided_date = Utc.ymd(1992, 5, 25).and_hms(23, 41, 12);
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
[INFO] [stdout]    --> src/mail.rs:885:54
[INFO] [stdout]     |
[INFO] [stdout] 885 |             let provided_date = Utc.ymd(1992, 5, 25).and_hms(23, 41, 12);
[INFO] [stdout]     |                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mail.rs:600:17
[INFO] [stdout]     |
[INFO] [stdout] 600 |             let mut headers: &mut HeaderMap = headers;
[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: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resource/loading.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     let _ = mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:466:21
[INFO] [stdout]     |
[INFO] [stdout] 466 | /                     mem::replace(
[INFO] [stdout] 467 | |                         &mut self.inner,
[INFO] [stdout] 468 | |                         InnerMailFuture::Loading {
[INFO] [stdout] 469 | |                             mail, ctx,
[INFO] [stdout] 470 | |                             pending: future::join_all(futures)
[INFO] [stdout] 471 | |                         }
[INFO] [stdout] 472 | |                     );
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 466 |                     let _ = mem::replace(
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:478:29
[INFO] [stdout]     |
[INFO] [stdout] 478 | / ...                   mem::replace(
[INFO] [stdout] 479 | | ...                       &mut self.inner,
[INFO] [stdout] 480 | | ...                       InnerMailFuture::Loading { mail, pending, ctx }
[INFO] [stdout] 481 | | ...                   );
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 478 |                             let _ = mem::replace(
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:554:9
[INFO] [stdout]     |
[INFO] [stdout] 554 |         mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 554 |         let _ = mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mail.rs:600:17
[INFO] [stdout]     |
[INFO] [stdout] 600 |             let mut headers: &mut HeaderMap = headers;
[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] error[E0463]: can't find crate for `mail_core`
[INFO] [stdout]  --> examples/readme.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate mail_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `mail_core`
[INFO] [stdout]  --> tests/mail.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate mail_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AssertDebug` is never used
[INFO] [stdout]    --> src/mail.rs:677:11
[INFO] [stdout]     |
[INFO] [stdout] 677 |     trait AssertDebug: Debug {}
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AssertSend` is never used
[INFO] [stdout]    --> src/mail.rs:678:11
[INFO] [stdout]     |
[INFO] [stdout] 678 |     trait AssertSend: Send {}
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AssertSync` is never used
[INFO] [stdout]    --> src/mail.rs:679:11
[INFO] [stdout]     |
[INFO] [stdout] 679 |     trait AssertSync: Sync {}
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resource/loading.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     let _ = mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:466:21
[INFO] [stdout]     |
[INFO] [stdout] 466 | /                     mem::replace(
[INFO] [stdout] 467 | |                         &mut self.inner,
[INFO] [stdout] 468 | |                         InnerMailFuture::Loading {
[INFO] [stdout] 469 | |                             mail, ctx,
[INFO] [stdout] 470 | |                             pending: future::join_all(futures)
[INFO] [stdout] 471 | |                         }
[INFO] [stdout] 472 | |                     );
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 466 |                     let _ = mem::replace(
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:478:29
[INFO] [stdout]     |
[INFO] [stdout] 478 | / ...                   mem::replace(
[INFO] [stdout] 479 | | ...                       &mut self.inner,
[INFO] [stdout] 480 | | ...                       InnerMailFuture::Loading { mail, pending, ctx }
[INFO] [stdout] 481 | | ...                   );
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 478 |                             let _ = mem::replace(
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:554:9
[INFO] [stdout]     |
[INFO] [stdout] 554 |         mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 554 |         let _ = mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]  --> tests/resource/load_file.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]   --> examples/readme.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mail-core-ng` (test "mail") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mail-core-ng` (example "readme") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a067800e085e8fb634834628328ea5a106046339c8576399a60d00820337153e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a067800e085e8fb634834628328ea5a106046339c8576399a60d00820337153e", kill_on_drop: false }`
[INFO] [stdout] a067800e085e8fb634834628328ea5a106046339c8576399a60d00820337153e
[INFO] checking mail-core-ng-0.6.3 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate mail-core-ng 0.6.3 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate mail-core-ng 0.6.3 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mail-core-ng 0.6.3
[INFO] finished tweaking crates.io crate mail-core-ng 0.6.3
[INFO] tweaked toml for crates.io crate mail-core-ng 0.6.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate mail-core-ng 0.6.3 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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1d7fa2eb338de1328d51def24f13b780609f665a4fdffec2714ea329793b17a2
[INFO] running `Command { std: "docker" "start" "-a" "1d7fa2eb338de1328d51def24f13b780609f665a4fdffec2714ea329793b17a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d7fa2eb338de1328d51def24f13b780609f665a4fdffec2714ea329793b17a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d7fa2eb338de1328d51def24f13b780609f665a4fdffec2714ea329793b17a2", kill_on_drop: false }`
[INFO] [stdout] 1d7fa2eb338de1328d51def24f13b780609f665a4fdffec2714ea329793b17a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c329c09681b174d232420ddd6b6737d6ab3f5bbd17e33d87bfa412313a73401d
[INFO] running `Command { std: "docker" "start" "-a" "c329c09681b174d232420ddd6b6737d6ab3f5bbd17e33d87bfa412313a73401d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking quoted-string v0.6.1
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking safemem v0.2.0
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking soft-ascii-string v1.1.0
[INFO] [stderr]     Checking vec-drain-where v1.0.1
[INFO] [stderr]     Checking vec1 v1.10.1
[INFO] [stderr]    Compiling checked_command v0.2.4
[INFO] [stderr]     Checking quoted_printable v0.4.8
[INFO] [stderr]     Checking lut v0.1.0-unstable
[INFO] [stderr]     Checking base64 v0.6.0
[INFO] [stderr]     Checking total-order-multi-map v0.4.6
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling serde_json v1.0.104
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking media-type-impl-utils v0.3.0-unstable
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking media-type v0.4.0-unstable
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking object v0.31.1
[INFO] [stderr]    Compiling cc v1.0.82
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]     Checking addr2line v0.20.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking serde_test v1.0.176
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking mail-internals-ng v0.2.4
[INFO] [stderr]     Checking mail-headers-ng v0.6.7
[INFO] [stderr]     Checking mail-core-ng v0.6.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Send` is imported redundantly
[INFO] [stdout]  --> src/utils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::marker::Send;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Send` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]   --> src/utils.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | use chrono;
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate chrono;
[INFO] [stdout]    | -------------------- the item `chrono` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/mime.rs:2:12
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/resource/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     default::Default,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]  --> src/resource/loading.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     borrow::{ToOwned, Borrow},
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/default_impl/message_id_gen.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rand;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Send` is imported redundantly
[INFO] [stdout]  --> src/utils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::marker::Send;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Send` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]   --> src/utils.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | use chrono;
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate chrono;
[INFO] [stdout]    | -------------------- the item `chrono` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/mime.rs:2:12
[INFO] [stdout]    |
[INFO] [stdout] 2  | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/resource/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     default::Default,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]  --> src/resource/loading.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     borrow::{ToOwned, Borrow},
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `_From` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:781:17
[INFO] [stdout]     |
[INFO] [stdout] 781 |                 _From, ContentType, ContentTransferEncoding,
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `_From` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ContentType` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:781:24
[INFO] [stdout]     |
[INFO] [stdout] 781 |                 _From, ContentType, ContentTransferEncoding,
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `ContentType` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ContentTransferEncoding` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:781:37
[INFO] [stdout]     |
[INFO] [stdout] 781 |                 _From, ContentType, ContentTransferEncoding,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `ContentTransferEncoding` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Date` is imported redundantly
[INFO] [stdout]    --> src/mail.rs:782:17
[INFO] [stdout]     |
[INFO] [stdout] 782 |                 Date, Subject
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |         use super::super::*;
[INFO] [stdout]     |             --------------- the item `Date` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Builder` is imported redundantly
[INFO] [stdout]   --> src/default_impl/cpupool.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use futures_cpupool::Builder;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     use super::*;
[INFO] [stdout]    |         -------- the item `Builder` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/default_impl/message_id_gen.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use rand;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/utils.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<dyn Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/utils.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type SendBoxFuture<I, E> = Box<dyn Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&Fail> {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&Fail> {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
[INFO] [stdout]    --> src/mail.rs:885:37
[INFO] [stdout]     |
[INFO] [stdout] 885 |             let provided_date = Utc.ymd(1992, 5, 25).and_hms(23, 41, 12);
[INFO] [stdout]     |                                     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
[INFO] [stdout]    --> src/mail.rs:885:54
[INFO] [stdout]     |
[INFO] [stdout] 885 |             let provided_date = Utc.ymd(1992, 5, 25).and_hms(23, 41, 12);
[INFO] [stdout]     |                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mail.rs:600:17
[INFO] [stdout]     |
[INFO] [stdout] 600 |             let mut headers: &mut HeaderMap = headers;
[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: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resource/loading.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     let _ = mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:466:21
[INFO] [stdout]     |
[INFO] [stdout] 466 | /                     mem::replace(
[INFO] [stdout] 467 | |                         &mut self.inner,
[INFO] [stdout] 468 | |                         InnerMailFuture::Loading {
[INFO] [stdout] 469 | |                             mail, ctx,
[INFO] [stdout] 470 | |                             pending: future::join_all(futures)
[INFO] [stdout] 471 | |                         }
[INFO] [stdout] 472 | |                     );
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 466 |                     let _ = mem::replace(
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:478:29
[INFO] [stdout]     |
[INFO] [stdout] 478 | / ...                   mem::replace(
[INFO] [stdout] 479 | | ...                       &mut self.inner,
[INFO] [stdout] 480 | | ...                       InnerMailFuture::Loading { mail, pending, ctx }
[INFO] [stdout] 481 | | ...                   );
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 478 |                             let _ = mem::replace(
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:554:9
[INFO] [stdout]     |
[INFO] [stdout] 554 |         mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 554 |         let _ = mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/mail.rs:600:17
[INFO] [stdout]     |
[INFO] [stdout] 600 |             let mut headers: &mut HeaderMap = headers;
[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: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AssertDebug` is never used
[INFO] [stdout]    --> src/mail.rs:677:11
[INFO] [stdout]     |
[INFO] [stdout] 677 |     trait AssertDebug: Debug {}
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AssertSend` is never used
[INFO] [stdout]    --> src/mail.rs:678:11
[INFO] [stdout]     |
[INFO] [stdout] 678 |     trait AssertSend: Send {}
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AssertSync` is never used
[INFO] [stdout]    --> src/mail.rs:679:11
[INFO] [stdout]     |
[INFO] [stdout] 679 |     trait AssertSync: Sync {}
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resource/loading.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     let _ = mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:466:21
[INFO] [stdout]     |
[INFO] [stdout] 466 | /                     mem::replace(
[INFO] [stdout] 467 | |                         &mut self.inner,
[INFO] [stdout] 468 | |                         InnerMailFuture::Loading {
[INFO] [stdout] 469 | |                             mail, ctx,
[INFO] [stdout] 470 | |                             pending: future::join_all(futures)
[INFO] [stdout] 471 | |                         }
[INFO] [stdout] 472 | |                     );
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 466 |                     let _ = mem::replace(
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:478:29
[INFO] [stdout]     |
[INFO] [stdout] 478 | / ...                   mem::replace(
[INFO] [stdout] 479 | | ...                       &mut self.inner,
[INFO] [stdout] 480 | | ...                       InnerMailFuture::Loading { mail, pending, ctx }
[INFO] [stdout] 481 | | ...                   );
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 478 |                             let _ = mem::replace(
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/mail.rs:554:9
[INFO] [stdout]     |
[INFO] [stdout] 554 |         mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 554 |         let _ = mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `mail_core`
[INFO] [stdout]  --> tests/mail.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate mail_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `mail_core`
[INFO] [stdout]  --> examples/readme.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate mail_core;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]  --> tests/resource/load_file.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mail-core-ng` (test "mail") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `futures::Future`
[INFO] [stdout]   --> examples/readme.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mail-core-ng` (example "readme") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c329c09681b174d232420ddd6b6737d6ab3f5bbd17e33d87bfa412313a73401d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c329c09681b174d232420ddd6b6737d6ab3f5bbd17e33d87bfa412313a73401d", kill_on_drop: false }`
[INFO] [stdout] c329c09681b174d232420ddd6b6737d6ab3f5bbd17e33d87bfa412313a73401d
