[INFO] updating cached repository https://github.com/linpingchuan/raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4669f35010abd922ec7d955f10cdde4a36129b9e [INFO] testing linpingchuan/raft against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinpingchuan%2Fraft" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linpingchuan/raft on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dbe37257b14ed498d4991bb28d5db3bc512f40b69a288e89877d6fecd8ee481 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6dbe37257b14ed498d4991bb28d5db3bc512f40b69a288e89877d6fecd8ee481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dbe37257b14ed498d4991bb28d5db3bc512f40b69a288e89877d6fecd8ee481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dbe37257b14ed498d4991bb28d5db3bc512f40b69a288e89877d6fecd8ee481", kill_on_drop: false }` [INFO] [stdout] 6dbe37257b14ed498d4991bb28d5db3bc512f40b69a288e89877d6fecd8ee481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52451e67b3c173def53e766ff4b7cd2161775e98243916a4e6b34302703e2ca7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "52451e67b3c173def53e766ff4b7cd2161775e98243916a4e6b34302703e2ca7", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling slog-scope v4.2.0 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling slog-term v2.4.1 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [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 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] [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: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello`. [INFO] [stdout] error[E0392]: parameter `T` is never used [INFO] [stdout] --> src/raft.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Raft{ [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `std::marker::PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "52451e67b3c173def53e766ff4b7cd2161775e98243916a4e6b34302703e2ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52451e67b3c173def53e766ff4b7cd2161775e98243916a4e6b34302703e2ca7", kill_on_drop: false }` [INFO] [stdout] 52451e67b3c173def53e766ff4b7cd2161775e98243916a4e6b34302703e2ca7