[INFO] fetching crate fleetfs_raft 0.6.0... [INFO] testing fleetfs_raft-0.6.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate fleetfs_raft 0.6.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate fleetfs_raft 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fleetfs_raft 0.6.0 [INFO] tweaked toml for crates.io crate fleetfs_raft 0.6.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fleetfs_raft 0.6.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fleetfs_raft 0.6.0 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded slog-async v2.7.0 [INFO] [stderr] Downloaded slog-stdlog v4.1.0 [INFO] [stderr] Downloaded getset v0.1.1 [INFO] [stderr] Downloaded raft-proto v0.6.0 [INFO] [stderr] Downloaded datadriven v0.1.0 [INFO] [stderr] Downloaded synstructure v0.12.5 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded slog-term v2.8.0 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded protobuf-codegen v2.25.1 [INFO] [stderr] Downloaded arc-swap v1.4.0 [INFO] [stderr] Downloaded protobuf v2.25.1 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded syn v1.0.78 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded protobuf-build v0.12.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aa05332dc6e45e63305a820b5522abbdf32622f2e58f3ac42e18f6d8479aefb [INFO] running `Command { std: "docker" "start" "-a" "4aa05332dc6e45e63305a820b5522abbdf32622f2e58f3ac42e18f6d8479aefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa05332dc6e45e63305a820b5522abbdf32622f2e58f3ac42e18f6d8479aefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa05332dc6e45e63305a820b5522abbdf32622f2e58f3ac42e18f6d8479aefb", kill_on_drop: false }` [INFO] [stdout] 4aa05332dc6e45e63305a820b5522abbdf32622f2e58f3ac42e18f6d8479aefb [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb053b0141d6249482c63727d59c1957bc3fe68c99a09caa5137938774bef35d [INFO] running `Command { std: "docker" "start" "-a" "bb053b0141d6249482c63727d59c1957bc3fe68c99a09caa5137938774bef35d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling protobuf v2.25.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling arc-swap v1.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling slog-term v2.8.0 [INFO] [stderr] Compiling slog-stdlog v4.1.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling protobuf-codegen v2.25.1 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling protobuf-build v0.12.3 [INFO] [stderr] Compiling raft-proto v0.6.0 [INFO] [stderr] Compiling fleetfs_raft v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | #![cfg_attr(not(feature = "cargo-clippy"), allow(unknown_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadState` [INFO] [stdout] --> src/config.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub use super::read_only::{ReadOnlyOption, ReadState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/raft.rs:880:16 [INFO] [stdout] | [INFO] [stdout] 880 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/raw_node.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 377 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft.rs:964:19 [INFO] [stdout] | [INFO] [stdout] 964 | for (&id, mut pr) in self.mut_prs().iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssertSend` is never used [INFO] [stdout] --> src/raft.rs:292:7 [INFO] [stdout] | [INFO] [stdout] 292 | trait AssertSend: Send {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `logger` is never read [INFO] [stdout] --> src/tracker.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct ProgressTracker { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 208 | pub(crate) logger: Logger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgressTracker` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | LOGGER.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/confchange/changer.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(tracker: &ProgressTracker) -> Changer { [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] 46 | pub fn new(tracker: &ProgressTracker) -> Changer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/confchange/changer.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | fn check_and_copy(&self) -> Result<(Configuration, IncrChangeMap)> { [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] 272 | fn check_and_copy(&self) -> Result<(Configuration, IncrChangeMap<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw_node.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn status(&self) -> Status { [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] 687 | pub fn status(&self) -> Status<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.69s [INFO] running `Command { std: "docker" "inspect" "bb053b0141d6249482c63727d59c1957bc3fe68c99a09caa5137938774bef35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb053b0141d6249482c63727d59c1957bc3fe68c99a09caa5137938774bef35d", kill_on_drop: false }` [INFO] [stdout] bb053b0141d6249482c63727d59c1957bc3fe68c99a09caa5137938774bef35d [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a69c937e496ac8124924ac9f7a7c27f56207fac773069742ae22adb8ae53f746 [INFO] running `Command { std: "docker" "start" "-a" "a69c937e496ac8124924ac9f7a7c27f56207fac773069742ae22adb8ae53f746", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling protobuf-build v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling raft-proto v0.6.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling fleetfs_raft v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | #![cfg_attr(not(feature = "cargo-clippy"), allow(unknown_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadState` [INFO] [stdout] --> src/config.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub use super::read_only::{ReadOnlyOption, ReadState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/raft.rs:880:16 [INFO] [stdout] | [INFO] [stdout] 880 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/raw_node.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 377 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling datadriven v0.1.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft.rs:964:19 [INFO] [stdout] | [INFO] [stdout] 964 | for (&id, mut pr) in self.mut_prs().iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssertSend` is never used [INFO] [stdout] --> src/raft.rs:292:7 [INFO] [stdout] | [INFO] [stdout] 292 | trait AssertSend: Send {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `logger` is never read [INFO] [stdout] --> src/tracker.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct ProgressTracker { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 208 | pub(crate) logger: Logger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgressTracker` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | LOGGER.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/confchange/changer.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(tracker: &ProgressTracker) -> Changer { [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] 46 | pub fn new(tracker: &ProgressTracker) -> Changer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/confchange/changer.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | fn check_and_copy(&self) -> Result<(Configuration, IncrChangeMap)> { [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] 272 | fn check_and_copy(&self) -> Result<(Configuration, IncrChangeMap<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw_node.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn status(&self) -> Status { [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] 687 | pub fn status(&self) -> Status<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stdout] error[E0432]: unresolved import `datadriven::run_test` [INFO] [stdout] --> src/confchange/datadriven_test.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use datadriven::{run_test, walk}; [INFO] [stdout] | ^^^^^^^^ no `run_test` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `datadriven::run_test`, `datadriven::TestData` [INFO] [stdout] --> src/quorum/datadriven_test.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use datadriven::{run_test, TestData}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ no `TestData` in the root [INFO] [stdout] | | [INFO] [stdout] | no `run_test` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | #![cfg_attr(not(feature = "cargo-clippy"), allow(unknown_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadState` [INFO] [stdout] --> src/config.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub use super::read_only::{ReadOnlyOption, ReadState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/errors.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/raft.rs:880:16 [INFO] [stdout] | [INFO] [stdout] 880 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/raw_node.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 377 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bytes`, `default`, `default-logger`, `fail`, `failpoints`, `prost-codec`, `protobuf-codec`, `slog-envlogger`, `slog-stdlog`, and `slog-term` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/confchange/datadriven_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_conf_change_data_driven() -> anyhow::Result<()> { [INFO] [stdout] | ------------------ expected `std::result::Result<(), anyhow::Error>` because of return type [INFO] [stdout] 8 | / walk("src/confchange/testdata", |path| -> anyhow::Result<()> { [INFO] [stdout] 9 | | let logger = default_logger(); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | let mut tr = ProgressTracker::new(10, default_logger()); [INFO] [stdout] ... | [INFO] [stdout] 81 | | }) [INFO] [stdout] | |______^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), anyhow::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 81 ~ }); [INFO] [stdout] 82 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft.rs:964:19 [INFO] [stdout] | [INFO] [stdout] 964 | for (&id, mut pr) in self.mut_prs().iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fleetfs_raft` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a69c937e496ac8124924ac9f7a7c27f56207fac773069742ae22adb8ae53f746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a69c937e496ac8124924ac9f7a7c27f56207fac773069742ae22adb8ae53f746", kill_on_drop: false }` [INFO] [stdout] a69c937e496ac8124924ac9f7a7c27f56207fac773069742ae22adb8ae53f746