[INFO] fetching crate mail-core 0.6.2... [INFO] checking mail-core-0.6.2 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate mail-core 0.6.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate mail-core 0.6.2 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d80e22415b688e0974e8c0da4ecc9e96a717a1d9c6a2a8e3c703020629933d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3d80e22415b688e0974e8c0da4ecc9e96a717a1d9c6a2a8e3c703020629933d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d80e22415b688e0974e8c0da4ecc9e96a717a1d9c6a2a8e3c703020629933d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d80e22415b688e0974e8c0da4ecc9e96a717a1d9c6a2a8e3c703020629933d", kill_on_drop: false }` [INFO] [stdout] e3d80e22415b688e0974e8c0da4ecc9e96a717a1d9c6a2a8e3c703020629933d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 922443d8130361a8698860a510361c8c5bd6eee48c73ca1e42023e76e2952dcc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "922443d8130361a8698860a510361c8c5bd6eee48c73ca1e42023e76e2952dcc", kill_on_drop: false }` [INFO] [stderr] Checking quoted-string v0.6.1 [INFO] [stderr] Checking safemem v0.2.0 [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.2 [INFO] [stderr] Checking vec-drain-where v1.0.1 [INFO] [stderr] Checking vec1 v1.6.0 [INFO] [stderr] Checking lut v0.1.0-unstable [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking total-order-multi-map v0.4.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking media-type v0.4.0-unstable [INFO] [stderr] Checking mail-internals v0.2.3 [INFO] [stderr] Checking mail-headers v0.6.6 [INFO] [stderr] Checking mail-core v0.6.2 (/opt/rustwide/workdir) [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] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 = Box + Send + 'static>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 = Box + Send + 'static>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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: `#[warn(unused_must_use)]` on by default [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: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] [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: `#[warn(unused_must_use)]` on by default [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: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 9.59s [INFO] running `Command { std: "docker" "inspect" "922443d8130361a8698860a510361c8c5bd6eee48c73ca1e42023e76e2952dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922443d8130361a8698860a510361c8c5bd6eee48c73ca1e42023e76e2952dcc", kill_on_drop: false }` [INFO] [stdout] 922443d8130361a8698860a510361c8c5bd6eee48c73ca1e42023e76e2952dcc