[INFO] fetching crate melange_db 0.1.5... [INFO] testing melange_db-0.1.5 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate melange_db 0.1.5 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate melange_db 0.1.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate melange_db 0.1.5 [INFO] tweaked toml for crates.io crate melange_db 0.1.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate melange_db 0.1.5 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate melange_db 0.1.5 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 660b0f452a13f20ccfd565c8c2b9fb4c5c21fb04e3e085662abc7ce245eab92f [INFO] running `Command { std: "docker" "start" "-a" "660b0f452a13f20ccfd565c8c2b9fb4c5c21fb04e3e085662abc7ce245eab92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "660b0f452a13f20ccfd565c8c2b9fb4c5c21fb04e3e085662abc7ce245eab92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660b0f452a13f20ccfd565c8c2b9fb4c5c21fb04e3e085662abc7ce245eab92f", kill_on_drop: false }` [INFO] [stdout] 660b0f452a13f20ccfd565c8c2b9fb4c5c21fb04e3e085662abc7ce245eab92f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da512f64ce7da9b19492eb801a424cacb16c168addf589096d3256c62ac0a551 [INFO] running `Command { std: "docker" "start" "-a" "da512f64ce7da9b19492eb801a424cacb16c168addf589096d3256c62ac0a551", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling serde_core v1.0.224 [INFO] [stderr] Compiling serde v1.0.224 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling twox-hash v2.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling cache-advisor v1.0.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling pagetable v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fault-injection v1.0.10 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling shared-local-state v0.1.4 [INFO] [stderr] Compiling ebr v0.2.13 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_derive v1.0.224 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling stack-map v1.0.5 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling concurrent-map v5.0.37 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling inline-array v0.1.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling rat_logger v0.2.8 [INFO] [stderr] Compiling melange_db v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/block_cache.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{HashMap, LinkedList, VecDeque}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/block_cache.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/block_cache.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/block_cache.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/bloom_filter.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log`, `error_log`, `info_log`, and `trace_log` [INFO] [stdout] --> src/bloom_filter.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace_log` and `warn_log` [INFO] [stdout] --> src/db.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{debug_log, trace_log, warn_log, error_log, info_log, smart_flush::{SmartFlushScheduler, SmartFlushConfig}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_log` and `warn_log` [INFO] [stdout] --> src/flush_epoch.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_log` and `info_log` [INFO] [stdout] --> src/heap.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log`, `error_log`, `info_log`, and `warn_log` [INFO] [stdout] --> src/id_allocator.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_log`, `info_log`, and `warn_log` [INFO] [stdout] --> src/leaf.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info_log` [INFO] [stdout] --> src/metadata_store.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/object_cache.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_log` and `warn_log` [INFO] [stdout] --> src/object_cache.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log, smart_flush::WriteLoadStats}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek`, and `self` [INFO] [stdout] --> src/platform_utils.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log` and `info_log` [INFO] [stdout] --> src/tree.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/block_cache.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bloom_filter.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut new_filter = Self::new(new_element_count, self.target_fpp); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interval_ms` is never read [INFO] [stdout] --> src/smart_flush.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let mut interval_ms = self.config.base_interval_ms; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut features = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/db.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | let stats = scheduler.get_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | let mut scheduler = SmartFlushScheduler::new(config); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/flush_epoch.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | let results = perform_batch_flush(batch_tasks); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flush_epoch.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | if let Some(mut callback) = callback { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flush_epoch.rs:302:37 [INFO] [stdout] | [INFO] [stdout] 302 | if let Some(mut callback) = callback { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/flush_epoch.rs:373:37 [INFO] [stdout] | [INFO] [stdout] 373 | fn perform_flush(epoch: FlushEpoch, data: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_utils.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn read_exact_at(file: &fs::File, mut buf: &mut [u8], offset: u64) -> std::io::Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let remainder = min_len % 8; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_avx2` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | Self::compare_simd_avx2(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/simd_optimized.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe fn compare_simd(a: &[u8], b: &[u8], len: usize) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_sse2` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Self::compare_simd_sse2(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_fallback` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | Self::compare_simd_fallback(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let remainder = len % 32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let remainder = len % 16; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let remainder = len % 8; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_head` is never used [INFO] [stdout] --> src/block_cache.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl LruCache { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn move_to_head(&mut self, node: &mut Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/block_cache.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 530 | pub struct CacheManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 531 | block_cache: Arc, [INFO] [stdout] 532 | config: CacheConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptimizedFlushScheduler` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct OptimizedFlushScheduler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FlushTask` is never used [INFO] [stdout] --> src/flush_epoch.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum FlushTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchFlushTask` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct BatchFlushTask { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FlushPriority` is never used [INFO] [stdout] --> src/flush_epoch.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum FlushPriority { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlushConfig` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct FlushConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlushStats` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct FlushStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/flush_epoch.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl OptimizedFlushScheduler { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 117 | /// 创建新的优化的flush调度器 [INFO] [stdout] 118 | pub fn new(config: FlushConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn start_workers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn submit_immediate_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn submit_delayed_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn submit_batch_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_stats(&self) -> FlushStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn shutdown(self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worker_loop` is never used [INFO] [stdout] --> src/flush_epoch.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn worker_loop( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_flush` is never used [INFO] [stdout] --> src/flush_epoch.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn perform_flush(epoch: FlushEpoch, data: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_batch_flush` is never used [INFO] [stdout] --> src/flush_epoch.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn perform_batch_flush(tasks: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/leaf.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl IncrementalChanges { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `disable_incremental_serialization`, `apply_incremental_changes`, and `reset_incremental_changes` are never used [INFO] [stdout] --> src/leaf.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl Leaf { [INFO] [stdout] | ------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn disable_incremental_serialization(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub(crate) fn apply_incremental_changes(&mut self, changes: &IncrementalChanges) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub(crate) fn reset_incremental_changes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object_cache.rs:411:35 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn check_into_flush_epoch(&self) -> FlushEpochGuard { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 411 | pub fn check_into_flush_epoch(&self) -> FlushEpochGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.56s [INFO] running `Command { std: "docker" "inspect" "da512f64ce7da9b19492eb801a424cacb16c168addf589096d3256c62ac0a551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da512f64ce7da9b19492eb801a424cacb16c168addf589096d3256c62ac0a551", kill_on_drop: false }` [INFO] [stdout] da512f64ce7da9b19492eb801a424cacb16c168addf589096d3256c62ac0a551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f4d74b4140e26b5a4b14ec97974801bc37d51dced24fec1e5fdf3a8f00f6dac [INFO] running `Command { std: "docker" "start" "-a" "0f4d74b4140e26b5a4b14ec97974801bc37d51dced24fec1e5fdf3a8f00f6dac", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling rat_logger v0.2.8 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling melange_db v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/block_cache.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{HashMap, LinkedList, VecDeque}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/block_cache.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/block_cache.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/block_cache.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/bloom_filter.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log`, `error_log`, `info_log`, and `trace_log` [INFO] [stdout] --> src/bloom_filter.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace_log` and `warn_log` [INFO] [stdout] --> src/db.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{debug_log, trace_log, warn_log, error_log, info_log, smart_flush::{SmartFlushScheduler, SmartFlushConfig}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_log` and `warn_log` [INFO] [stdout] --> src/flush_epoch.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_log` and `info_log` [INFO] [stdout] --> src/heap.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log`, `error_log`, `info_log`, and `warn_log` [INFO] [stdout] --> src/id_allocator.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_log`, `info_log`, and `warn_log` [INFO] [stdout] --> src/leaf.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info_log` [INFO] [stdout] --> src/metadata_store.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/object_cache.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_log` and `warn_log` [INFO] [stdout] --> src/object_cache.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log, smart_flush::WriteLoadStats}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek`, and `self` [INFO] [stdout] --> src/platform_utils.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log` and `info_log` [INFO] [stdout] --> src/tree.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/block_cache.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bloom_filter.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut new_filter = Self::new(new_element_count, self.target_fpp); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interval_ms` is never read [INFO] [stdout] --> src/smart_flush.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let mut interval_ms = self.config.base_interval_ms; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut features = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/db.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | let stats = scheduler.get_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | let mut scheduler = SmartFlushScheduler::new(config); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/flush_epoch.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | let results = perform_batch_flush(batch_tasks); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flush_epoch.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | if let Some(mut callback) = callback { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flush_epoch.rs:302:37 [INFO] [stdout] | [INFO] [stdout] 302 | if let Some(mut callback) = callback { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/flush_epoch.rs:373:37 [INFO] [stdout] | [INFO] [stdout] 373 | fn perform_flush(epoch: FlushEpoch, data: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_utils.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn read_exact_at(file: &fs::File, mut buf: &mut [u8], offset: u64) -> std::io::Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let remainder = min_len % 8; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_avx2` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | Self::compare_simd_avx2(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/simd_optimized.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe fn compare_simd(a: &[u8], b: &[u8], len: usize) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_sse2` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Self::compare_simd_sse2(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_fallback` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | Self::compare_simd_fallback(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let remainder = len % 32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let remainder = len % 16; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let remainder = len % 8; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_head` is never used [INFO] [stdout] --> src/block_cache.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl LruCache { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn move_to_head(&mut self, node: &mut Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/block_cache.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 530 | pub struct CacheManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 531 | block_cache: Arc, [INFO] [stdout] 532 | config: CacheConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptimizedFlushScheduler` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct OptimizedFlushScheduler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FlushTask` is never used [INFO] [stdout] --> src/flush_epoch.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum FlushTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchFlushTask` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct BatchFlushTask { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FlushPriority` is never used [INFO] [stdout] --> src/flush_epoch.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum FlushPriority { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlushConfig` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct FlushConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlushStats` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct FlushStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/flush_epoch.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl OptimizedFlushScheduler { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 117 | /// 创建新的优化的flush调度器 [INFO] [stdout] 118 | pub fn new(config: FlushConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn start_workers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn submit_immediate_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn submit_delayed_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn submit_batch_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_stats(&self) -> FlushStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn shutdown(self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worker_loop` is never used [INFO] [stdout] --> src/flush_epoch.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn worker_loop( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_flush` is never used [INFO] [stdout] --> src/flush_epoch.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn perform_flush(epoch: FlushEpoch, data: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_batch_flush` is never used [INFO] [stdout] --> src/flush_epoch.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn perform_batch_flush(tasks: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/leaf.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl IncrementalChanges { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `disable_incremental_serialization`, `apply_incremental_changes`, and `reset_incremental_changes` are never used [INFO] [stdout] --> src/leaf.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl Leaf { [INFO] [stdout] | ------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn disable_incremental_serialization(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub(crate) fn apply_incremental_changes(&mut self, changes: &IncrementalChanges) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub(crate) fn reset_incremental_changes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object_cache.rs:411:35 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn check_into_flush_epoch(&self) -> FlushEpochGuard { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 411 | pub fn check_into_flush_epoch(&self) -> FlushEpochGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `melange_db::*` [INFO] [stdout] --> examples/macbook_air_m1_compression_zstd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use melange_db::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> examples/macbook_air_m1_compression_zstd.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Db` [INFO] [stdout] --> examples/no_logger_test.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use melange_db::{Db, Config}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/macbook_air_m1_compression_zstd.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 23 | / { [INFO] [stdout] 24 | | eprintln!("❌ 错误: 此示例需要启用 compression-zstd 特性"); [INFO] [stdout] 25 | | eprintln!("❌ 请使用以下命令运行:"); [INFO] [stdout] 26 | | eprintln!("❌ cargo run --example macbook_air_m1_compression_zstd --features compression-zstd --release"); [INFO] [stdout] 27 | | return Err("未启用 compression-zstd 特性".into()); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/performance_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `melange_db::*` [INFO] [stdout] --> examples/macbook_air_m1_compression_none.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use melange_db::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> examples/macbook_air_m1_compression_none.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/macbook_air_m1_compression_none.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 23 | / { [INFO] [stdout] 24 | | eprintln!("❌ 错误: 此示例需要启用 compression-none 特性"); [INFO] [stdout] 25 | | eprintln!("❌ 请使用以下命令运行:"); [INFO] [stdout] 26 | | eprintln!("❌ cargo run --example macbook_air_m1_compression_none --features compression-none --release"); [INFO] [stdout] 27 | | return Err("未启用 compression-none 特性".into()); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Db` [INFO] [stdout] --> examples/rat_logger_demo.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use melange_db::{Db, Config}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> examples/performance_demo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> examples/performance_demo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/performance_demo.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/best_practices.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> tests/integration_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `melange_db::*` [INFO] [stdout] --> tests/mmap_performance_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use melange_db::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::FileExt` [INFO] [stdout] --> tests/mmap_performance_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::os::unix::fs::FileExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> tests/optimization_performance_test.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConcurrentBloomFilter` [INFO] [stdout] --> tests/optimization_performance_test.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | use melange_db::bloom_filter::{BloomFilter, ConcurrentBloomFilter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccessPattern` and `CacheBlock` [INFO] [stdout] --> tests/optimization_performance_test.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | use melange_db::block_cache::{CacheManager, CacheConfig, CacheBlock, AccessPattern}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rat_logger::LoggerBuilder::init`: 请使用init_global_logger方法 [INFO] [stdout] --> examples/rat_logger_demo.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | .init()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/mmap_performance_test.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/mmap_performance_test.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `melange_db::*` [INFO] [stdout] --> examples/macbook_air_m1_compression_lz4.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use melange_db::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> examples/macbook_air_m1_compression_lz4.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/optimization_performance_test.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/optimization_performance_test.rs:253:35 [INFO] [stdout] | [INFO] [stdout] 253 | *byte = rand::thread_rng().random(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/optimization_performance_test.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | let key_index = rand::thread_rng().random_range(0..test_key_count); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/optimization_performance_test.rs:296:41 [INFO] [stdout] | [INFO] [stdout] 296 | let start_key = &keys[rand::thread_rng().random_range(0..test_key_count)]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/macbook_air_m1_compression_lz4.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 23 | / { [INFO] [stdout] 24 | | eprintln!("❌ 错误: 此示例需要启用 compression-lz4 特性"); [INFO] [stdout] 25 | | eprintln!("❌ 请使用以下命令运行:"); [INFO] [stdout] 26 | | eprintln!("❌ cargo run --example macbook_air_m1_compression_lz4 --features compression-lz4 --release"); [INFO] [stdout] 27 | | return Err("未启用 compression-lz4 特性".into()); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> examples/best_practices.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | let (key, value) = kv?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/block_cache.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{HashMap, LinkedList, VecDeque}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/block_cache.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/block_cache.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/block_cache.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/bloom_filter.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log`, `error_log`, `info_log`, and `trace_log` [INFO] [stdout] --> src/bloom_filter.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace_log` and `warn_log` [INFO] [stdout] --> src/db.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{debug_log, trace_log, warn_log, error_log, info_log, smart_flush::{SmartFlushScheduler, SmartFlushConfig}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_log` and `warn_log` [INFO] [stdout] --> src/flush_epoch.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_log` and `info_log` [INFO] [stdout] --> src/heap.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log`, `error_log`, `info_log`, and `warn_log` [INFO] [stdout] --> src/id_allocator.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_log`, `info_log`, and `warn_log` [INFO] [stdout] --> src/leaf.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info_log` [INFO] [stdout] --> src/metadata_store.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/object_cache.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_log` and `warn_log` [INFO] [stdout] --> src/object_cache.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_log, trace_log, warn_log, error_log, info_log, smart_flush::WriteLoadStats}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek`, and `self` [INFO] [stdout] --> src/platform_utils.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_log` and `info_log` [INFO] [stdout] --> src/tree.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::{debug_log, trace_log, warn_log, error_log, info_log}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/block_cache.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bloom_filter.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut new_filter = Self::new(new_element_count, self.target_fpp); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interval_ms` is never read [INFO] [stdout] --> src/smart_flush.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let mut interval_ms = self.config.base_interval_ms; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut features = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/db.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | let stats = scheduler.get_stats(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | let mut scheduler = SmartFlushScheduler::new(config); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/flush_epoch.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | let results = perform_batch_flush(batch_tasks); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flush_epoch.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | if let Some(mut callback) = callback { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flush_epoch.rs:302:37 [INFO] [stdout] | [INFO] [stdout] 302 | if let Some(mut callback) = callback { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/flush_epoch.rs:373:37 [INFO] [stdout] | [INFO] [stdout] 373 | fn perform_flush(epoch: FlushEpoch, data: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform_utils.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn read_exact_at(file: &fs::File, mut buf: &mut [u8], offset: u64) -> std::io::Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let remainder = min_len % 8; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_avx2` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | Self::compare_simd_avx2(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/simd_optimized.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | unsafe fn compare_simd(a: &[u8], b: &[u8], len: usize) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_sse2` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Self::compare_simd_sse2(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `simd_optimized::SimdComparator::compare_simd_fallback` is unsafe and requires unsafe block [INFO] [stdout] --> src/simd_optimized.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | Self::compare_simd_fallback(a, b, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let remainder = len % 32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let remainder = len % 16; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/simd_optimized.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let remainder = len % 8; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_head` is never used [INFO] [stdout] --> src/block_cache.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl LruCache { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn move_to_head(&mut self, node: &mut Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/block_cache.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 530 | pub struct CacheManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 531 | block_cache: Arc, [INFO] [stdout] 532 | config: CacheConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OptimizedFlushScheduler` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct OptimizedFlushScheduler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FlushTask` is never used [INFO] [stdout] --> src/flush_epoch.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum FlushTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchFlushTask` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct BatchFlushTask { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FlushPriority` is never used [INFO] [stdout] --> src/flush_epoch.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum FlushPriority { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlushConfig` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct FlushConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlushStats` is never constructed [INFO] [stdout] --> src/flush_epoch.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct FlushStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/flush_epoch.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl OptimizedFlushScheduler { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 117 | /// 创建新的优化的flush调度器 [INFO] [stdout] 118 | pub fn new(config: FlushConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn start_workers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn submit_immediate_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn submit_delayed_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn submit_batch_flush( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_stats(&self) -> FlushStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn shutdown(self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worker_loop` is never used [INFO] [stdout] --> src/flush_epoch.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn worker_loop( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_flush` is never used [INFO] [stdout] --> src/flush_epoch.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn perform_flush(epoch: FlushEpoch, data: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_batch_flush` is never used [INFO] [stdout] --> src/flush_epoch.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn perform_batch_flush(tasks: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/leaf.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl IncrementalChanges { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `disable_incremental_serialization`, `apply_incremental_changes`, and `reset_incremental_changes` are never used [INFO] [stdout] --> src/leaf.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl Leaf { [INFO] [stdout] | ------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn disable_incremental_serialization(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub(crate) fn apply_incremental_changes(&mut self, changes: &IncrementalChanges) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub(crate) fn reset_incremental_changes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object_cache.rs:411:35 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn check_into_flush_epoch(&self) -> FlushEpochGuard { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 411 | pub fn check_into_flush_epoch(&self) -> FlushEpochGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `melange_db` (lib test); 50 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/bin/rustc --crate-name melange_db --edition=2024 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compression-lz4", "compression-none", "compression-zstd", "default", "for-internal-testing-only", "mimalloc", "monotonic-behavior", "testing-count-allocator", "testing-shred-allocator"))' -C metadata=04422e794cc5cbd4 -C extra-filename=-b16075863da89b57 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-06f60795bf9db28e.rlib --extern cache_advisor=/opt/rustwide/target/debug/deps/libcache_advisor-abf1b9ed3bc9ed08.rlib --extern concurrent_map=/opt/rustwide/target/debug/deps/libconcurrent_map-d52821d045fb78c0.rlib --extern crc32fast=/opt/rustwide/target/debug/deps/libcrc32fast-cb59b8a1512452f0.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-093e6ed2e0e13c60.rlib --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-a5156ef294398bef.rlib --extern crossbeam_queue=/opt/rustwide/target/debug/deps/libcrossbeam_queue-43afa6c585e54bba.rlib --extern ebr=/opt/rustwide/target/debug/deps/libebr-356bd5180f8aa4b0.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-605f7b00554c5a3c.rlib --extern fault_injection=/opt/rustwide/target/debug/deps/libfault_injection-ac2ba5ab1c4810e2.rlib --extern fnv=/opt/rustwide/target/debug/deps/libfnv-2d77ec4f6f971b24.rlib --extern fs2=/opt/rustwide/target/debug/deps/libfs2-795d101c666f2810.rlib --extern inline_array=/opt/rustwide/target/debug/deps/libinline_array-7f9de9517b1c3b49.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-a58beeab2e1413cc.rlib --extern lz4_flex=/opt/rustwide/target/debug/deps/liblz4_flex-c318a8e7ab3d5696.rlib --extern num_format=/opt/rustwide/target/debug/deps/libnum_format-38764826fb2286ed.rlib --extern pagetable=/opt/rustwide/target/debug/deps/libpagetable-55d1860a2616700d.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-d4808e2317f76398.rlib --extern quickcheck=/opt/rustwide/target/debug/deps/libquickcheck-c34dc4ae4e723125.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-0fb1ff72e4e2dbf7.rlib --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-c83fc646cc845090.rlib --extern rat_logger=/opt/rustwide/target/debug/deps/librat_logger-d6d5ce5cd31596a7.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-cd309c9383118b41.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-340798d3943fb225.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-70b23ed9cc8e175e.rlib --extern stack_map=/opt/rustwide/target/debug/deps/libstack_map-e32df51aa3a694e4.rlib --extern tempdir=/opt/rustwide/target/debug/deps/libtempdir-5f0abeee72c1a3aa.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-0b90ff0f5ba5d93b.rlib --extern zstd=/opt/rustwide/target/debug/deps/libzstd-80b7e63fd5d0d12c.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/lz4-sys-8148c0f69c3f5239/out -L native=/opt/rustwide/target/debug/build/zstd-sys-8ca0faaa5246350b/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `melange_db` (example "best_practices"); 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/bin/rustc --crate-name best_practices --edition=2024 examples/best_practices.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compression-lz4", "compression-none", "compression-zstd", "default", "for-internal-testing-only", "mimalloc", "monotonic-behavior", "testing-count-allocator", "testing-shred-allocator"))' -C metadata=52462f29f0424137 -C extra-filename=-da26090a30ab0e96 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-06f60795bf9db28e.rlib --extern cache_advisor=/opt/rustwide/target/debug/deps/libcache_advisor-abf1b9ed3bc9ed08.rlib --extern concurrent_map=/opt/rustwide/target/debug/deps/libconcurrent_map-d52821d045fb78c0.rlib --extern crc32fast=/opt/rustwide/target/debug/deps/libcrc32fast-cb59b8a1512452f0.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-093e6ed2e0e13c60.rlib --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-a5156ef294398bef.rlib --extern crossbeam_queue=/opt/rustwide/target/debug/deps/libcrossbeam_queue-43afa6c585e54bba.rlib --extern ebr=/opt/rustwide/target/debug/deps/libebr-356bd5180f8aa4b0.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-605f7b00554c5a3c.rlib --extern fault_injection=/opt/rustwide/target/debug/deps/libfault_injection-ac2ba5ab1c4810e2.rlib --extern fnv=/opt/rustwide/target/debug/deps/libfnv-2d77ec4f6f971b24.rlib --extern fs2=/opt/rustwide/target/debug/deps/libfs2-795d101c666f2810.rlib --extern inline_array=/opt/rustwide/target/debug/deps/libinline_array-7f9de9517b1c3b49.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-a58beeab2e1413cc.rlib --extern lz4_flex=/opt/rustwide/target/debug/deps/liblz4_flex-c318a8e7ab3d5696.rlib --extern melange_db=/opt/rustwide/target/debug/deps/libmelange_db-e8ffdb97f131bc7a.rlib --extern num_format=/opt/rustwide/target/debug/deps/libnum_format-38764826fb2286ed.rlib --extern pagetable=/opt/rustwide/target/debug/deps/libpagetable-55d1860a2616700d.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-d4808e2317f76398.rlib --extern quickcheck=/opt/rustwide/target/debug/deps/libquickcheck-c34dc4ae4e723125.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-0fb1ff72e4e2dbf7.rlib --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-c83fc646cc845090.rlib --extern rat_logger=/opt/rustwide/target/debug/deps/librat_logger-d6d5ce5cd31596a7.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-cd309c9383118b41.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-340798d3943fb225.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-70b23ed9cc8e175e.rlib --extern stack_map=/opt/rustwide/target/debug/deps/libstack_map-e32df51aa3a694e4.rlib --extern tempdir=/opt/rustwide/target/debug/deps/libtempdir-5f0abeee72c1a3aa.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-0b90ff0f5ba5d93b.rlib --extern zstd=/opt/rustwide/target/debug/deps/libzstd-80b7e63fd5d0d12c.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/lz4-sys-8148c0f69c3f5239/out -L native=/opt/rustwide/target/debug/build/zstd-sys-8ca0faaa5246350b/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "0f4d74b4140e26b5a4b14ec97974801bc37d51dced24fec1e5fdf3a8f00f6dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4d74b4140e26b5a4b14ec97974801bc37d51dced24fec1e5fdf3a8f00f6dac", kill_on_drop: false }` [INFO] [stdout] 0f4d74b4140e26b5a4b14ec97974801bc37d51dced24fec1e5fdf3a8f00f6dac