[INFO] cloning repository https://github.com/guoxiangCN/raft-test-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guoxiangCN/raft-test-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoxiangCN%2Fraft-test-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoxiangCN%2Fraft-test-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9867354550c9ba92deeb859a8d6b4a5beaf986fa [INFO] checking guoxiangCN/raft-test-demo against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoxiangCN%2Fraft-test-demo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guoxiangCN/raft-test-demo on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guoxiangCN/raft-test-demo [INFO] finished tweaking git repo https://github.com/guoxiangCN/raft-test-demo [INFO] tweaked toml for git repo https://github.com/guoxiangCN/raft-test-demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/guoxiangCN/raft-test-demo 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raft v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2fb667983f7a8b617a5f61c26fd7a6a3b17085156cf3abcb5ecd9cd612a3a70 [INFO] running `Command { std: "docker" "start" "-a" "b2fb667983f7a8b617a5f61c26fd7a6a3b17085156cf3abcb5ecd9cd612a3a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2fb667983f7a8b617a5f61c26fd7a6a3b17085156cf3abcb5ecd9cd612a3a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2fb667983f7a8b617a5f61c26fd7a6a3b17085156cf3abcb5ecd9cd612a3a70", kill_on_drop: false }` [INFO] [stdout] b2fb667983f7a8b617a5f61c26fd7a6a3b17085156cf3abcb5ecd9cd612a3a70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 219db2c78ae5e7b77a5f53900da8b6aadc3ecdd120b18e56bf2fc7a987a0d45e [INFO] running `Command { std: "docker" "start" "-a" "219db2c78ae5e7b77a5f53900da8b6aadc3ecdd120b18e56bf2fc7a987a0d45e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking raft v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking rafttest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `raft::prelude::Message` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use raft::prelude::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageType`, `RaftState`, and `Raft` [INFO] [stdout] --> src/server.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::{ConfChange, EntryType, HardState, Message, MessageType}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | storage::MemStorage, [INFO] [stdout] 12 | Config, Peer, Raft, RaftState, RawNode, StateRole, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `time::Duration`, and `vec` [INFO] [stdout] --> src/server.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | use std::{collections::HashMap, time::Duration, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raft::prelude::Message` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use raft::prelude::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/server.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KvServer` and `ServerConfig` [INFO] [stdout] --> src/server.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | use super::{KvServer, ServerConfig}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageType`, `RaftState`, and `Raft` [INFO] [stdout] --> src/server.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | prelude::{ConfChange, EntryType, HardState, Message, MessageType}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | storage::MemStorage, [INFO] [stdout] 12 | Config, Peer, Raft, RaftState, RawNode, StateRole, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/server.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | use std::{collections::HashMap, time::Duration, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low` [INFO] [stdout] --> src/store.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | low: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_low` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high` [INFO] [stdout] --> src/store.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | high: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/store.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | max_size: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/store.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn term(&self, idx: u64) -> raft::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low` [INFO] [stdout] --> src/store.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | low: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_low` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high` [INFO] [stdout] --> src/store.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | high: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/store.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | max_size: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/store.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn term(&self, idx: u64) -> raft::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "219db2c78ae5e7b77a5f53900da8b6aadc3ecdd120b18e56bf2fc7a987a0d45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219db2c78ae5e7b77a5f53900da8b6aadc3ecdd120b18e56bf2fc7a987a0d45e", kill_on_drop: false }` [INFO] [stdout] 219db2c78ae5e7b77a5f53900da8b6aadc3ecdd120b18e56bf2fc7a987a0d45e