[INFO] cloning repository https://github.com/besrabasant/new-tsdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/besrabasant/new-tsdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesrabasant%2Fnew-tsdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesrabasant%2Fnew-tsdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 876aa231771b49edf2c7f57c99ad81f164b09c08 [INFO] testing besrabasant/new-tsdb against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesrabasant%2Fnew-tsdb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/besrabasant/new-tsdb [INFO] finished tweaking git repo https://github.com/besrabasant/new-tsdb [INFO] tweaked toml for git repo https://github.com/besrabasant/new-tsdb written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/besrabasant/new-tsdb on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/besrabasant/new-tsdb 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad94c2a184be0cd6d4fd9b8c272bf28e718592be2be08bb02d5ff3b2ca0832ae [INFO] running `Command { std: "docker" "start" "-a" "ad94c2a184be0cd6d4fd9b8c272bf28e718592be2be08bb02d5ff3b2ca0832ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad94c2a184be0cd6d4fd9b8c272bf28e718592be2be08bb02d5ff3b2ca0832ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad94c2a184be0cd6d4fd9b8c272bf28e718592be2be08bb02d5ff3b2ca0832ae", kill_on_drop: false }` [INFO] [stdout] ad94c2a184be0cd6d4fd9b8c272bf28e718592be2be08bb02d5ff3b2ca0832ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 427c383e1dc879d7675476f628bc6427ca627903261a9dd6bfdd56f6b8c4ef75 [INFO] running `Command { std: "docker" "start" "-a" "427c383e1dc879d7675476f628bc6427ca627903261a9dd6bfdd56f6b8c4ef75", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling slog-stdlog v4.1.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling slog-term v2.9.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling yaml-rust2 v0.10.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling swim-rs v0.1.1 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling protobuf-build v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling swim-util v0.3.0 [INFO] [stderr] Compiling tsdb-configdoc-derive v0.1.0 (/opt/rustwide/workdir/tsdb-configdoc-derive) [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling snafu v0.8.6 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling raft-proto v0.7.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling raft v0.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling influxdb-line-protocol v2.0.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling walcraft v0.2.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling routerify v3.0.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling swim-core v0.3.0 [INFO] [stderr] Compiling swim v0.3.0 [INFO] [stderr] Compiling new-tsdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bincode::Serializer` [INFO] [stdout] --> src/wal.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bincode::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter` and `fmt` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/replicator.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/replicator.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 96 | Event::NodeJoined(info) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 105 | Event::NodeRecovered(info) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | Event::NodeSuspected(info) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 119 | Event::NodeDeceased(info) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/replicator.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let mut w = wal.lock().await; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut w = state.wal.lock().await; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `len`, and `truncate` are never used [INFO] [stdout] --> src/wal.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl WAL { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn truncate(&self, _upto_seq: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "427c383e1dc879d7675476f628bc6427ca627903261a9dd6bfdd56f6b8c4ef75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427c383e1dc879d7675476f628bc6427ca627903261a9dd6bfdd56f6b8c4ef75", kill_on_drop: false }` [INFO] [stdout] 427c383e1dc879d7675476f628bc6427ca627903261a9dd6bfdd56f6b8c4ef75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87fe57666d2e8910b2b6cbd34ee5ccfdb8ccd09e7cc3b5b44425eb8a713957cf [INFO] running `Command { std: "docker" "start" "-a" "87fe57666d2e8910b2b6cbd34ee5ccfdb8ccd09e7cc3b5b44425eb8a713957cf", kill_on_drop: false }` [INFO] [stderr] Compiling new-tsdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bincode::Serializer` [INFO] [stdout] --> src/wal.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bincode::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter` and `fmt` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/replicator.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/replicator.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 96 | Event::NodeJoined(info) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 105 | Event::NodeRecovered(info) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | Event::NodeSuspected(info) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 119 | Event::NodeDeceased(info) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/replicator.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let mut w = wal.lock().await; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let mut w = state.wal.lock().await; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `len`, and `truncate` are never used [INFO] [stdout] --> src/wal.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl WAL { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn truncate(&self, _upto_seq: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "87fe57666d2e8910b2b6cbd34ee5ccfdb8ccd09e7cc3b5b44425eb8a713957cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87fe57666d2e8910b2b6cbd34ee5ccfdb8ccd09e7cc3b5b44425eb8a713957cf", kill_on_drop: false }` [INFO] [stdout] 87fe57666d2e8910b2b6cbd34ee5ccfdb8ccd09e7cc3b5b44425eb8a713957cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a14500727cace88f6a7c092e2262be93d5d5db05ddf2d553102878e7e58fc922 [INFO] running `Command { std: "docker" "start" "-a" "a14500727cace88f6a7c092e2262be93d5d5db05ddf2d553102878e7e58fc922", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `bincode::Serializer` [INFO] [stderr] --> src/wal.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use bincode::Serializer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EnvFilter` and `fmt` [INFO] [stderr] --> src/main.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stderr] | ^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/replicator.rs:124:25 [INFO] [stderr] | [INFO] [stderr] 124 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/replicator.rs:124:25 [INFO] [stderr] | [INFO] [stderr] 96 | Event::NodeJoined(info) => { [INFO] [stderr] | ----------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 105 | Event::NodeRecovered(info) => { [INFO] [stderr] | -------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 114 | Event::NodeSuspected(info) => { [INFO] [stderr] | -------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 119 | Event::NodeDeceased(info) => { [INFO] [stderr] | ------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 124 | _ => {} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/replicator.rs:158:29 [INFO] [stderr] | [INFO] [stderr] 158 | let mut w = wal.lock().await; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:78:25 [INFO] [stderr] | [INFO] [stderr] 78 | let mut w = state.wal.lock().await; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: methods `is_empty`, `len`, and `truncate` are never used [INFO] [stderr] --> src/wal.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl WAL { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub fn truncate(&self, _upto_seq: u64) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `new-tsdb` (bin "new-tsdb" test) generated 6 warnings (run `cargo fix --bin "new-tsdb" -p new-tsdb --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/new_tsdb-9824751ac7801c14) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/new_tsdb-7d5474582f436fd9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests new_tsdb [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a14500727cace88f6a7c092e2262be93d5d5db05ddf2d553102878e7e58fc922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a14500727cace88f6a7c092e2262be93d5d5db05ddf2d553102878e7e58fc922", kill_on_drop: false }` [INFO] [stdout] a14500727cace88f6a7c092e2262be93d5d5db05ddf2d553102878e7e58fc922