[INFO] cloning repository https://github.com/linpingchuan/raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linpingchuan/raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinpingchuan%2Fraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinpingchuan%2Fraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4669f35010abd922ec7d955f10cdde4a36129b9e [INFO] testing linpingchuan/raft against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinpingchuan%2Fraft" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/linpingchuan/raft [INFO] finished tweaking git repo https://github.com/linpingchuan/raft [INFO] tweaked toml for git repo https://github.com/linpingchuan/raft written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/linpingchuan/raft on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/linpingchuan/raft 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded synstructure v0.12.1 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded crossbeam v0.7.2 [INFO] [stderr] Downloaded getset v0.0.7 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded raft-proto v0.6.0-alpha [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded fail v0.3.0 [INFO] [stderr] Downloaded rayon-core v1.6.0 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded itertools v0.8.0 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] [stderr] Downloaded chrono v0.4.9 [INFO] [stderr] Downloaded rayon v1.2.0 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded protobuf v2.8.1 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded hashbrown v0.5.0 [INFO] [stderr] Downloaded arc-swap v0.4.3 [INFO] [stderr] Downloaded cc v1.0.46 [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded protobuf-codegen v2.8.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.2 [INFO] [stderr] Downloaded blake2b_simd v0.5.8 [INFO] [stderr] Downloaded slog-scope v4.2.0 [INFO] [stderr] Downloaded memoffset v0.5.1 [INFO] [stderr] Downloaded slog-stdlog v4.0.0 [INFO] [stderr] Downloaded slog-term v2.4.1 [INFO] [stderr] Downloaded protobuf-build v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b46b4e7a0bb0ea2b324f0d5733708e181b7a0fc82f0e42b25a21059c5d7031cf [INFO] running `Command { std: "docker" "start" "-a" "b46b4e7a0bb0ea2b324f0d5733708e181b7a0fc82f0e42b25a21059c5d7031cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b46b4e7a0bb0ea2b324f0d5733708e181b7a0fc82f0e42b25a21059c5d7031cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b46b4e7a0bb0ea2b324f0d5733708e181b7a0fc82f0e42b25a21059c5d7031cf", kill_on_drop: false }` [INFO] [stdout] b46b4e7a0bb0ea2b324f0d5733708e181b7a0fc82f0e42b25a21059c5d7031cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 914ee5796a21bd00bd317c0c256d18c5735c3bf0f2cff27d0331cf09aef3d10d [INFO] running `Command { std: "docker" "start" "-a" "914ee5796a21bd00bd317c0c256d18c5735c3bf0f2cff27d0331cf09aef3d10d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling slog-scope v4.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling slog-term v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling protobuf-codegen v2.8.1 [INFO] [stderr] Compiling protobuf-build v0.8.0 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Getters` in this scope [INFO] [stdout] --> src/raft.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Getters)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use getset::Getters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `failpoints` [INFO] [stdout] --> src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "failpoints")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `failpoints` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `default-logger` [INFO] [stdout] --> src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(any(test, feature = "default-logger"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `default-logger` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `default_logger` [INFO] [stdout] --> src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(any(test, feature = "default_logger"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `default_logger` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entry` and `Message` [INFO] [stdout] --> src/util.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::protos::eraftpb::{Entry, Message}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/storage.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | /// 元数据将会保存在这里 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | snapshot_metadata:Default::default(), [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/protos/eraftpb.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:276:30 [INFO] [stdout] | [INFO] [stdout] 276 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 276 - fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] 276 + fn as_any(&self) -> &dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | self as &dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 277 - self as &dyn (::std::any::Any) [INFO] [stdout] 277 + self as &dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:279:42 [INFO] [stdout] | [INFO] [stdout] 279 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] 279 + fn as_any_mut(&mut self) -> &mut dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 280 - self as &mut dyn (::std::any::Any) [INFO] [stdout] 280 + self as &mut dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:282:59 [INFO] [stdout] | [INFO] [stdout] 282 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 282 - fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] 282 + fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:657:30 [INFO] [stdout] | [INFO] [stdout] 657 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 657 - fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] 657 + fn as_any(&self) -> &dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:658:22 [INFO] [stdout] | [INFO] [stdout] 658 | self as &dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - self as &dyn (::std::any::Any) [INFO] [stdout] 658 + self as &dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:660:42 [INFO] [stdout] | [INFO] [stdout] 660 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 660 - fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] 660 + fn as_any_mut(&mut self) -> &mut dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:661:26 [INFO] [stdout] | [INFO] [stdout] 661 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 661 - self as &mut dyn (::std::any::Any) [INFO] [stdout] 661 + self as &mut dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:663:59 [INFO] [stdout] | [INFO] [stdout] 663 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 663 - fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] 663 + fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:907:30 [INFO] [stdout] | [INFO] [stdout] 907 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 907 - fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] 907 + fn as_any(&self) -> &dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:908:22 [INFO] [stdout] | [INFO] [stdout] 908 | self as &dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 908 - self as &dyn (::std::any::Any) [INFO] [stdout] 908 + self as &dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:910:42 [INFO] [stdout] | [INFO] [stdout] 910 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 910 - fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] 910 + fn as_any_mut(&mut self) -> &mut dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:911:26 [INFO] [stdout] | [INFO] [stdout] 911 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 911 - self as &mut dyn (::std::any::Any) [INFO] [stdout] 911 + self as &mut dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:913:59 [INFO] [stdout] | [INFO] [stdout] 913 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 913 - fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] 913 + fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1462:30 [INFO] [stdout] | [INFO] [stdout] 1462 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1462 - fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] 1462 + fn as_any(&self) -> &dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1463:22 [INFO] [stdout] | [INFO] [stdout] 1463 | self as &dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1463 - self as &dyn (::std::any::Any) [INFO] [stdout] 1463 + self as &dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1465:42 [INFO] [stdout] | [INFO] [stdout] 1465 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1465 - fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] 1465 + fn as_any_mut(&mut self) -> &mut dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1466:26 [INFO] [stdout] | [INFO] [stdout] 1466 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1466 - self as &mut dyn (::std::any::Any) [INFO] [stdout] 1466 + self as &mut dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1468:59 [INFO] [stdout] | [INFO] [stdout] 1468 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1468 - fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] 1468 + fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1754:30 [INFO] [stdout] | [INFO] [stdout] 1754 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1754 - fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] 1754 + fn as_any(&self) -> &dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1755:22 [INFO] [stdout] | [INFO] [stdout] 1755 | self as &dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1755 - self as &dyn (::std::any::Any) [INFO] [stdout] 1755 + self as &dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1757:42 [INFO] [stdout] | [INFO] [stdout] 1757 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1757 - fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] 1757 + fn as_any_mut(&mut self) -> &mut dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1758:26 [INFO] [stdout] | [INFO] [stdout] 1758 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1758 - self as &mut dyn (::std::any::Any) [INFO] [stdout] 1758 + self as &mut dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1760:59 [INFO] [stdout] | [INFO] [stdout] 1760 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1760 - fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] 1760 + fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1969:30 [INFO] [stdout] | [INFO] [stdout] 1969 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1969 - fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] 1969 + fn as_any(&self) -> &dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1970:22 [INFO] [stdout] | [INFO] [stdout] 1970 | self as &dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1970 - self as &dyn (::std::any::Any) [INFO] [stdout] 1970 + self as &dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1972:42 [INFO] [stdout] | [INFO] [stdout] 1972 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1972 - fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] 1972 + fn as_any_mut(&mut self) -> &mut dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1973:26 [INFO] [stdout] | [INFO] [stdout] 1973 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1973 - self as &mut dyn (::std::any::Any) [INFO] [stdout] 1973 + self as &mut dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:1975:59 [INFO] [stdout] | [INFO] [stdout] 1975 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1975 - fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] 1975 + fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:2307:30 [INFO] [stdout] | [INFO] [stdout] 2307 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2307 - fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] 2307 + fn as_any(&self) -> &dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:2308:22 [INFO] [stdout] | [INFO] [stdout] 2308 | self as &dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2308 - self as &dyn (::std::any::Any) [INFO] [stdout] 2308 + self as &dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:2310:42 [INFO] [stdout] | [INFO] [stdout] 2310 | fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2310 - fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) { [INFO] [stdout] 2310 + fn as_any_mut(&mut self) -> &mut dyn ::std::any::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:2311:26 [INFO] [stdout] | [INFO] [stdout] 2311 | self as &mut dyn (::std::any::Any) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2311 - self as &mut dyn (::std::any::Any) [INFO] [stdout] 2311 + self as &mut dyn ::std::any::Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protos/eraftpb.rs:2313:59 [INFO] [stdout] | [INFO] [stdout] 2313 | fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2313 - fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] 2313 + fn into_any(self: Box) -> ::std::boxed::Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / quick_error! { [INFO] [stdout] 20 | | /// The base error type for raft [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / quick_error! { [INFO] [stdout] 20 | | /// The base error type for raft [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / quick_error! { [INFO] [stdout] 20 | | /// The base error type for raft [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / quick_error! { [INFO] [stdout] 20 | | /// The base error type for raft [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / quick_error! { [INFO] [stdout] 20 | | /// The base error type for raft [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / quick_error! { [INFO] [stdout] 20 | | /// The base error type for raft [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / quick_error! { [INFO] [stdout] 20 | | /// The base error type for raft [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum Error { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / quick_error! { [INFO] [stdout] 102 | | /// An error with the storage. [INFO] [stdout] 103 | | #[derive(Debug)] [INFO] [stdout] 104 | | pub enum StorageError { [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / quick_error! { [INFO] [stdout] 102 | | /// An error with the storage. [INFO] [stdout] 103 | | #[derive(Debug)] [INFO] [stdout] 104 | | pub enum StorageError { [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / quick_error! { [INFO] [stdout] 102 | | /// An error with the storage. [INFO] [stdout] 103 | | #[derive(Debug)] [INFO] [stdout] 104 | | pub enum StorageError { [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / quick_error! { [INFO] [stdout] 102 | | /// An error with the storage. [INFO] [stdout] 103 | | #[derive(Debug)] [INFO] [stdout] 104 | | pub enum StorageError { [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/raft.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Raft{ [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/storage.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut meta=snapshot.take_metadata(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/storage.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let term=meta.term; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` (lib) due to 2 previous errors; 60 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "914ee5796a21bd00bd317c0c256d18c5735c3bf0f2cff27d0331cf09aef3d10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914ee5796a21bd00bd317c0c256d18c5735c3bf0f2cff27d0331cf09aef3d10d", kill_on_drop: false }` [INFO] [stdout] 914ee5796a21bd00bd317c0c256d18c5735c3bf0f2cff27d0331cf09aef3d10d