[INFO] fetching crate raft-engine 0.4.2... [INFO] testing raft-engine-0.4.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate raft-engine 0.4.2 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate raft-engine 0.4.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 rhai v1.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 993d77c3879ee5e5d354160adddb298f63284de31816b34a9ff983784b78df73 [INFO] running `Command { std: "docker" "start" "-a" "993d77c3879ee5e5d354160adddb298f63284de31816b34a9ff983784b78df73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "993d77c3879ee5e5d354160adddb298f63284de31816b34a9ff983784b78df73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993d77c3879ee5e5d354160adddb298f63284de31816b34a9ff983784b78df73", kill_on_drop: false }` [INFO] [stdout] 993d77c3879ee5e5d354160adddb298f63284de31816b34a9ff983784b78df73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3505395ee269a1ed2682a9c8365d93291e5a70e4a13c90a7457840d116d4b245 [INFO] running `Command { std: "docker" "start" "-a" "3505395ee269a1ed2682a9c8365d93291e5a70e4a13c90a7457840d116d4b245", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling thin-vec v0.2.13 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling fail v0.5.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling rhai_codegen v2.1.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling prometheus-static-metric v0.5.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling rhai v1.18.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling 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] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log_batch.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 375 | pub fn iter(&self) -> std::slice::Iter<'_, LogItem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log_batch.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn drain(&mut self) -> LogItemDrain { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 379 | pub fn drain(&mut self) -> LogItemDrain<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log_batch.rs:881:25 [INFO] [stdout] | [INFO] [stdout] 881 | pub(crate) fn drain(&mut self) -> LogItemDrain { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 881 | pub(crate) fn drain(&mut self) -> LogItemDrain<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "3505395ee269a1ed2682a9c8365d93291e5a70e4a13c90a7457840d116d4b245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3505395ee269a1ed2682a9c8365d93291e5a70e4a13c90a7457840d116d4b245", kill_on_drop: false }` [INFO] [stdout] 3505395ee269a1ed2682a9c8365d93291e5a70e4a13c90a7457840d116d4b245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a9ab8722c2532579967df90ff4ef6643bb3175a898d3f72d0173a5abc7db17ad [INFO] running `Command { std: "docker" "start" "-a" "a9ab8722c2532579967df90ff4ef6643bb3175a898d3f72d0173a5abc7db17ad", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling winnow v0.6.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ctor v0.2.8 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log_batch.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 375 | pub fn iter(&self) -> std::slice::Iter<'_, LogItem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log_batch.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn drain(&mut self) -> LogItemDrain { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 379 | pub fn drain(&mut self) -> LogItemDrain<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/log_batch.rs:881:25 [INFO] [stdout] | [INFO] [stdout] 881 | pub(crate) fn drain(&mut self) -> LogItemDrain { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 881 | pub(crate) fn drain(&mut self) -> LogItemDrain<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling raft-engine v0.4.2 (/opt/rustwide/workdir) [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] 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] 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] 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] 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" "a9ab8722c2532579967df90ff4ef6643bb3175a898d3f72d0173a5abc7db17ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ab8722c2532579967df90ff4ef6643bb3175a898d3f72d0173a5abc7db17ad", kill_on_drop: false }` [INFO] [stdout] a9ab8722c2532579967df90ff4ef6643bb3175a898d3f72d0173a5abc7db17ad