[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 beta-2020-07-24 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-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linpingchuan/raft on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-13/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7927894703a6fbec27ac833add4d3239fef0f45c1c781f45f8a410fa9c9a11 [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" "8d7927894703a6fbec27ac833add4d3239fef0f45c1c781f45f8a410fa9c9a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7927894703a6fbec27ac833add4d3239fef0f45c1c781f45f8a410fa9c9a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7927894703a6fbec27ac833add4d3239fef0f45c1c781f45f8a410fa9c9a11", kill_on_drop: false }` [INFO] [stdout] 8d7927894703a6fbec27ac833add4d3239fef0f45c1c781f45f8a410fa9c9a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df98f97836bb916d3605744c1fbaada94975352ccf7189731f4f53e6f0a07bde [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" "df98f97836bb916d3605744c1fbaada94975352ccf7189731f4f53e6f0a07bde", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling fail v0.3.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling slog-scope v4.2.0 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling slog-term v2.4.1 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling protobuf-codegen v2.8.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "df98f97836bb916d3605744c1fbaada94975352ccf7189731f4f53e6f0a07bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df98f97836bb916d3605744c1fbaada94975352ccf7189731f4f53e6f0a07bde", kill_on_drop: false }` [INFO] [stdout] df98f97836bb916d3605744c1fbaada94975352ccf7189731f4f53e6f0a07bde