[INFO] fetching crate mail-core-ng 0.6.3... [INFO] checking mail-core-ng-0.6.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate mail-core-ng 0.6.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate mail-core-ng 0.6.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded soft-ascii-string v1.1.0 [INFO] [stderr] Downloaded mail-internals-ng v0.2.4 [INFO] [stderr] Downloaded lut v0.1.0-unstable [INFO] [stderr] Downloaded media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Downloaded media-type v0.4.0-unstable [INFO] [stderr] Downloaded checked_command v0.2.4 [INFO] [stderr] Downloaded total-order-multi-map v0.4.6 [INFO] [stderr] Downloaded vec1 v1.10.1 [INFO] [stderr] Downloaded base64 v0.6.0 [INFO] [stderr] Downloaded mail-headers-ng v0.6.7 [INFO] [stderr] Downloaded quoted-string v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 239971871df91d1a8f575450e23b99460558e6cf7ef6a474644ecb037716ade9 [INFO] running `Command { std: "docker" "start" "-a" "239971871df91d1a8f575450e23b99460558e6cf7ef6a474644ecb037716ade9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "239971871df91d1a8f575450e23b99460558e6cf7ef6a474644ecb037716ade9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239971871df91d1a8f575450e23b99460558e6cf7ef6a474644ecb037716ade9", kill_on_drop: false }` [INFO] [stdout] 239971871df91d1a8f575450e23b99460558e6cf7ef6a474644ecb037716ade9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92891415ff343b6690857659f599fbe97910a19e467f23eb3dab63dd2b7ef16c [INFO] running `Command { std: "docker" "start" "-a" "92891415ff343b6690857659f599fbe97910a19e467f23eb3dab63dd2b7ef16c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking lut v0.1.0-unstable [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking quoted-string v0.6.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking media-type v0.4.0-unstable [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking soft-ascii-string v1.1.0 [INFO] [stderr] Compiling checked_command v0.2.4 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking vec1 v1.10.1 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking vec-drain-where v1.0.1 [INFO] [stderr] Checking total-order-multi-map v0.4.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [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 serde_test v1.0.176 [INFO] [stderr] Checking mail-core-ng v0.6.3 (/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 = Box + 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 [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 = Box + 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 [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: 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: 7 warnings emitted [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: 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[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: 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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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 = Box + 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 [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 = Box + 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 [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::::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: 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92891415ff343b6690857659f599fbe97910a19e467f23eb3dab63dd2b7ef16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92891415ff343b6690857659f599fbe97910a19e467f23eb3dab63dd2b7ef16c", kill_on_drop: false }` [INFO] [stdout] 92891415ff343b6690857659f599fbe97910a19e467f23eb3dab63dd2b7ef16c