[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#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoxiangCN%2Fraft-test-demo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guoxiangCN/raft-test-demo on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-7-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31619095ace0a1ba0b73fbbd5f99cda6896decc63e36dc62251b543ad3b6b1d4 [INFO] running `Command { std: "docker" "start" "-a" "31619095ace0a1ba0b73fbbd5f99cda6896decc63e36dc62251b543ad3b6b1d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31619095ace0a1ba0b73fbbd5f99cda6896decc63e36dc62251b543ad3b6b1d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31619095ace0a1ba0b73fbbd5f99cda6896decc63e36dc62251b543ad3b6b1d4", kill_on_drop: false }` [INFO] [stdout] 31619095ace0a1ba0b73fbbd5f99cda6896decc63e36dc62251b543ad3b6b1d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81c1ac6f67c82e20d4d244b98365edafefe6d5513e2bf66da5b3eda85cb98d85 [INFO] running `Command { std: "docker" "start" "-a" "81c1ac6f67c82e20d4d244b98365edafefe6d5513e2bf66da5b3eda85cb98d85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling syn v2.0.37 [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: `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: `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 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: 10 warnings emitted [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "81c1ac6f67c82e20d4d244b98365edafefe6d5513e2bf66da5b3eda85cb98d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c1ac6f67c82e20d4d244b98365edafefe6d5513e2bf66da5b3eda85cb98d85", kill_on_drop: false }` [INFO] [stdout] 81c1ac6f67c82e20d4d244b98365edafefe6d5513e2bf66da5b3eda85cb98d85