[INFO] cloning repository https://github.com/yhc007/CoreVecDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yhc007/CoreVecDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhc007%2FCoreVecDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhc007%2FCoreVecDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b476afcccdb76e9be819620fd30ac4cd16cb25ac [INFO] checking yhc007/CoreVecDB against master#2972b5e59f1c5529b6ba770437812fd83ab4ebd4 for pr-154781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhc007%2FCoreVecDB" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yhc007/CoreVecDB [INFO] finished tweaking git repo https://github.com/yhc007/CoreVecDB [INFO] tweaked toml for git repo https://github.com/yhc007/CoreVecDB written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yhc007/CoreVecDB on toolchain 2972b5e59f1c5529b6ba770437812fd83ab4ebd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yhc007/CoreVecDB 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" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protoc-bin-vendored v3.2.0 [INFO] [stderr] Downloaded tonic-build v0.11.0 [INFO] [stderr] Downloaded mmap-rs v0.6.1 [INFO] [stderr] Downloaded anndists v0.1.3 [INFO] [stderr] Downloaded sysctl v0.5.5 [INFO] [stderr] Downloaded hnsw_rs v0.3.3 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-aarch_64 v3.2.0 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-x86_64 v3.2.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-aarch_64 v3.2.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_64 v3.2.0 [INFO] [stderr] Downloaded protoc-bin-vendored-win32 v3.2.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_32 v3.2.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-ppcle_64 v3.2.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-s390_64 v3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 306ab9d40703857f425c39487751a56ab30337a4c96baba43529caee23742caf [INFO] running `Command { std: "docker" "start" "-a" "306ab9d40703857f425c39487751a56ab30337a4c96baba43529caee23742caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "306ab9d40703857f425c39487751a56ab30337a4c96baba43529caee23742caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "306ab9d40703857f425c39487751a56ab30337a4c96baba43529caee23742caf", kill_on_drop: false }` [INFO] [stdout] 306ab9d40703857f425c39487751a56ab30337a4c96baba43529caee23742caf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6d366ece3df8ec9473f4f0929bfa4a3c2488dbb7bb896c8d85f23d956a7cb8 [INFO] running `Command { std: "docker" "start" "-a" "4d6d366ece3df8ec9473f4f0929bfa4a3c2488dbb7bb896c8d85f23d956a7cb8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.2.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-s390_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.2.0 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.2.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling protoc-bin-vendored v3.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking lz4_flex v0.11.6 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking roaring v0.10.12 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking anndists v0.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking sysctl v0.5.5 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking mmap-rs v0.6.1 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hnsw_rs v0.3.3 [INFO] [stderr] Compiling vectordb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/cache/query_cache.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; [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 import: `QueryCacheKey` [INFO] [stdout] --> src/collection/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::cache::{QueryCache, QueryCacheKey, FilterBitmapCache}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilterStrategy` [INFO] [stdout] --> src/collection/mod.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::query::{QueryPlanner, FilterOrder, FilterPlan, FilterStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/diskann/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/diskann/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/index/layer_cache.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tokio` [INFO] [stdout] --> src/index/prewarm.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[cfg(feature = "tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tokio` 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: `std::collections::HashMap` [INFO] [stdout] --> src/ivfpq/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter` and `Histogram` [INFO] [stdout] --> src/metrics/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Counter, CounterVec, Gauge, GaugeVec, Histogram, HistogramVec, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/metrics/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/navix/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/cache/query_cache.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; [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 import: `QueryCacheKey` [INFO] [stdout] --> src/collection/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::cache::{QueryCache, QueryCacheKey, FilterBitmapCache}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilterStrategy` [INFO] [stdout] --> src/collection/mod.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::query::{QueryPlanner, FilterOrder, FilterPlan, FilterStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/diskann/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/diskann/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/index/layer_cache.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tokio` [INFO] [stdout] --> src/index/prewarm.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[cfg(feature = "tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tokio` 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: `std::collections::HashMap` [INFO] [stdout] --> src/ivfpq/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter` and `Histogram` [INFO] [stdout] --> src/metrics/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Counter, CounterVec, Gauge, GaugeVec, Histogram, HistogramVec, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/metrics/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/navix/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/rabitq/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/replication/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/storage/tiered.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/storage/compression.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/storage/segmented.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/rabitq/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/replication/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/storage/tiered.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/storage/compression.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/storage/segmented.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/storage/segmented.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::{self, Read, Seek, SeekFrom, Write as IoWrite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/storage/tiered.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::{self, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/storage/tiered.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::{self, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/storage/segmented.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::{self, Read, Seek, SeekFrom, Write as IoWrite}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> src/diskann/mod.rs:370:28 [INFO] [stdout] | [INFO] [stdout] 370 | fn robust_prune(&self, node_id: u64, candidates: &[(u64, f32)]) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> src/diskann/mod.rs:370:28 [INFO] [stdout] | [INFO] [stdout] 370 | fn robust_prune(&self, node_id: u64, candidates: &[(u64, f32)]) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quantization/pq.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut assignments: Vec = subvectors [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: unused variable: `subvector_dim` [INFO] [stdout] --> src/quantization/pq.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | let subvector_dim = self.config.subvector_dim(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subvector_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/storage/compression.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn estimate_ratio(dim: usize, sample_vectors: &[Vec]) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/storage/compression.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 486 | for i in 0..500 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_idx` is never read [INFO] [stdout] --> src/storage/segmented.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | let mut active_idx = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 380 | / active_idx = segments [INFO] [stdout] 381 | | .iter() [INFO] [stdout] 382 | | .position(|s| s.state() == SegmentState::Active) [INFO] [stdout] 383 | | .unwrap_or(segments.len() - 1); [INFO] [stdout] | |__________________________________________- `active_idx` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_idx` is never read [INFO] [stdout] --> src/storage/segmented.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | active_idx = segments.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quantization/pq.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut assignments: Vec = subvectors [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: unused variable: `subvector_dim` [INFO] [stdout] --> src/quantization/pq.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | let subvector_dim = self.config.subvector_dim(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subvector_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/api/http.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct JsonUpsertReq { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 28 | id: u64, [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 `must_match_all` is never read [INFO] [stdout] --> src/api/http.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct TextSearchReq { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 284 | must_match_all: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/diskann/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/hnswpp/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 72 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `density` is never read [INFO] [stdout] --> src/hnswpp/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct BranchStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | density: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/index/dynamic.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl DeleteTracker { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `searcher` are never read [INFO] [stdout] --> src/navix/mod.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct NaviXSearcher { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 243 | filter: NaviXFilter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | searcher: S, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cardinality` is never read [INFO] [stdout] --> src/payload/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct FieldIndex { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | cardinality: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache_hits` is never read [INFO] [stdout] --> src/payload/mod.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 419 | struct PayloadIndexStats { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 422 | cache_hits: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_dir` is never read [INFO] [stdout] --> src/replication/mod.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct ReplicationManager { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 414 | data_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/storage/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl WriteBuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pending_count` is never used [INFO] [stdout] --> src/storage/mod.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl DoubleBuffer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn pending_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/storage/tiered.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl HotTier { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn contains(&self, id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `dim` are never read [INFO] [stdout] --> src/storage/tiered.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct ColdTier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 170 | /// Path to the storage file. [INFO] [stdout] 171 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | /// Vector dimension. [INFO] [stdout] 173 | dim: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/storage/tiered.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl ColdTier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | fn contains(&self, id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compression_ratio` is never used [INFO] [stdout] --> src/storage/compression.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl CompressedBlock { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn compression_ratio(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/storage/segmented.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Segment { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/index/prewarm.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | assert!(stats.duration_ms >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/storage/segmented.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | drop(mmap); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Mmap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 228 - drop(mmap); [INFO] [stdout] 228 + let _ = mmap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/storage/compression.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn estimate_ratio(dim: usize, sample_vectors: &[Vec]) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_idx` is never read [INFO] [stdout] --> src/storage/segmented.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | let mut active_idx = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 380 | / active_idx = segments [INFO] [stdout] 381 | | .iter() [INFO] [stdout] 382 | | .position(|s| s.state() == SegmentState::Active) [INFO] [stdout] 383 | | .unwrap_or(segments.len() - 1); [INFO] [stdout] | |__________________________________________- `active_idx` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_idx` is never read [INFO] [stdout] --> src/storage/segmented.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | active_idx = segments.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/api/http.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct JsonUpsertReq { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 28 | id: u64, [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 `must_match_all` is never read [INFO] [stdout] --> src/api/http.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct TextSearchReq { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 284 | must_match_all: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/diskann/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/hnswpp/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 72 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `density` is never read [INFO] [stdout] --> src/hnswpp/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct BranchStats { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | density: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/index/dynamic.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl DeleteTracker { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `searcher` are never read [INFO] [stdout] --> src/navix/mod.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct NaviXSearcher { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 243 | filter: NaviXFilter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | searcher: S, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cardinality` is never read [INFO] [stdout] --> src/payload/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct FieldIndex { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | cardinality: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache_hits` is never read [INFO] [stdout] --> src/payload/mod.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 419 | struct PayloadIndexStats { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 422 | cache_hits: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_dir` is never read [INFO] [stdout] --> src/replication/mod.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct ReplicationManager { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 414 | data_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/storage/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl WriteBuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pending_count` is never used [INFO] [stdout] --> src/storage/mod.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl DoubleBuffer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn pending_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/storage/tiered.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl HotTier { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn contains(&self, id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `dim` are never read [INFO] [stdout] --> src/storage/tiered.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct ColdTier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 170 | /// Path to the storage file. [INFO] [stdout] 171 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | /// Vector dimension. [INFO] [stdout] 173 | dim: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/storage/tiered.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl ColdTier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | fn contains(&self, id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compression_ratio` is never used [INFO] [stdout] --> src/storage/compression.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl CompressedBlock { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn compression_ratio(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/storage/segmented.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Segment { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/storage/segmented.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | drop(mmap); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Mmap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 228 - drop(mmap); [INFO] [stdout] 228 + let _ = mmap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "4d6d366ece3df8ec9473f4f0929bfa4a3c2488dbb7bb896c8d85f23d956a7cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6d366ece3df8ec9473f4f0929bfa4a3c2488dbb7bb896c8d85f23d956a7cb8", kill_on_drop: false }` [INFO] [stdout] 4d6d366ece3df8ec9473f4f0929bfa4a3c2488dbb7bb896c8d85f23d956a7cb8