[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] checking linpingchuan/raft against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinpingchuan%2Fraft" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linpingchuan/raft on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam v0.7.2 [INFO] [stderr] Downloaded slog-stdlog v4.0.0 [INFO] [stderr] Downloaded fail v0.3.0 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded slog-scope v4.2.0 [INFO] [stderr] Downloaded slog-term v2.4.1 [INFO] [stderr] Downloaded protobuf-build v0.8.0 [INFO] [stderr] Downloaded raft-proto v0.6.0-alpha [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5791488dbf5e7c4772d3c8f00dce98c23c8424edaa83dcd8dfb6761c4fdbdd33 [INFO] running `Command { std: "docker" "start" "-a" "5791488dbf5e7c4772d3c8f00dce98c23c8424edaa83dcd8dfb6761c4fdbdd33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5791488dbf5e7c4772d3c8f00dce98c23c8424edaa83dcd8dfb6761c4fdbdd33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5791488dbf5e7c4772d3c8f00dce98c23c8424edaa83dcd8dfb6761c4fdbdd33", kill_on_drop: false }` [INFO] [stdout] 5791488dbf5e7c4772d3c8f00dce98c23c8424edaa83dcd8dfb6761c4fdbdd33 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a41e377b8c2cb62495bd6a1129b63bd5a3d2dd9b5eefb0b5789d0aea7eec35c [INFO] running `Command { std: "docker" "start" "-a" "3a41e377b8c2cb62495bd6a1129b63bd5a3d2dd9b5eefb0b5789d0aea7eec35c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking arc-swap v0.4.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking slog-scope v4.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling protobuf-codegen v2.8.1 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling protobuf-build v0.8.0 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking slog-async v2.3.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking slog-term v2.4.1 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking slog-stdlog v4.0.0 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking fail v0.3.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] Checking 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] 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: unused imports: `Entry`, `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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entry`, `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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/errors.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 152 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] 153 | use std::io; [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 82 | | } [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] 128 | | } [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] 128 | | } [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] 128 | | } [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] 128 | | } [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] 128 | | } [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] 128 | | } [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] 128 | | } [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] 128 | | } [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] 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: 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: 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)]` on by default [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)]` 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [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 3 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [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 test) due to 3 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3a41e377b8c2cb62495bd6a1129b63bd5a3d2dd9b5eefb0b5789d0aea7eec35c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a41e377b8c2cb62495bd6a1129b63bd5a3d2dd9b5eefb0b5789d0aea7eec35c", kill_on_drop: false }` [INFO] [stdout] 3a41e377b8c2cb62495bd6a1129b63bd5a3d2dd9b5eefb0b5789d0aea7eec35c [INFO] checking linpingchuan/raft against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinpingchuan%2Fraft" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linpingchuan/raft on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a356e2bd7b27c6a2f2e030dc1aeffa73f0ecb4c610a44ac5ca3ab469e1dff74 [INFO] running `Command { std: "docker" "start" "-a" "0a356e2bd7b27c6a2f2e030dc1aeffa73f0ecb4c610a44ac5ca3ab469e1dff74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a356e2bd7b27c6a2f2e030dc1aeffa73f0ecb4c610a44ac5ca3ab469e1dff74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a356e2bd7b27c6a2f2e030dc1aeffa73f0ecb4c610a44ac5ca3ab469e1dff74", kill_on_drop: false }` [INFO] [stdout] 0a356e2bd7b27c6a2f2e030dc1aeffa73f0ecb4c610a44ac5ca3ab469e1dff74 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 255541b9671969b1f08afada75b0486b10475d83236fd01dadd3ceac4972dfdc [INFO] running `Command { std: "docker" "start" "-a" "255541b9671969b1f08afada75b0486b10475d83236fd01dadd3ceac4972dfdc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "255541b9671969b1f08afada75b0486b10475d83236fd01dadd3ceac4972dfdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255541b9671969b1f08afada75b0486b10475d83236fd01dadd3ceac4972dfdc", kill_on_drop: false }` [INFO] [stdout] 255541b9671969b1f08afada75b0486b10475d83236fd01dadd3ceac4972dfdc