[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [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 af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b61f30a0f7d7fdbc6d4b6af2ba5b4e52de525e738e92992606ecd7676d4aeffd [INFO] running `Command { std: "docker" "start" "-a" "b61f30a0f7d7fdbc6d4b6af2ba5b4e52de525e738e92992606ecd7676d4aeffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b61f30a0f7d7fdbc6d4b6af2ba5b4e52de525e738e92992606ecd7676d4aeffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b61f30a0f7d7fdbc6d4b6af2ba5b4e52de525e738e92992606ecd7676d4aeffd", kill_on_drop: false }` [INFO] [stdout] b61f30a0f7d7fdbc6d4b6af2ba5b4e52de525e738e92992606ecd7676d4aeffd [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3357503ca5bc482e1ef99f9781adc9521782e5998521cffd94b2bc0def61876e [INFO] running `Command { std: "docker" "start" "-a" "3357503ca5bc482e1ef99f9781adc9521782e5998521cffd94b2bc0def61876e", 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 crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [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] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking raft v0.4.3 [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`, `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`, `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`, `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`, `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.64s [INFO] running `Command { std: "docker" "inspect" "3357503ca5bc482e1ef99f9781adc9521782e5998521cffd94b2bc0def61876e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3357503ca5bc482e1ef99f9781adc9521782e5998521cffd94b2bc0def61876e", kill_on_drop: false }` [INFO] [stdout] 3357503ca5bc482e1ef99f9781adc9521782e5998521cffd94b2bc0def61876e [INFO] checking guoxiangCN/raft-test-demo against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FguoxiangCN%2Fraft-test-demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guoxiangCN/raft-test-demo on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd20be85b930c39ac87f1b2f1280991fcc95098d69115bbacee8e8772259d523 [INFO] running `Command { std: "docker" "start" "-a" "fd20be85b930c39ac87f1b2f1280991fcc95098d69115bbacee8e8772259d523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd20be85b930c39ac87f1b2f1280991fcc95098d69115bbacee8e8772259d523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd20be85b930c39ac87f1b2f1280991fcc95098d69115bbacee8e8772259d523", kill_on_drop: false }` [INFO] [stdout] fd20be85b930c39ac87f1b2f1280991fcc95098d69115bbacee8e8772259d523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b76ffc5bf19ddbc943c4ac68e151dbe5276b06aa6896bd9f47809fb4519c2d9 [INFO] running `Command { std: "docker" "start" "-a" "4b76ffc5bf19ddbc943c4ac68e151dbe5276b06aa6896bd9f47809fb4519c2d9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking quick-error v1.2.3 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/server.rs (5 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils` [INFO] [stdout] --> src/server.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | utils::assert_send::(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `utils` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 313 + use crate::utils; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KvServer` in this scope [INFO] [stdout] --> src/server.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 315 | utils::assert_send::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 313 + use crate::KvServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerConfig` in this scope [INFO] [stdout] --> src/server.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | let server_config = ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 313 + use crate::ServerConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KvServer` [INFO] [stdout] --> src/server.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | let (mut kvserver, router) = KvServer::new(server_config); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `KvServer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 313 + use crate::KvServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/server.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | std::thread::sleep(Duration::from_millis(500)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 313 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 313 + use crate::Duration; [INFO] [stdout] | [INFO] [stdout] 313 + use protobuf::well_known_types::Duration; [INFO] [stdout] | [INFO] [stdout] 313 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/server.rs:337:28 [INFO] [stdout] | [INFO] [stdout] 337 | std::thread::sleep(Duration::from_millis(500)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 313 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 313 + use crate::Duration; [INFO] [stdout] | [INFO] [stdout] 313 + use protobuf::well_known_types::Duration; [INFO] [stdout] | [INFO] [stdout] 313 + use std::time::Duration; [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] [stderr] error: could not compile `rafttest` (bin "rafttest" test) due to 7 previous errors; 4 warnings emitted [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] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4b76ffc5bf19ddbc943c4ac68e151dbe5276b06aa6896bd9f47809fb4519c2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b76ffc5bf19ddbc943c4ac68e151dbe5276b06aa6896bd9f47809fb4519c2d9", kill_on_drop: false }` [INFO] [stdout] 4b76ffc5bf19ddbc943c4ac68e151dbe5276b06aa6896bd9f47809fb4519c2d9