[INFO] fetching crate fleetfs_raft 0.6.0... [INFO] testing fleetfs_raft-0.6.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [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 c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded slog-scope v4.4.0 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded slog-stdlog v4.1.0 [INFO] [stderr] Downloaded slog-term v2.8.0 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded arc-swap v1.4.0 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded half v1.7.1 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded semver v1.0.4 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded bumpalo v3.7.1 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded protobuf v2.25.1 [INFO] [stderr] Downloaded syn v1.0.78 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded unicode-segmentation v1.8.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded protobuf-codegen v2.25.1 [INFO] [stderr] Downloaded prost v0.7.0 [INFO] [stderr] Downloaded prost-types v0.7.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded raft-proto v0.6.0 [INFO] [stderr] Downloaded datadriven v0.1.0 [INFO] [stderr] Downloaded prost-derive v0.7.0 [INFO] [stderr] Downloaded slog-async v2.7.0 [INFO] [stderr] Downloaded fail v0.4.0 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] [stderr] Downloaded getset v0.1.1 [INFO] [stderr] Downloaded which v4.2.2 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded prost-build v0.7.0 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] [stderr] Downloaded gimli v0.25.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52864aebca0a5f3049fd3bce18f39619e05b353797f398ea960b769a060d1abb [INFO] running `Command { std: "docker" "start" "-a" "52864aebca0a5f3049fd3bce18f39619e05b353797f398ea960b769a060d1abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52864aebca0a5f3049fd3bce18f39619e05b353797f398ea960b769a060d1abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52864aebca0a5f3049fd3bce18f39619e05b353797f398ea960b769a060d1abb", kill_on_drop: false }` [INFO] [stdout] 52864aebca0a5f3049fd3bce18f39619e05b353797f398ea960b769a060d1abb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 914ae5c043868b222afc09fe064c5d922cd98b7c6a7e3e49a84ea905f61fb714 [INFO] running `Command { std: "docker" "start" "-a" "914ae5c043868b222afc09fe064c5d922cd98b7c6a7e3e49a84ea905f61fb714", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling protobuf v2.25.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling arc-swap v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling slog-stdlog v4.1.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling slog-term v2.8.0 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling protobuf-codegen v2.25.1 [INFO] [stderr] Compiling protobuf-build v0.12.3 [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 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: 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: 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 13.87s [INFO] running `Command { std: "docker" "inspect" "914ae5c043868b222afc09fe064c5d922cd98b7c6a7e3e49a84ea905f61fb714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914ae5c043868b222afc09fe064c5d922cd98b7c6a7e3e49a84ea905f61fb714", kill_on_drop: false }` [INFO] [stdout] 914ae5c043868b222afc09fe064c5d922cd98b7c6a7e3e49a84ea905f61fb714 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac4e5b0e5f8df36b16985c28deba4f576c87974203bba4c8045e9afeae66dcb8 [INFO] running `Command { std: "docker" "start" "-a" "ac4e5b0e5f8df36b16985c28deba4f576c87974203bba4c8045e9afeae66dcb8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling protobuf-build v0.12.3 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling raft-proto v0.6.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [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: 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-plot v0.4.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 addr2line v0.16.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling datadriven v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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: 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/confchange/datadriven_test.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | walk("src/confchange/testdata", |path| -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | path.to_str().unwrap(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | walk("src/confchange/testdata", |path: /* Type */| -> anyhow::Result<()> { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/confchange/datadriven_test.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | ... auto_leave = val [INFO] [stdout] | ^^^ cannot infer type [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] error[E0282]: type annotations needed [INFO] [stdout] --> src/quorum/datadriven_test.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | let n: u64 = val.parse().expect("type of n should be u64"); [INFO] [stdout] | ^^^ cannot infer type [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fleetfs_raft` (lib test) due to 6 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac4e5b0e5f8df36b16985c28deba4f576c87974203bba4c8045e9afeae66dcb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4e5b0e5f8df36b16985c28deba4f576c87974203bba4c8045e9afeae66dcb8", kill_on_drop: false }` [INFO] [stdout] ac4e5b0e5f8df36b16985c28deba4f576c87974203bba4c8045e9afeae66dcb8