[INFO] cloning repository https://github.com/skyitachi/raft-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skyitachi/raft-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyitachi%2Fraft-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyitachi%2Fraft-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e80a2161159c012bc70a842eeddc6f0790c3ae5 [INFO] checking skyitachi/raft-example against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyitachi%2Fraft-example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/skyitachi/raft-example on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/skyitachi/raft-example [INFO] finished tweaking git repo https://github.com/skyitachi/raft-example [INFO] tweaked toml for git repo https://github.com/skyitachi/raft-example written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/skyitachi/raft-example 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-term v2.5.0 [INFO] [stderr] Downloaded raft-proto v0.6.0-alpha [INFO] [stderr] Downloaded slog-async v2.4.0 [INFO] [stderr] Downloaded arc-swap v0.4.4 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] [stderr] Downloaded hashbrown v0.5.0 [INFO] [stderr] Downloaded protobuf v2.0.6 [INFO] [stderr] Downloaded protobuf-build v0.8.0 [INFO] [stderr] Downloaded raft v0.6.0-alpha [INFO] [stderr] Downloaded protobuf-codegen v2.0.6 [INFO] [stderr] Downloaded slog-stdlog v3.0.5 [INFO] [stderr] Downloaded slog-stdlog v4.0.0 [INFO] [stderr] Downloaded getset v0.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a84088e47f8ece36fdfc555e9d446a2cf6fd77697ac438b9cfaca06841bbadc [INFO] running `Command { std: "docker" "start" "-a" "7a84088e47f8ece36fdfc555e9d446a2cf6fd77697ac438b9cfaca06841bbadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a84088e47f8ece36fdfc555e9d446a2cf6fd77697ac438b9cfaca06841bbadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a84088e47f8ece36fdfc555e9d446a2cf6fd77697ac438b9cfaca06841bbadc", kill_on_drop: false }` [INFO] [stdout] 7a84088e47f8ece36fdfc555e9d446a2cf6fd77697ac438b9cfaca06841bbadc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9895bdb6fa03f5970cf8dac3bb8ddad1819b9538dedb7c0f9c2a32a18e3849b0 [INFO] running `Command { std: "docker" "start" "-a" "9895bdb6fa03f5970cf8dac3bb8ddad1819b9538dedb7c0f9c2a32a18e3849b0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling protobuf v2.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking slog-async v2.4.0 [INFO] [stderr] Checking slog-stdlog v3.0.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking slog-stdlog v4.0.0 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking slog-term v2.5.0 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Compiling protobuf-codegen v2.0.6 [INFO] [stderr] Compiling protobuf-build v0.8.0 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha [INFO] [stderr] Checking raft v0.6.0-alpha [INFO] [stderr] Checking raft-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ConfState` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use raft::eraftpb::ConfState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use raft::storage::MemStorage; [INFO] [stdout] 16 | use raft::{prelude::*, StateRole }; [INFO] [stdout] | ---------- the item `ConfState` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConfState` is imported redundantly [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use raft::eraftpb::ConfState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use raft::storage::MemStorage; [INFO] [stdout] 16 | use raft::{prelude::*, StateRole }; [INFO] [stdout] | ---------- the item `ConfState` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv_pairs` [INFO] [stdout] --> src/main.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | kv_pairs: &mut HashMap, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_pairs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv_pairs` [INFO] [stdout] --> src/main.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | kv_pairs: &mut HashMap, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_pairs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/main.rs:339:65 [INFO] [stdout] | [INFO] [stdout] 339 | fn check_signals(receiver: &Arc>>, logger: &slog::Logger) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/main.rs:339:65 [INFO] [stdout] | [INFO] [stdout] 339 | fn check_signals(receiver: &Arc>>, logger: &slog::Logger) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transfer_leader` is never read [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 201 | struct Proposal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 204 | transfer_leader: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `normal` is never used [INFO] [stdout] --> src/main.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 209 | impl Proposal { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn normal(key: u16, value: String) -> (Self, Receiver) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transfer_leader` is never read [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 201 | struct Proposal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 204 | transfer_leader: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `normal` is never used [INFO] [stdout] --> src/main.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 209 | impl Proposal { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn normal(key: u16, value: String) -> (Self, Receiver) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "9895bdb6fa03f5970cf8dac3bb8ddad1819b9538dedb7c0f9c2a32a18e3849b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9895bdb6fa03f5970cf8dac3bb8ddad1819b9538dedb7c0f9c2a32a18e3849b0", kill_on_drop: false }` [INFO] [stdout] 9895bdb6fa03f5970cf8dac3bb8ddad1819b9538dedb7c0f9c2a32a18e3849b0