[INFO] fetching crate raft-engine 0.4.2... [INFO] checking raft-engine-0.4.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate raft-engine 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate raft-engine 0.4.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate raft-engine 0.4.2 [INFO] tweaked toml for crates.io crate raft-engine 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate raft-engine 0.4.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate raft-engine 0.4.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rhai_codegen v2.1.0 [INFO] [stderr] Downloaded prometheus-static-metric v0.5.1 [INFO] [stderr] Downloaded thin-vec v0.2.13 [INFO] [stderr] Downloaded toml_edit v0.22.12 [INFO] [stderr] Downloaded rhai v1.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a32f2010a8a2d7ed6adab36c7711c312732fa7429b1004948a9972aa6aecbfa7 [INFO] running `Command { std: "docker" "start" "-a" "a32f2010a8a2d7ed6adab36c7711c312732fa7429b1004948a9972aa6aecbfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a32f2010a8a2d7ed6adab36c7711c312732fa7429b1004948a9972aa6aecbfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a32f2010a8a2d7ed6adab36c7711c312732fa7429b1004948a9972aa6aecbfa7", kill_on_drop: false }` [INFO] [stdout] a32f2010a8a2d7ed6adab36c7711c312732fa7429b1004948a9972aa6aecbfa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 552c840ccfefd63a9a557c6b73f1fc2498a11504d2cdbe5289f4188c57b3e784 [INFO] running `Command { std: "docker" "start" "-a" "552c840ccfefd63a9a557c6b73f1fc2498a11504d2cdbe5289f4188c57b3e784", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking fail v0.5.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling rhai_codegen v2.1.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking rhai v1.18.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling prometheus-static-metric v0.5.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking raft-engine v0.4.2 (/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:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | 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:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | 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:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | 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/engine.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | if let Ok(v) = parse_from_bytes(raw_v) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kvproto` [INFO] [stdout] --> src/engine.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | use kvproto::raft_serverpb::RaftLocalState; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kvproto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kvproto`, use `cargo add kvproto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raft` [INFO] [stdout] --> src/engine.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `raft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raft`, use `cargo add raft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raft` [INFO] [stdout] --> src/file_pipe_log/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `raft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raft`, use `cargo add raft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raft` [INFO] [stdout] --> src/log_batch.rs:1116:9 [INFO] [stdout] | [INFO] [stdout] 1116 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `raft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raft`, use `cargo add raft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raft` [INFO] [stdout] --> src/test_util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `raft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raft`, use `cargo add raft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raft` [INFO] [stdout] --> src/lib.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `raft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raft`, use `cargo add raft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/lib.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `failpoints`, `internals`, `memmap2`, `nightly`, `nightly_group`, `rhai`, `scripting`, `std_fs`, and `swap` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [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:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | 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:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | 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:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | 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/engine.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | if let Ok(v) = parse_from_bytes(raw_v) { [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:1115:19 [INFO] [stdout] | [INFO] [stdout] 1115 | 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:1130:17 [INFO] [stdout] | [INFO] [stdout] 1130 | parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/test_util.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | prev_hook: *mut (dyn Fn(&panic::PanicInfo<'_>) + Sync + Send + 'static), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/log_batch.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 375 | pub fn iter(&self) -> std::slice::Iter<'_, LogItem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/log_batch.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn drain(&mut self) -> LogItemDrain { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 379 | pub fn drain(&mut self) -> LogItemDrain<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/log_batch.rs:881:25 [INFO] [stdout] | [INFO] [stdout] 881 | pub(crate) fn drain(&mut self) -> LogItemDrain { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 881 | pub(crate) fn drain(&mut self) -> LogItemDrain<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kvproto` [INFO] [stdout] --> examples/append_compact_purge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kvproto::raft_serverpb::RaftLocalState; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kvproto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kvproto`, use `cargo add kvproto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `raft` [INFO] [stdout] --> examples/append_compact_purge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `raft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `raft`, use `cargo add raft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-engine` (example "append-compact-purge") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-engine` (lib test) due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "552c840ccfefd63a9a557c6b73f1fc2498a11504d2cdbe5289f4188c57b3e784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552c840ccfefd63a9a557c6b73f1fc2498a11504d2cdbe5289f4188c57b3e784", kill_on_drop: false }` [INFO] [stdout] 552c840ccfefd63a9a557c6b73f1fc2498a11504d2cdbe5289f4188c57b3e784