[INFO] fetching crate mail-core 0.6.2...
[INFO] testing mail-core-0.6.2 against 1.69.0 for beta-1.70-1
[INFO] extracting crate mail-core 0.6.2 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate mail-core 0.6.2 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mail-core 0.6.2
[INFO] finished tweaking crates.io crate mail-core 0.6.2
[INFO] tweaked toml for crates.io crate mail-core 0.6.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lut v0.1.0-unstable
[INFO] [stderr]   Downloaded mail-headers v0.6.6
[INFO] [stderr]   Downloaded vec-drain-where v1.0.1
[INFO] [stderr]   Downloaded total-order-multi-map v0.4.6
[INFO] [stderr]   Downloaded checked_command v0.2.4
[INFO] [stderr]   Downloaded media-type-impl-utils v0.3.0-unstable
[INFO] [stderr]   Downloaded quoted-string v0.6.1
[INFO] [stderr]   Downloaded mail-internals v0.2.3
[INFO] [stderr]   Downloaded quoted_printable v0.4.8
[INFO] [stderr]   Downloaded vec1 v1.10.1
[INFO] [stderr]   Downloaded media-type v0.4.0-unstable
[INFO] [stderr]   Downloaded soft-ascii-string v1.1.0
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de62a098e112d47a906f0c034c8417fae192d91e997d8ac12920504582d62ee5
[INFO] running `Command { std: "docker" "start" "-a" "de62a098e112d47a906f0c034c8417fae192d91e997d8ac12920504582d62ee5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de62a098e112d47a906f0c034c8417fae192d91e997d8ac12920504582d62ee5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de62a098e112d47a906f0c034c8417fae192d91e997d8ac12920504582d62ee5", kill_on_drop: false }`
[INFO] [stdout] de62a098e112d47a906f0c034c8417fae192d91e997d8ac12920504582d62ee5
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06c44bbed95a0c8d418586c95b6e17764efcdf5c78ca42740d362aa7ee53af01
[INFO] running `Command { std: "docker" "start" "-a" "06c44bbed95a0c8d418586c95b6e17764efcdf5c78ca42740d362aa7ee53af01", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling quoted-string v0.6.1
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling soft-ascii-string v1.1.0
[INFO] [stderr]    Compiling checked_command v0.2.4
[INFO] [stderr]    Compiling vec1 v1.10.1
[INFO] [stderr]    Compiling vec-drain-where v1.0.1
[INFO] [stderr]    Compiling quoted_printable v0.4.8
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling base64 v0.6.0
[INFO] [stderr]    Compiling total-order-multi-map v0.4.6
[INFO] [stderr]    Compiling lut v0.1.0-unstable
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling media-type-impl-utils v0.3.0-unstable
[INFO] [stderr]    Compiling media-type v0.4.0-unstable
[INFO] [stderr]    Compiling object v0.30.3
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling nom v3.2.1
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling mail-internals v0.2.3
[INFO] [stderr]    Compiling mail-headers v0.6.6
[INFO] [stderr]    Compiling mail-core v0.6.2 (/opt/rustwide/workdir)
[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: 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: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&dyn Fail> {
[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] 
[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] 
[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] 
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lut v0.1.0-unstable, nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "06c44bbed95a0c8d418586c95b6e17764efcdf5c78ca42740d362aa7ee53af01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06c44bbed95a0c8d418586c95b6e17764efcdf5c78ca42740d362aa7ee53af01", kill_on_drop: false }`
[INFO] [stdout] 06c44bbed95a0c8d418586c95b6e17764efcdf5c78ca42740d362aa7ee53af01
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40dfe0e2d9aba48e4429d48a12d38aff3ef29d8a7d6b135183930386928a155e
[INFO] running `Command { std: "docker" "start" "-a" "40dfe0e2d9aba48e4429d48a12d38aff3ef29d8a7d6b135183930386928a155e", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_json v1.0.96
[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: 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: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn cause(&self) -> Option<&dyn Fail> {
[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] 
[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] 
[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] 
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mail-core v0.6.2 (/opt/rustwide/workdir)
[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: 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: 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] 
[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] 
[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] 
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.77s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lut v0.1.0-unstable, nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "40dfe0e2d9aba48e4429d48a12d38aff3ef29d8a7d6b135183930386928a155e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40dfe0e2d9aba48e4429d48a12d38aff3ef29d8a7d6b135183930386928a155e", kill_on_drop: false }`
[INFO] [stdout] 40dfe0e2d9aba48e4429d48a12d38aff3ef29d8a7d6b135183930386928a155e
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0cc40045b3d81630fee627c996afec8352e0442adff4f8cc8887c7e5620e8c07
[INFO] running `Command { std: "docker" "start" "-a" "0cc40045b3d81630fee627c996afec8352e0442adff4f8cc8887c7e5620e8c07", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/utils.rs:13:36
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub type SendBoxFuture<I, E> = Box<Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub type SendBoxFuture<I, E> = Box<dyn Future<Item=I, Error=E> + Send + 'static>;
[INFO] [stderr]    |                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/error.rs:78:32
[INFO] [stderr]    |
[INFO] [stderr] 78 |     fn cause(&self) -> Option<&Fail> {
[INFO] [stderr]    |                                ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 78 |     fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stderr]    |                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/mail.rs:600:17
[INFO] [stderr]     |
[INFO] [stderr] 600 |             let mut headers: &mut HeaderMap = headers;
[INFO] [stderr]     |                 ----^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/resource/loading.rs:184:21
[INFO] [stderr]     |
[INFO] [stderr] 184 |                     mem::replace(resource_ref, new_resource.to_resource());
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/mail.rs:466:21
[INFO] [stderr]     |
[INFO] [stderr] 466 | /                     mem::replace(
[INFO] [stderr] 467 | |                         &mut self.inner,
[INFO] [stderr] 468 | |                         InnerMailFuture::Loading {
[INFO] [stderr] 469 | |                             mail, ctx,
[INFO] [stderr] 470 | |                             pending: future::join_all(futures)
[INFO] [stderr] 471 | |                         }
[INFO] [stderr] 472 | |                     );
[INFO] [stderr]     | |_____________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/mail.rs:478:29
[INFO] [stderr]     |
[INFO] [stderr] 478 | / ...                   mem::replace(
[INFO] [stderr] 479 | | ...                       &mut self.inner,
[INFO] [stderr] 480 | | ...                       InnerMailFuture::Loading { mail, pending, ctx }
[INFO] [stderr] 481 | | ...                   );
[INFO] [stderr]     | |_______________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/mail.rs:554:9
[INFO] [stderr]     |
[INFO] [stderr] 554 |         mem::replace(resource, Resource::EncData(enc_data));
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
[INFO] [stderr]    --> src/mail.rs:885:37
[INFO] [stderr]     |
[INFO] [stderr] 885 |             let provided_date = Utc.ymd(1992, 5, 25).and_hms(23, 41, 12);
[INFO] [stderr]     |                                     ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
[INFO] [stderr]    --> src/mail.rs:885:54
[INFO] [stderr]     |
[INFO] [stderr] 885 |             let provided_date = Utc.ymd(1992, 5, 25).and_hms(23, 41, 12);
[INFO] [stderr]     |                                                      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mail-core` (lib) generated 7 warnings (run `cargo fix --lib -p mail-core` to apply 3 suggestions)
[INFO] [stderr] warning: `mail-core` (lib test) generated 9 warnings (7 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lut v0.1.0-unstable, nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mail_core-986863e589518512)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test iri::test::replacing_tail_does_that ... ok
[INFO] [stdout] test default_impl::message_id_gen::test::HashedIdGen::generate_content_id::should_always_return_a_new_id ... ok
[INFO] [stdout] test iri::test::scheme_name_has_to_be_valid ... ok
[INFO] [stdout] test iri::test::scheme_is_always_lower_case ... ok
[INFO] [stdout] test iri::test::scheme_is_lowercase ... ok
[INFO] [stdout] test default_impl::message_id_gen::test::HashedIdGen::get_message_id::should_always_return_a_new_id ... ok
[INFO] [stdout] test iri::test::split_correctly_excluding_colon ... ok
[INFO] [stdout] test mime::test::write_random_boundary_to::boundary_is_not_quoted ... ok
[INFO] [stdout] test default_impl::cpupool::test::check_if_it_works ... ok
[INFO] [stdout] test mime::test::write_random_boundary_to::boundary_start_special ... ok
[INFO] [stdout] test mime::test::write_random_boundary_to::boundary_does_not_contain_space_or_slach_or_quotes ... ok
[INFO] [stdout] test mail::test::Mail::insert_header_set_a_header ... ok
[INFO] [stdout] test mime::test::write_random_boundary_to::boundary_has_a_resonable_length ... ok
[INFO] [stdout] test mail::test::EncodableMail::checks_there_is_from ... ok
[INFO] [stdout] test mail::test::Mail::visit_mail_bodies_does_not_skip ... ok
[INFO] [stdout] test mail::test::EncodableMail::runs_contextual_validators ... ok
[INFO] [stdout] test mail::test::EncodableMail::sets_generated_headers_for_sub_mails ... ok
[INFO] [stdout] test mail::test::EncodableMail::does_not_override_date_if_set ... ok
[INFO] [stdout] test mail::test::EncodableMail::sets_generated_headers_for_outer_mail ... ok
[INFO] [stdout] test mail::test::Mail::insert_headers_sets_all_headers ... ok
[INFO] [stdout] test default_impl::fs::tests::sniff_media_type::works_reasonable_for_cargo_files ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/mail.rs (/opt/rustwide/target/debug/deps/mail-2a41408ba709dd43)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test resource::load_file::get_name_from_path ... ok
[INFO] [stdout] test resource::load_file::use_name_is_used ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mail-core
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/iri.rs - iri::IRI (line 29) ... ok
[INFO] [stdout] test src/iri.rs - iri::IRI::tail (line 130) ... ok
[INFO] [stdout] test src/iri.rs - iri::IRI::scheme (line 117) ... ok
[INFO] [stdout] test src/default_impl/simple_context.rs - default_impl::simple_context (line 10) ... ok
[INFO] [stdout] test src/mail.rs - mail::Mail (line 117) ... ok
[INFO] [stdout] test src/mail.rs - mail::Mail (line 144) ... ok
[INFO] [stdout] test src/mail.rs - mail::Mail (line 70) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.46s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0cc40045b3d81630fee627c996afec8352e0442adff4f8cc8887c7e5620e8c07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cc40045b3d81630fee627c996afec8352e0442adff4f8cc8887c7e5620e8c07", kill_on_drop: false }`
[INFO] [stdout] 0cc40045b3d81630fee627c996afec8352e0442adff4f8cc8887c7e5620e8c07
