[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesrabasant%2Fnew-tsdb" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/besrabasant/new-tsdb on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded swim-util v0.3.0 [INFO] [stderr] Downloaded swim-core v0.3.0 [INFO] [stderr] Downloaded swim v0.3.0 [INFO] [stderr] Downloaded slog-term v2.9.1 [INFO] [stderr] Downloaded walcraft v0.2.0 [INFO] [stderr] Downloaded swim-rs v0.1.1 [INFO] [stderr] Downloaded raft-proto v0.7.0 [INFO] [stderr] Downloaded getset v0.1.6 [INFO] [stderr] Downloaded influxdb-line-protocol v2.0.0 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded slog-scope v4.4.0 [INFO] [stderr] Downloaded slog-async v2.8.0 [INFO] [stderr] Downloaded slog-stdlog v4.1.1 [INFO] [stderr] Downloaded yaml-rust2 v0.10.1 [INFO] [stderr] Downloaded raft v0.7.0 [INFO] [stderr] Downloaded winnow v0.7.9 [INFO] [stderr] Downloaded protobuf-build v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33ee4080c72f0623604234f8381e057cfe9f7bb144c51f55273ad5db51ac7a7d [INFO] running `Command { std: "docker" "start" "-a" "33ee4080c72f0623604234f8381e057cfe9f7bb144c51f55273ad5db51ac7a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33ee4080c72f0623604234f8381e057cfe9f7bb144c51f55273ad5db51ac7a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ee4080c72f0623604234f8381e057cfe9f7bb144c51f55273ad5db51ac7a7d", kill_on_drop: false }` [INFO] [stdout] 33ee4080c72f0623604234f8381e057cfe9f7bb144c51f55273ad5db51ac7a7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f37a371850249542a966dc245936945c594935f36761e8d598ea3b726943c9 [INFO] running `Command { std: "docker" "start" "-a" "21f37a371850249542a966dc245936945c594935f36761e8d598ea3b726943c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling protobuf-build v0.14.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde v1.0.219 [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 thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling raft-proto v0.7.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling swim-rs v0.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling slog-term v2.9.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling slog-stdlog v4.1.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling yaml-rust2 v0.10.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling snafu v0.8.6 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling routerify v3.0.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling swim-core v0.3.0 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling swim-util v0.3.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling swim v0.3.0 [INFO] [stderr] Compiling walcraft v0.2.0 [INFO] [stderr] Compiling raft v0.7.0 [INFO] [stderr] Compiling influxdb-line-protocol v2.0.0 [INFO] [stderr] Compiling tsdb-configdoc-derive v0.1.0 (/opt/rustwide/workdir/tsdb-configdoc-derive) [INFO] [stderr] Compiling clap v4.5.37 [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 05s [INFO] running `Command { std: "docker" "inspect" "21f37a371850249542a966dc245936945c594935f36761e8d598ea3b726943c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f37a371850249542a966dc245936945c594935f36761e8d598ea3b726943c9", kill_on_drop: false }` [INFO] [stdout] 21f37a371850249542a966dc245936945c594935f36761e8d598ea3b726943c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71af38f655648f9ba0890f07ac73506edefa864f5c3ca86826b26ff60c6b605c [INFO] running `Command { std: "docker" "start" "-a" "71af38f655648f9ba0890f07ac73506edefa864f5c3ca86826b26ff60c6b605c", 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 1.22s [INFO] running `Command { std: "docker" "inspect" "71af38f655648f9ba0890f07ac73506edefa864f5c3ca86826b26ff60c6b605c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71af38f655648f9ba0890f07ac73506edefa864f5c3ca86826b26ff60c6b605c", kill_on_drop: false }` [INFO] [stdout] 71af38f655648f9ba0890f07ac73506edefa864f5c3ca86826b26ff60c6b605c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa41f944481d155ba8aa536d6120bc451026428c57b484c22ffa8ba3da17820d [INFO] running `Command { std: "docker" "start" "-a" "fa41f944481d155ba8aa536d6120bc451026428c57b484c22ffa8ba3da17820d", 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" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/new_tsdb-4e55bdb2aa32c757) [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-d21afcaf2e588fc7) [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" "fa41f944481d155ba8aa536d6120bc451026428c57b484c22ffa8ba3da17820d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa41f944481d155ba8aa536d6120bc451026428c57b484c22ffa8ba3da17820d", kill_on_drop: false }` [INFO] [stdout] fa41f944481d155ba8aa536d6120bc451026428c57b484c22ffa8ba3da17820d