[INFO] fetching crate melib 0.7.2... [INFO] checking melib-0.7.2 against try#45b14c26f76a39a9945ef8518d3276f1bc880008 for pr-113242 [INFO] extracting crate melib 0.7.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate melib 0.7.2 on toolchain 45b14c26f76a39a9945ef8518d3276f1bc880008 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate melib 0.7.2 [INFO] finished tweaking crates.io crate melib 0.7.2 [INFO] tweaked toml for crates.io crate melib 0.7.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aa4f744793203266f7f91b595e2eda83fc8537b8dc3a5339348895896a1c979 [INFO] running `Command { std: "docker" "start" "-a" "1aa4f744793203266f7f91b595e2eda83fc8537b8dc3a5339348895896a1c979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aa4f744793203266f7f91b595e2eda83fc8537b8dc3a5339348895896a1c979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa4f744793203266f7f91b595e2eda83fc8537b8dc3a5339348895896a1c979", kill_on_drop: false }` [INFO] [stdout] 1aa4f744793203266f7f91b595e2eda83fc8537b8dc3a5339348895896a1c979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53ddb86a5e00697f45f2c5c01b48a00bf57852ecfce0b20cdc2fd9be3137b795 [INFO] running `Command { std: "docker" "start" "-a" "53ddb86a5e00697f45f2c5c01b48a00bf57852ecfce0b20cdc2fd9be3137b795", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling async-process v1.7.0 [INFO] [stderr] Compiling async-net v1.7.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Compiling melib v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking xdg v2.5.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking smol v1.3.0 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking xdg-utils v0.4.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking openssl v0.10.55 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking native-tls v0.2.11 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thread.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | let mut node = self.thread_nodes.entry(new_id).or_default(); [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: field `is_subscribed` is never read [INFO] [stdout] --> src/backends/imap.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct ImapType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 195 | is_subscribed: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImapType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offline_cache` is never read [INFO] [stdout] --> src/backends/nntp.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct UIDStore { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | offline_cache: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIDStore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_subscribed` and `can_create_flags` are never read [INFO] [stdout] --> src/backends/nntp.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct NntpType { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 150 | is_subscribed: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | can_create_flags: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NntpType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/backends/maildir/backend.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct HashIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 86 | index: HashMap, [INFO] [stdout] 87 | hash: MailboxHash, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/backends/mbox.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 273 | pub struct MboxOp { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 274 | hash: EnvelopeHash, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MboxOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thread.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | let mut node = self.thread_nodes.entry(new_id).or_default(); [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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/thread.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 665 | drop(message_id); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_subscribed` is never read [INFO] [stdout] --> src/backends/imap.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct ImapType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 195 | is_subscribed: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImapType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offline_cache` is never read [INFO] [stdout] --> src/backends/nntp.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct UIDStore { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | offline_cache: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIDStore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_subscribed` and `can_create_flags` are never read [INFO] [stdout] --> src/backends/nntp.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct NntpType { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 150 | is_subscribed: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | can_create_flags: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NntpType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/backends/maildir/backend.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct HashIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 86 | index: HashMap, [INFO] [stdout] 87 | hash: MailboxHash, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/backends/mbox.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 273 | pub struct MboxOp { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 274 | hash: EnvelopeHash, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MboxOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/thread.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 665 | drop(message_id); [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.16s [INFO] running `Command { std: "docker" "inspect" "53ddb86a5e00697f45f2c5c01b48a00bf57852ecfce0b20cdc2fd9be3137b795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53ddb86a5e00697f45f2c5c01b48a00bf57852ecfce0b20cdc2fd9be3137b795", kill_on_drop: false }` [INFO] [stdout] 53ddb86a5e00697f45f2c5c01b48a00bf57852ecfce0b20cdc2fd9be3137b795