[INFO] fetching crate rocketmq-client 0.1.0... [INFO] checking rocketmq-client-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rocketmq-client 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rocketmq-client 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocketmq-client 0.1.0 [INFO] finished tweaking crates.io crate rocketmq-client 0.1.0 [INFO] tweaked toml for crates.io crate rocketmq-client 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate rocketmq-client 0.1.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef8ac688f4d10cf2e8102f1f087f3842bb6da3755373e3bac601fca8b1b1a36a [INFO] running `Command { std: "docker" "start" "-a" "ef8ac688f4d10cf2e8102f1f087f3842bb6da3755373e3bac601fca8b1b1a36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef8ac688f4d10cf2e8102f1f087f3842bb6da3755373e3bac601fca8b1b1a36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8ac688f4d10cf2e8102f1f087f3842bb6da3755373e3bac601fca8b1b1a36a", kill_on_drop: false }` [INFO] [stdout] ef8ac688f4d10cf2e8102f1f087f3842bb6da3755373e3bac601fca8b1b1a36a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 342f00f0515af7f415cc5a9513251ae7353052f9454ddd49eae9769e4a7487e0 [INFO] running `Command { std: "docker" "start" "-a" "342f00f0515af7f415cc5a9513251ae7353052f9454ddd49eae9769e4a7487e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking rocketmq-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, and `BytesMut` [INFO] [stdout] --> src/frame.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Frame`, `Language`, and `Type` [INFO] [stdout] --> src/frame.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | use super::{Frame, Language, Type}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/publisher.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn publish(&mut self, message: &Message) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/connection.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 103 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestCode` is never used [INFO] [stdout] --> src/frame.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) enum RequestCode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/frame.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | Other(error::ClientError), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/frame.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frame.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 76 | // Generate next opaque, aka, request identifier. [INFO] [stdout] 77 | fn next_opaque() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn put_ext_field(&mut self, key: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub(crate) fn remark(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub(crate) fn frame_type(&self) -> Type { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub(crate) fn mark_response_type(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub(crate) fn add_ext_headers(&mut self, header: impl Into>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(crate) fn body(&self) -> bytes::Bytes { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/message.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `broker_name`, `read_queue_nums`, `write_queue_nums`, `perm`, and `topic_syn_flag` are never read [INFO] [stdout] --> src/protocol.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct QueueData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 31 | pub(crate) broker_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub(crate) read_queue_nums: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) write_queue_nums: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) perm: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub(crate) topic_syn_flag: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueueData` 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 `cluster`, `broker_name`, and `broker_addrs` are never read [INFO] [stdout] --> src/protocol.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BrokerData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | pub(crate) cluster: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | pub(crate) broker_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | pub(crate) broker_addrs: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrokerData` 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 `order_topic_conf`, `queue_datas`, `broker_datas`, and `filter_server_table` are never read [INFO] [stdout] --> src/protocol.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct TopicRouteData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 49 | pub(crate) order_topic_conf: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub(crate) queue_datas: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | [INFO] [stdout] 53 | pub(crate) broker_datas: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) filter_server_table: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopicRouteData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Publisher` is never constructed [INFO] [stdout] --> src/publisher.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Publisher { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `publish` are never used [INFO] [stdout] --> src/publisher.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Publisher { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(group: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn publish(&mut self, message: &Message) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteManager` is never constructed [INFO] [stdout] --> src/route.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct RouteManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `route` are never used [INFO] [stdout] --> src/route.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl RouteManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | pub(crate) fn new(addrs: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn route( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/publisher.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn publish(&mut self, message: &Message) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/route.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let manager = RouteManager::new(addrs)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/connection.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 103 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/frame.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | Other(error::ClientError), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `properties` is never read [INFO] [stdout] --> src/message.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filter_server_table` is never read [INFO] [stdout] --> src/protocol.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct TopicRouteData { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) filter_server_table: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopicRouteData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Publisher` is never constructed [INFO] [stdout] --> src/publisher.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Publisher { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `publish` are never used [INFO] [stdout] --> src/publisher.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Publisher { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(group: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn publish(&mut self, message: &Message) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoints` and `topic_routes` are never read [INFO] [stdout] --> src/route.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct RouteManager { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | /// Endpoints remain constant after construction. [INFO] [stdout] 13 | endpoints: Arc>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | topic_routes: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `route` is never used [INFO] [stdout] --> src/route.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl RouteManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn route( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.81s [INFO] running `Command { std: "docker" "inspect" "342f00f0515af7f415cc5a9513251ae7353052f9454ddd49eae9769e4a7487e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342f00f0515af7f415cc5a9513251ae7353052f9454ddd49eae9769e4a7487e0", kill_on_drop: false }` [INFO] [stdout] 342f00f0515af7f415cc5a9513251ae7353052f9454ddd49eae9769e4a7487e0