[INFO] fetching crate raft-engine 0.1.0... [INFO] testing raft-engine-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate raft-engine 0.1.0 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate raft-engine 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate raft-engine 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate raft-engine 0.1.0 [INFO] tweaked toml for crates.io crate raft-engine 0.1.0 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate crates.io crate raft-engine 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d24ea48505cf21c8ca608b7e43c3108bc3dc090c3e2f2c3a9da8b293e5ce34b [INFO] running `Command { std: "docker" "start" "-a" "7d24ea48505cf21c8ca608b7e43c3108bc3dc090c3e2f2c3a9da8b293e5ce34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d24ea48505cf21c8ca608b7e43c3108bc3dc090c3e2f2c3a9da8b293e5ce34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d24ea48505cf21c8ca608b7e43c3108bc3dc090c3e2f2c3a9da8b293e5ce34b", kill_on_drop: false }` [INFO] [stdout] 7d24ea48505cf21c8ca608b7e43c3108bc3dc090c3e2f2c3a9da8b293e5ce34b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba24517b07db9900c40aa583824b89ab8262cc96dabccd02a8284cf8bbd15e0 [INFO] running `Command { std: "docker" "start" "-a" "8ba24517b07db9900c40aa583824b89ab8262cc96dabccd02a8284cf8bbd15e0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling prometheus v0.13.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling fail v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling prometheus-static-metric v0.5.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling raft-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use protobuf::{parse_from_bytes, Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let e = parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | return Ok(Some(parse_from_bytes(&value)?)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.63s [INFO] running `Command { std: "docker" "inspect" "8ba24517b07db9900c40aa583824b89ab8262cc96dabccd02a8284cf8bbd15e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba24517b07db9900c40aa583824b89ab8262cc96dabccd02a8284cf8bbd15e0", kill_on_drop: false }` [INFO] [stdout] 8ba24517b07db9900c40aa583824b89ab8262cc96dabccd02a8284cf8bbd15e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18dfa1d508435b2e6d34e65828816b6b86451a1992aca71bc2880bc7be8e0e2c [INFO] running `Command { std: "docker" "start" "-a" "18dfa1d508435b2e6d34e65828816b6b86451a1992aca71bc2880bc7be8e0e2c", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rand_distr v0.4.2 [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use protobuf::{parse_from_bytes, Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let e = parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | return Ok(Some(parse_from_bytes(&value)?)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling raft-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kvproto` [INFO] [stdout] --> examples/append_compact_purge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kvproto::raft_serverpb::RaftLocalState; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kvproto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> examples/append_compact_purge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> examples/append_compact_purge.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | type Entry = Entry; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 13 | type Entry = Self::Entry; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> examples/append_compact_purge.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let mut entry = Entry::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RaftLocalState` in this scope [INFO] [stdout] --> examples/append_compact_purge.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let init_state = RaftLocalState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RaftLocalState` in this scope [INFO] [stdout] --> examples/append_compact_purge.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | .get_message::(region, b"last_index") [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RaftLocalState` in this scope [INFO] [stdout] --> examples/append_compact_purge.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | .get_message::(region, b"last_index") [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{float}` [INFO] [stdout] --> examples/append_compact_purge.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|x| x as u64); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: Float` found in the `num_traits` crate: [INFO] [stdout] - impl Float for f32; [INFO] [stdout] - impl Float for f64; [INFO] [stdout] note: required by a bound in `rand_distr::Normal::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_distr-0.4.2/src/normal.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | where F: Float, StandardNormal: Distribution [INFO] [stdout] | ^^^^^ required by this bound in `rand_distr::Normal::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{float}` [INFO] [stdout] --> examples/append_compact_purge.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|x| x as u64); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `StandardNormal: Distribution<{float}>` found in the `rand_distr` crate: [INFO] [stdout] - impl Distribution for StandardNormal; [INFO] [stdout] - impl Distribution for StandardNormal; [INFO] [stdout] note: required by a bound in `rand_distr::Normal::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_distr-0.4.2/src/normal.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | where F: Float, StandardNormal: Distribution [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `rand_distr::Normal::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{float}` [INFO] [stdout] --> examples/append_compact_purge.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|x| x as u64); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: Float` found in the `num_traits` crate: [INFO] [stdout] - impl Float for f32; [INFO] [stdout] - impl Float for f64; [INFO] [stdout] note: required by a bound in `rand_distr::Normal` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_distr-0.4.2/src/normal.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | where F: Float, StandardNormal: Distribution [INFO] [stdout] | ^^^^^ required by this bound in `rand_distr::Normal` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 35 | let mut rand_regions = Normal::::new(128.0, 96.0) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{float}` [INFO] [stdout] --> examples/append_compact_purge.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|x| x as u64); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `StandardNormal: Distribution<{float}>` found in the `rand_distr` crate: [INFO] [stdout] - impl Distribution for StandardNormal; [INFO] [stdout] - impl Distribution for StandardNormal; [INFO] [stdout] note: required by a bound in `rand_distr::Normal` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_distr-0.4.2/src/normal.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | where F: Float, StandardNormal: Distribution [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `rand_distr::Normal` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 35 | let mut rand_regions = Normal::::new(128.0, 96.0) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{float}` [INFO] [stdout] --> examples/append_compact_purge.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|x| x as u64); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: Float` found in the `num_traits` crate: [INFO] [stdout] - impl Float for f32; [INFO] [stdout] - impl Float for f64; [INFO] [stdout] note: required by a bound in `rand_distr::Normal` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_distr-0.4.2/src/normal.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | where F: Float, StandardNormal: Distribution [INFO] [stdout] | ^^^^^ required by this bound in `rand_distr::Normal` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 35 | let mut rand_regions = Normal::new(128.0, 96.0):: [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{float}` [INFO] [stdout] --> examples/append_compact_purge.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|x| x as u64); [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `StandardNormal: Distribution<{float}>` found in the `rand_distr` crate: [INFO] [stdout] - impl Distribution for StandardNormal; [INFO] [stdout] - impl Distribution for StandardNormal; [INFO] [stdout] note: required by a bound in `rand_distr::Normal` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand_distr-0.4.2/src/normal.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | where F: Float, StandardNormal: Distribution [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `rand_distr::Normal` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 35 | let mut rand_regions = Normal::new(128.0, 96.0):: [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-engine` due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kvproto` [INFO] [stdout] --> src/engine.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | use kvproto::raft_serverpb::RaftLocalState; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kvproto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/engine.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/file_pipe_log/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/log_batch.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/test_util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RaftLocalState` [INFO] [stdout] --> src/engine.rs:1113:27 [INFO] [stdout] | [INFO] [stdout] 1113 | let empty_state = RaftLocalState::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `RaftLocalState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:485:37 [INFO] [stdout] | [INFO] [stdout] 485 | batch.add_entries::(rid, &entries).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RaftLocalState` in this scope [INFO] [stdout] --> src/engine.rs:490:26 [INFO] [stdout] | [INFO] [stdout] 490 | &RaftLocalState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RaftLocalState` in this scope [INFO] [stdout] --> src/engine.rs:516:32 [INFO] [stdout] | [INFO] [stdout] 480 | impl RaftLogEngine { [INFO] [stdout] | - help: you might be missing a type parameter: `, RaftLocalState` [INFO] [stdout] ... [INFO] [stdout] 516 | self.get_message::(rid, b"last_index") [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:532:37 [INFO] [stdout] | [INFO] [stdout] 532 | self.fetch_entries_to::( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(&self.get_entry::(rid, e.index).unwrap().unwrap(), e); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:961:36 [INFO] [stdout] | [INFO] [stdout] 961 | assert!(engine.get_entry::(1, 101).unwrap().is_some()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/engine.rs:1107:27 [INFO] [stdout] | [INFO] [stdout] 1107 | let empty_entry = Entry::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:1110:28 [INFO] [stdout] | [INFO] [stdout] 1110 | .add_entries::(0, &[empty_entry.clone()]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:1120:28 [INFO] [stdout] | [INFO] [stdout] 1120 | .add_entries::(2, &[empty_entry.clone()]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:1129:32 [INFO] [stdout] | [INFO] [stdout] 1129 | engine.get_entry::(0, 0).unwrap().unwrap(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:1133:32 [INFO] [stdout] | [INFO] [stdout] 1133 | engine.get_entry::(2, 0).unwrap().unwrap(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RaftLocalState` in this scope [INFO] [stdout] --> src/engine.rs:1138:32 [INFO] [stdout] | [INFO] [stdout] 1093 | fn test_empty_protobuf_message() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1138 | .get_message::(1, b"key") [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RaftLocalState` in this scope [INFO] [stdout] --> src/engine.rs:1145:32 [INFO] [stdout] | [INFO] [stdout] 1093 | fn test_empty_protobuf_message() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1145 | .get_message::(2, b"key") [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:1233:28 [INFO] [stdout] | [INFO] [stdout] 1233 | .add_entries::(7, &generate_entries(1, 11, Some(&entry_data))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/engine.rs:1242:28 [INFO] [stdout] | [INFO] [stdout] 1242 | .add_entries::(8, &generate_entries(5, 15, Some(&entry_data))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 469 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 469 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/file_pipe_log/mod.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | .add_entries::(7, &generate_entries(1, 11, Some(&entry_data))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 172 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 172 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 172 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 172 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/file_pipe_log/mod.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | .add_entries::(8, &generate_entries(5, 15, Some(&entry_data))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 172 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 172 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 172 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 172 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1092:57 [INFO] [stdout] | [INFO] [stdout] 1092 | ... decode_entries_from_bytes::(entries, &entry_indexes.0, false); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1103:28 [INFO] [stdout] | [INFO] [stdout] 1103 | .add_entries::(7, &generate_entries(1, 11, Some(&entry_data))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1109:28 [INFO] [stdout] | [INFO] [stdout] 1109 | .add_entries::(7, &generate_entries(1, 11, Some(&entry_data))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1114:28 [INFO] [stdout] | [INFO] [stdout] 1114 | .add_entries::(17, &generate_entries(0, 1, None)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1117:28 [INFO] [stdout] | [INFO] [stdout] 1117 | .add_entries::(27, &generate_entries(1, 11, None)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1137:28 [INFO] [stdout] | [INFO] [stdout] 1137 | .add_entries::(region_id, entries.last().unwrap()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1151:28 [INFO] [stdout] | [INFO] [stdout] 1151 | .add_entries::(region_id, entries.last().unwrap()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/log_batch.rs:1189:53 [INFO] [stdout] | [INFO] [stdout] 1189 | decode_entries_from_bytes::(entry_bytes, &entry_indexes.0, false); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 845 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 845 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/test_util.rs:12:87 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn generate_entries(begin_index: u64, end_index: u64, data: Option<&[u8]>) -> Vec { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/test_util.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut v = vec![Entry::new(); (end_index - begin_index) as usize]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/lib.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | impl MessageExt for Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 160 | impl MessageExt for Self::Entry { [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 152 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 152 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 152 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 152 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entry` in this scope [INFO] [stdout] --> src/lib.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | type Entry = Entry; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 161 | type Entry = Self::Entry; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 152 | use hashbrown::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 152 | use nix::dir::Entry; [INFO] [stdout] | [INFO] [stdout] 152 | use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 152 | use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use protobuf::{parse_from_bytes, Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let e = parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | return Ok(Some(parse_from_bytes(&value)?)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/log_batch.rs:848:19 [INFO] [stdout] | [INFO] [stdout] 848 | use protobuf::parse_from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/log_batch.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `index` on type `&_` [INFO] [stdout] --> src/engine.rs:540:49 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq!(entries.first().unwrap().index, start); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-engine` due to 38 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18dfa1d508435b2e6d34e65828816b6b86451a1992aca71bc2880bc7be8e0e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18dfa1d508435b2e6d34e65828816b6b86451a1992aca71bc2880bc7be8e0e2c", kill_on_drop: false }` [INFO] [stdout] 18dfa1d508435b2e6d34e65828816b6b86451a1992aca71bc2880bc7be8e0e2c