[INFO] cloning repository https://github.com/Vimthusiast/tempest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vimthusiast/tempest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVimthusiast%2Ftempest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVimthusiast%2Ftempest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d700b6b819074c852d058e36925b5d8f1fa9945 [INFO] checking Vimthusiast/tempest against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVimthusiast%2Ftempest" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vimthusiast/tempest [INFO] finished tweaking git repo https://github.com/Vimthusiast/tempest [INFO] tweaked toml for git repo https://github.com/Vimthusiast/tempest written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vimthusiast/tempest on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vimthusiast/tempest 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222 [INFO] running `Command { std: "docker" "start" "e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking crc64 v2.0.0 [INFO] [stderr] Checking integer-encoding v4.1.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking ariadne v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking rustyline v17.0.2 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Checking comfy-table v7.2.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.42 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling logos-codegen v0.16.1 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking tracing-tree v0.4.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling logos-derive v0.16.1 [INFO] [stderr] Checking logos v0.16.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking tokio-uring v0.5.0 [INFO] [stderr] Checking tempest_core v0.0.1 (/opt/rustwide/workdir/tempest_core) [INFO] [stderr] Checking tempest_tql v0.0.1 (/opt/rustwide/workdir/tempest_tql) [INFO] [stderr] Checking tempest_kv v0.0.1 (/opt/rustwide/workdir/tempest_kv) [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> tempest_tql/src/ast/ty.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Cow, ops::Range}; [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: `borrow::Cow` [INFO] [stdout] --> tempest_tql/src/ast/ty.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Cow, ops::Range}; [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: `SeqNum` [INFO] [stdout] --> tempest_kv/src/iterator/mod.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::base::{Comparer, InternalKey, SeqNum, StorageResult}; [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: `SeqNum` [INFO] [stdout] --> tempest_kv/src/iterator/mod.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::base::{Comparer, InternalKey, SeqNum, StorageResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_static` is never used [INFO] [stdout] --> tempest_tql/src/lexer/token.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 142 | impl<'a> Token<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 143 | pub(crate) fn into_static(self) -> Token<'static> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_static` is never used [INFO] [stdout] --> tempest_tql/src/lexer/token.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 142 | impl<'a> Token<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 143 | pub(crate) fn into_static(self) -> Token<'static> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> tempest_kv/src/lib.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 78 | impl Storage { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub(crate) async fn get(&self, key: &Bytes, snapshot: SeqNum) -> StorageResult> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compare_logical` and `byte_key` are never used [INFO] [stdout] --> tempest_kv/src/base/mod.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 177 | impl> InternalKey { [INFO] [stdout] | --------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub(crate) fn compare_logical( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub(crate) fn byte_key(&self) -> InternalKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `silo_root` is never read [INFO] [stdout] --> tempest_kv/src/manifest/mod.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub(crate) struct StorageManifest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 203 | /// The root path of the storage this manifest belongs to. [INFO] [stdout] 204 | silo_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageManifest` 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 `filenum_current` is never used [INFO] [stdout] --> tempest_kv/src/manifest/mod.rs:406:25 [INFO] [stdout] | [INFO] [stdout] 221 | impl StorageManifest { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | pub(crate) const fn filenum_current(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> tempest_kv/src/memtable.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl MemTable { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn get(&self, key: &Bytes, snapshot: SeqNum) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_offsets` is never used [INFO] [stdout] --> tempest_kv/src/sst/block.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn parse_offsets(buf: &[u8], entries_end: usize) -> &[U32] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `restart_count` is never read [INFO] [stdout] --> tempest_kv/src/sst/block.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BlockIterator { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | restart_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockReader` is never constructed [INFO] [stdout] --> tempest_kv/src/sst/block.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct BlockReader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `iter` are never used [INFO] [stdout] --> tempest_kv/src/sst/block.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl BlockReader { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] 205 | pub fn new(buf: Bytes) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get(&self, search_key: &InternalKey) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn iter(&self) -> BlockIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `maybe_contains` is never used [INFO] [stdout] --> tempest_kv/src/sst/bloom.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl BloomFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn maybe_contains(&self, key: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bloom` is never read [INFO] [stdout] --> tempest_kv/src/sst/reader.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct SstReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 141 | file: Arc, [INFO] [stdout] 142 | bloom: BloomFilter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> tempest_kv/src/sst/reader.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 147 | impl SstReader { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub async fn get(&self, key: &InternalKey) -> StorageResult> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_dir` is never read [INFO] [stdout] --> tempest_kv/src/wal/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Wal { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 250 | storage_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `base::error::StorageError` [INFO] [stdout] --> tempest_kv/src/wal/mod.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | return Some(Err(e.into())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 75 - return Some(Err(e.into())); [INFO] [stdout] 75 + return Some(Err(e)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 75 - return Some(Err(e.into())); [INFO] [stdout] 75 + return Some(Err(>::into(e))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tempest_kv` (lib) due to 1 previous error; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `silo_root` is never read [INFO] [stdout] --> tempest_kv/src/manifest/mod.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub(crate) struct StorageManifest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 203 | /// The root path of the storage this manifest belongs to. [INFO] [stdout] 204 | silo_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageManifest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_offsets` is never used [INFO] [stdout] --> tempest_kv/src/sst/block.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn parse_offsets(buf: &[u8], entries_end: usize) -> &[U32] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `restart_count` is never read [INFO] [stdout] --> tempest_kv/src/sst/block.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BlockIterator { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | restart_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> tempest_kv/src/sst/block.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl BlockReader { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn iter(&self) -> BlockIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_dir` is never read [INFO] [stdout] --> tempest_kv/src/wal/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Wal { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 250 | storage_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `base::error::StorageError` [INFO] [stdout] --> tempest_kv/src/wal/mod.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | return Some(Err(e.into())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 75 - return Some(Err(e.into())); [INFO] [stdout] 75 + return Some(Err(e)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 75 - return Some(Err(e.into())); [INFO] [stdout] 75 + return Some(Err(>::into(e))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tempest_kv` (lib test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222", kill_on_drop: false }` [INFO] [stdout] e7f1b71c4e83125a273af87e5afa9a8046fd1c3d26e36007125f3acff73a4222