[INFO] cloning repository https://github.com/MarshallSigumd/mini-lsm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarshallSigumd/mini-lsm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarshallSigumd%2Fmini-lsm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarshallSigumd%2Fmini-lsm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99a13d0dcdd216cc60faffa67686f2e2ba9f8212 [INFO] testing MarshallSigumd/mini-lsm against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarshallSigumd%2Fmini-lsm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/MarshallSigumd/mini-lsm [INFO] finished tweaking git repo https://github.com/MarshallSigumd/mini-lsm [INFO] tweaked toml for git repo https://github.com/MarshallSigumd/mini-lsm written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarshallSigumd/mini-lsm on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarshallSigumd/mini-lsm 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded camino v1.2.1 [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded shared_child v1.1.1 [INFO] [stderr] Downloaded os_pipe v1.2.3 [INFO] [stderr] Downloaded duct v0.13.7 [INFO] [stderr] Downloaded sigchld v0.2.4 [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded rustyline v13.0.0 [INFO] [stderr] Downloaded moka v0.9.9 [INFO] [stderr] Downloaded farmhash v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cae9b09bb475277f0712af205f8f38778237170867490642fc837931eed365a8 [INFO] running `Command { std: "docker" "start" "-a" "cae9b09bb475277f0712af205f8f38778237170867490642fc837931eed365a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cae9b09bb475277f0712af205f8f38778237170867490642fc837931eed365a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae9b09bb475277f0712af205f8f38778237170867490642fc837931eed365a8", kill_on_drop: false }` [INFO] [stdout] cae9b09bb475277f0712af205f8f38778237170867490642fc837931eed365a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce91c2e490663dcbf2cc189f59e4e8994c061a579c661a3dcec967700343219b [INFO] running `Command { std: "docker" "start" "-a" "ce91c2e490663dcbf2cc189f59e4e8994c061a579c661a3dcec967700343219b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling moka v0.9.9 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling farmhash v1.1.5 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling quanta v0.11.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling os_pipe v1.2.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sigchld v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling shared_child v1.1.1 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustyline v13.0.0 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling mini-lsm-xtask v0.2.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling mini-lsm-starter v0.2.0 (/opt/rustwide/workdir/mini-lsm-starter) [INFO] [stderr] Compiling mini-lsm v0.2.0 (/opt/rustwide/workdir/mini-lsm) [INFO] [stderr] Compiling mini-lsm-mvcc v0.2.0 (/opt/rustwide/workdir/mini-lsm-mvcc) [INFO] [stdout] warning: unused import: `std::convert::AsRef` [INFO] [stdout] --> mini-lsm-starter/src/block/builder.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::AsRef; [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: `crate::compact` [INFO] [stdout] --> mini-lsm-starter/src/compact.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::compact; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mini-lsm-starter/src/iterators/two_merge_iterator.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stdout] 48 + if self.b.is_valid() && self.a.key() == self.b.key() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> mini-lsm-starter/src/lsm_iterator.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / ... ///在 move_to_non_delete 方法中,循环条件是 while self.is_valid() && self.inner.value().is_empty()。当遇到墓碑记录(空值)... [INFO] [stdout] 85 | | ... /// [INFO] [stdout] 86 | | ... ///move_to_non_delete 方法需要在使用 next() 后检查 self.inner 是否仍然有效,并相应地更新 self.is_valid [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] 87 | ... Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `farmhash::fingerprint32` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use farmhash::fingerprint32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::iterators::merge_iterator::{self, MergeIterator}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> mini-lsm-starter/src/table/builder.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | block::{Block, BlockBuilder}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::NonEmptyStringValueParser` [INFO] [stdout] --> mini-lsm-starter/src/table.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use clap::builder::NonEmptyStringValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/block/iterator.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn key(&self) -> KeySlice { [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] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/iterators/concat_iterator.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/iterators/merge_iterator.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/key.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/key.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/mem_table.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/table/iterator.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/block/iterator.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn key(&self) -> KeySlice { [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] 76 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/iterators/concat_iterator.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/iterators/merge_iterator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/key.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/key.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/mem_table.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/table/iterator.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/block/iterator.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn key(&self) -> KeySlice { [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] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/iterators/concat_iterator.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/iterators/merge_iterator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/key.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/key.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/mem_table.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 260 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/table/iterator.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.25s [INFO] running `Command { std: "docker" "inspect" "ce91c2e490663dcbf2cc189f59e4e8994c061a579c661a3dcec967700343219b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce91c2e490663dcbf2cc189f59e4e8994c061a579c661a3dcec967700343219b", kill_on_drop: false }` [INFO] [stdout] ce91c2e490663dcbf2cc189f59e4e8994c061a579c661a3dcec967700343219b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01429d04df7d9f13c864502e601cb48acf2811ef4f83018f400eccc79cc5d75 [INFO] running `Command { std: "docker" "start" "-a" "c01429d04df7d9f13c864502e601cb48acf2811ef4f83018f400eccc79cc5d75", kill_on_drop: false }` [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/block/iterator.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn key(&self) -> KeySlice { [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] 76 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/iterators/concat_iterator.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/iterators/merge_iterator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/key.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/key.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/mem_table.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/table/iterator.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/block/iterator.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn key(&self) -> KeySlice { [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] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/iterators/concat_iterator.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/iterators/merge_iterator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/key.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/key.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/mem_table.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 260 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/table/iterator.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::AsRef` [INFO] [stdout] --> mini-lsm-starter/src/block/builder.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::AsRef; [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: `crate::compact` [INFO] [stdout] --> mini-lsm-starter/src/compact.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::compact; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mini-lsm-starter/src/iterators/two_merge_iterator.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stdout] 48 + if self.b.is_valid() && self.a.key() == self.b.key() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> mini-lsm-starter/src/lsm_iterator.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / ... ///在 move_to_non_delete 方法中,循环条件是 while self.is_valid() && self.inner.value().is_empty()。当遇到墓碑记录(空值)... [INFO] [stdout] 85 | | ... /// [INFO] [stdout] 86 | | ... ///move_to_non_delete 方法需要在使用 next() 后检查 self.inner 是否仍然有效,并相应地更新 self.is_valid [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] 87 | ... Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `farmhash::fingerprint32` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use farmhash::fingerprint32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::iterators::merge_iterator::{self, MergeIterator}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> mini-lsm-starter/src/table/builder.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | block::{Block, BlockBuilder}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::NonEmptyStringValueParser` [INFO] [stdout] --> mini-lsm-starter/src/table.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use clap::builder::NonEmptyStringValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/block/iterator.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn key(&self) -> KeySlice { [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] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/iterators/concat_iterator.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/iterators/merge_iterator.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/key.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/key.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/mem_table.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/table/iterator.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mini-lsm-xtask v0.2.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Compiling mini-lsm-mvcc v0.2.0 (/opt/rustwide/workdir/mini-lsm-mvcc) [INFO] [stderr] Compiling mini-lsm-starter v0.2.0 (/opt/rustwide/workdir/mini-lsm-starter) [INFO] [stderr] Compiling mini-lsm v0.2.0 (/opt/rustwide/workdir/mini-lsm) [INFO] [stdout] warning: unused import: `std::convert::AsRef` [INFO] [stdout] --> mini-lsm-starter/src/block/builder.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::convert::AsRef; [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: `crate::compact` [INFO] [stdout] --> mini-lsm-starter/src/compact.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::compact; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mini-lsm-starter/src/iterators/two_merge_iterator.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stdout] 48 + if self.b.is_valid() && self.a.key() == self.b.key() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> mini-lsm-starter/src/lsm_iterator.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / ... ///在 move_to_non_delete 方法中,循环条件是 while self.is_valid() && self.inner.value().is_empty()。当遇到墓碑记录(空值)... [INFO] [stdout] 85 | | ... /// [INFO] [stdout] 86 | | ... ///move_to_non_delete 方法需要在使用 next() 后检查 self.inner 是否仍然有效,并相应地更新 self.is_valid [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] 87 | ... Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `farmhash::fingerprint32` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use farmhash::fingerprint32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::iterators::merge_iterator::{self, MergeIterator}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> mini-lsm-starter/src/table/builder.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | block::{Block, BlockBuilder}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::NonEmptyStringValueParser` [INFO] [stdout] --> mini-lsm-starter/src/table.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use clap::builder::NonEmptyStringValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/block/iterator.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn key(&self) -> KeySlice { [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] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/iterators/concat_iterator.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/iterators/merge_iterator.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/key.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/key.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/mem_table.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/table/iterator.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/block/iterator.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn key(&self) -> KeySlice { [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] 76 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/iterators/concat_iterator.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/iterators/merge_iterator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/key.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/key.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/mem_table.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/table/iterator.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm/src/tests/harness.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/block/iterator.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn key(&self) -> KeySlice { [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] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/iterators/concat_iterator.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/iterators/merge_iterator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/key.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/key.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_key_slice(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/mem_table.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 260 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/table/iterator.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mini-lsm-mvcc/src/tests/harness.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | fn key(&self) -> KeySlice { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "c01429d04df7d9f13c864502e601cb48acf2811ef4f83018f400eccc79cc5d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01429d04df7d9f13c864502e601cb48acf2811ef4f83018f400eccc79cc5d75", kill_on_drop: false }` [INFO] [stdout] c01429d04df7d9f13c864502e601cb48acf2811ef4f83018f400eccc79cc5d75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9928de0cac24e83cc56d5941c27460ff44ef0a58cc96589481286be56e49f722 [INFO] running `Command { std: "docker" "start" "-a" "9928de0cac24e83cc56d5941c27460ff44ef0a58cc96589481286be56e49f722", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/block/iterator.rs:76:16 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/iterators/concat_iterator.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 111 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/iterators/merge_iterator.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/key.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn as_key_slice(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/key.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn as_key_slice(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/mem_table.rs:206:12 [INFO] [stderr] | [INFO] [stderr] 206 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 206 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/table/iterator.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/block/iterator.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/iterators/concat_iterator.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 111 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 111 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/iterators/merge_iterator.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/key.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn as_key_slice(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 89 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/key.rs:119:25 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn as_key_slice(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 119 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/mem_table.rs:260:12 [INFO] [stderr] | [INFO] [stderr] 260 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 260 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/table/iterator.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 99 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::AsRef` [INFO] [stderr] --> mini-lsm-starter/src/block/builder.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::convert::AsRef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::compact` [INFO] [stderr] --> mini-lsm-starter/src/compact.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use crate::compact; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> mini-lsm-starter/src/iterators/two_merge_iterator.rs:48:16 [INFO] [stderr] | [INFO] [stderr] 48 | if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 48 - if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stderr] 48 + if self.b.is_valid() && self.a.key() == self.b.key() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> mini-lsm-starter/src/lsm_iterator.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | / ... ///在 move_to_non_delete 方法中,循环条件是 while self.is_valid() && self.inner.value().is_empty()。当遇到墓碑记录(空值)... [INFO] [stderr] 85 | | ... /// [INFO] [stderr] 86 | | ... ///move_to_non_delete 方法需要在使用 next() 后检查 self.inner 是否仍然有效,并相应地更新 self.is_valid [INFO] [stderr] | |____________________________________________________________________________________________________________^ [INFO] [stderr] 87 | ... Ok(()) [INFO] [stderr] | ------ rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `farmhash::fingerprint32` [INFO] [stderr] --> mini-lsm-starter/src/lsm_storage.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use farmhash::fingerprint32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> mini-lsm-starter/src/lsm_storage.rs:36:40 [INFO] [stderr] | [INFO] [stderr] 36 | use crate::iterators::merge_iterator::{self, MergeIterator}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Block` [INFO] [stderr] --> mini-lsm-starter/src/table/builder.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | block::{Block, BlockBuilder}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `clap::builder::NonEmptyStringValueParser` [INFO] [stderr] --> mini-lsm-starter/src/table.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use clap::builder::NonEmptyStringValueParser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/block/iterator.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | pub fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/iterators/concat_iterator.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 118 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/iterators/merge_iterator.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 101 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/key.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn as_key_slice(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/key.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn as_key_slice(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 94 | pub fn as_key_slice(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/mem_table.rs:199:12 [INFO] [stderr] | [INFO] [stderr] 199 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 199 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/table/iterator.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 100 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-starter/src/tests/harness.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm/src/tests/harness.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> mini-lsm-mvcc/src/tests/harness.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | fn key(&self) -> KeySlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | fn key(&self) -> KeySlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mini-lsm` (lib) generated 7 warnings (run `cargo fix --lib -p mini-lsm` to apply 7 suggestions) [INFO] [stderr] warning: `mini-lsm-mvcc` (lib) generated 7 warnings (run `cargo fix --lib -p mini-lsm-mvcc` to apply 7 suggestions) [INFO] [stderr] warning: `mini-lsm-starter` (lib) generated 15 warnings (run `cargo fix --lib -p mini-lsm-starter` to apply 14 suggestions) [INFO] [stderr] warning: `mini-lsm-starter` (lib test) generated 16 warnings (15 duplicates) (run `cargo fix --lib -p mini-lsm-starter --tests` to apply 1 suggestion) [INFO] [stderr] warning: `mini-lsm` (lib test) generated 8 warnings (7 duplicates) (run `cargo fix --lib -p mini-lsm --tests` to apply 1 suggestion) [INFO] [stderr] warning: `mini-lsm-mvcc` (lib test) generated 8 warnings (7 duplicates) (run `cargo fix --lib -p mini-lsm-mvcc --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_lsm-5abe3c332fd6d85c) [INFO] [stdout] [INFO] [stdout] running 56 tests [INFO] [stdout] test tests::week1_day1::test_task1_memtable_get ... ok [INFO] [stdout] test tests::week1_day1::test_task1_memtable_overwrite ... ok [INFO] [stdout] test tests::week1_day2::test_task1_empty_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task1_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_1 ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_2 ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_empty ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_error ... ok [INFO] [stdout] test tests::week1_day2::test_task3_fused_iterator ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_full ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_1 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_all ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_2 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_single_key ... ok [INFO] [stdout] test tests::week1_day3::test_block_encode ... ok [INFO] [stdout] test tests::week1_day3::test_block_decode ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_1 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_2 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_3 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_4 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_5 ... ok [INFO] [stdout] test tests::week1_day3::test_block_iterator ... ok [INFO] [stdout] test tests::week1_day3::test_block_seek_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_single_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_decode ... ok [INFO] [stdout] test tests::week1_day7::test_task1_bloom_filter ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_two_blocks ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_all ... ok [INFO] [stdout] test tests::week1_day4::test_sst_iterator ... ok [INFO] [stdout] test tests::week1_day7::test_task3_block_key_compression ... ok [INFO] [stdout] test tests::week1_day7::test_task2_sst_decode ... ok [INFO] [stdout] test tests::week1_day1::test_task2_storage_integration ... ok [INFO] [stdout] test tests::week1_day4::test_sst_seek_key ... ok [INFO] [stdout] test tests::week1_day1::test_task4_storage_integration ... ok [INFO] [stdout] test tests::week1_day2::test_task4_integration ... ok [INFO] [stdout] test tests::week1_day1::test_task3_storage_integration ... ok [INFO] [stdout] test tests::week1_day5::test_task2_storage_scan ... ok [INFO] [stdout] test tests::week1_day5::test_task3_storage_get ... ok [INFO] [stdout] test tests::week1_day1::test_task3_freeze_on_capacity ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_scan ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_get ... ok [INFO] [stdout] test tests::week2_day1::test_task2_concat_iterator ... ok [INFO] [stdout] test tests::week2_day1::test_task3_integration ... ok [INFO] [stdout] test tests::week2_day1::test_task1_full_compaction ... ok [INFO] [stdout] test tests::week1_day6::test_task3_sst_filter ... ok [INFO] [stdout] test tests::week2_day6::test_integration_simple ... ok [INFO] [stdout] test tests::week2_day6::test_integration_leveled ... ok [INFO] [stdout] test tests::week2_day6::test_integration_tiered ... ok [INFO] [stdout] test tests::week2_day5::test_integration_leveled ... ok [INFO] [stdout] test tests::week2_day5::test_integration_tiered ... ok [INFO] [stdout] test tests::week2_day5::test_integration_simple ... ok [INFO] [stdout] test tests::week1_day6::test_task2_auto_flush ... ok [INFO] [stdout] test tests::week2_day5::test_multiple_compacted_ssts_leveled ... ok [INFO] [stdout] test tests::week2_day4::test_integration ... ok [INFO] [stdout] test tests::week2_day3::test_integration ... ok [INFO] [stdout] test tests::week2_day2::test_integration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 56 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.50s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/compaction-simulator.rs (/opt/rustwide/target/debug/deps/compaction_simulator_ref-1fdee2f45744bed2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/mini-lsm-cli.rs (/opt/rustwide/target/debug/deps/mini_lsm_cli_ref-a42566937258cb57) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/wrapper.rs (/opt/rustwide/target/debug/deps/mini_lsm_wrapper_ref-13058ce8cee73e4e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_lsm_mvcc-bb3b783dc06a0b42) [INFO] [stdout] [INFO] [stdout] running 72 tests [INFO] [stdout] test tests::week1_day1::test_task1_memtable_get ... ok [INFO] [stdout] test tests::week1_day1::test_task1_memtable_overwrite ... ok [INFO] [stdout] test tests::week1_day2::test_task1_empty_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task1_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_error ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_full ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_all ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_empty ... ok [INFO] [stdout] test tests::week1_day2::test_task3_fused_iterator ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_2 ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_1 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_2 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_1 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_single_key ... ok [INFO] [stdout] test tests::week1_day3::test_block_decode ... ok [INFO] [stdout] test tests::week1_day3::test_block_encode ... ok [INFO] [stdout] test tests::week1_day3::test_block_iterator ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_3 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_4 ... ok [INFO] [stdout] test tests::week1_day1::test_task2_storage_integration ... ok [INFO] [stdout] test tests::week1_day3::test_block_seek_key ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_1 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_5 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_2 ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_two_blocks ... ok [INFO] [stdout] test tests::week1_day4::test_sst_decode ... ok [INFO] [stdout] test tests::week1_day2::test_task4_integration ... ok [INFO] [stdout] test tests::week1_day7::test_task1_bloom_filter ... ok [INFO] [stdout] test tests::week1_day1::test_task4_storage_integration ... ok [INFO] [stdout] test tests::week1_day4::test_sst_seek_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_iterator ... ok [INFO] [stdout] test tests::week1_day7::test_task2_sst_decode ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_single_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_all ... ok [INFO] [stdout] test tests::week1_day1::test_task3_storage_integration ... ok [INFO] [stdout] test tests::week1_day7::test_task3_block_key_compression ... ok [INFO] [stdout] test tests::week1_day5::test_task2_storage_scan ... ok [INFO] [stdout] test tests::week1_day5::test_task3_storage_get ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_scan ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_get ... ok [INFO] [stdout] test tests::week2_day1::test_task2_concat_iterator ... ok [INFO] [stdout] test tests::week3_day1::test_sst_build_multi_version_hard ... ok [INFO] [stdout] test tests::week3_day1::test_sst_build_multi_version_simple ... ok [INFO] [stdout] test tests::week2_day1::test_task3_integration ... ok [INFO] [stdout] test tests::week2_day1::test_task1_full_compaction ... ok [INFO] [stdout] test tests::week3_day3::test_task2_memtable_mvcc ... ok [INFO] [stdout] test tests::week3_day3::test_task3_sst_ts ... ok [INFO] [stdout] test tests::week3_day4::test_task1_watermark ... ok [INFO] [stdout] test tests::week1_day1::test_task3_freeze_on_capacity ... ok [INFO] [stdout] test tests::week3_day4::test_task2_snapshot_watermark ... ok [INFO] [stdout] test tests::week3_day3::test_task2_lsm_iterator_mvcc ... ok [INFO] [stdout] test tests::week3_day5::test_txn_integration ... ok [INFO] [stdout] test tests::week3_day6::test_serializable_1 ... ok [INFO] [stdout] test tests::week3_day6::test_serializable_2 ... ok [INFO] [stdout] test tests::week3_day6::test_serializable_3_ts_range ... ok [INFO] [stdout] test tests::week3_day6::test_serializable_5_read_only ... ok [INFO] [stdout] test tests::week3_day6::test_serializable_4_scan ... ok [INFO] [stdout] test tests::week3_day4::test_task3_mvcc_compaction ... ok [INFO] [stdout] test tests::week3_day7::test_task3_mvcc_compaction ... ok [INFO] [stdout] test tests::week2_day6::test_integration_leveled ... ok [INFO] [stdout] test tests::week2_day6::test_integration_simple ... ok [INFO] [stdout] test tests::week2_day6::test_integration_tiered ... ok [INFO] [stdout] test tests::week2_day5::test_integration_leveled ... ok [INFO] [stdout] test tests::week2_day5::test_integration_simple ... ok [INFO] [stdout] test tests::week1_day6::test_task3_sst_filter ... ok [INFO] [stdout] test tests::week2_day5::test_integration_tiered ... ok [INFO] [stdout] test tests::week1_day6::test_task2_auto_flush ... ok [INFO] [stdout] test tests::week2_day5::test_multiple_compacted_ssts_leveled ... ok [INFO] [stdout] test tests::week2_day4::test_integration ... ok [INFO] [stdout] test tests::week2_day3::test_integration ... ok [INFO] [stdout] test tests::week2_day2::test_integration ... ok [INFO] [stdout] test tests::week3_day2::test_task3_compaction_integration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 14.80s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/compaction-simulator.rs (/opt/rustwide/target/debug/deps/compaction_simulator_mvcc_ref-125b1a2d40e49022) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/mini-lsm-cli.rs (/opt/rustwide/target/debug/deps/mini_lsm_cli_mvcc_ref-d9ff5b4e9d20f134) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/wrapper.rs (/opt/rustwide/target/debug/deps/mini_lsm_wrapper_mvcc_ref-3fb9b9631baa883c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_lsm_starter-92304ab4b0cd6ded) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test tests::week1_day1::test_task1_memtable_get ... ok [INFO] [stdout] test tests::week1_day2::test_task1_empty_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_empty ... ok [INFO] [stdout] test tests::week1_day1::test_task1_memtable_overwrite ... ok [INFO] [stdout] test tests::week1_day2::test_task1_memtable_iter ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_2 ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_1 ... ok [INFO] [stdout] test tests::week1_day2::test_task3_fused_iterator ... ok [INFO] [stdout] test tests::week1_day2::test_task2_merge_error ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_1 ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_full ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_all ... ok [INFO] [stdout] test tests::week1_day3::test_block_encode ... ok [INFO] [stdout] test tests::week1_day3::test_block_decode ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_large_2 ... ok [INFO] [stdout] test tests::week1_day3::test_block_iterator ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_1 ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_2 ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_two_blocks ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_3 ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_single_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_decode ... ok [INFO] [stdout] test tests::week1_day3::test_block_seek_key ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_5 ... ok [INFO] [stdout] test tests::week1_day2::test_task4_integration ... ok [INFO] [stdout] test tests::week1_day5::test_task1_merge_4 ... ok [INFO] [stdout] test tests::week1_day1::test_task3_storage_integration ... ok [INFO] [stdout] test tests::week1_day1::test_task2_storage_integration ... ok [INFO] [stdout] test tests::week1_day7::test_task1_bloom_filter ... ok [INFO] [stdout] test tests::week1_day3::test_block_build_single_key ... ok [INFO] [stdout] test tests::week1_day4::test_sst_iterator ... ok [INFO] [stdout] test tests::week1_day4::test_sst_build_all ... ok [INFO] [stdout] test tests::week1_day4::test_sst_seek_key ... ok [INFO] [stdout] test tests::week1_day1::test_task4_storage_integration ... ok [INFO] [stdout] test tests::week1_day5::test_task2_storage_scan ... ok [INFO] [stdout] test tests::week1_day5::test_task3_storage_get ... ok [INFO] [stdout] test tests::week1_day7::test_task3_block_key_compression ... ok [INFO] [stdout] test tests::week1_day7::test_task2_sst_decode ... ok [INFO] [stdout] test tests::week1_day1::test_task3_freeze_on_capacity ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_scan ... ok [INFO] [stdout] test tests::week1_day6::test_task1_storage_get ... ok [INFO] [stdout] test tests::week2_day1::test_task1_full_compaction ... ok [INFO] [stdout] test tests::week2_day1::test_task2_concat_iterator ... ok [INFO] [stdout] test tests::week2_day1::test_task3_integration ... ok [INFO] [stdout] test tests::week1_day6::test_task3_sst_filter ... ok [INFO] [stdout] test tests::week1_day6::test_task2_auto_flush ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/compaction-simulator.rs (/opt/rustwide/target/debug/deps/compaction_simulator-ac8fd2856ad877dc) [INFO] [stderr] Running unittests src/bin/mini-lsm-cli.rs (/opt/rustwide/target/debug/deps/mini_lsm_cli-91136061fc1ffada) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/wrapper.rs (/opt/rustwide/target/debug/deps/wrapper-3f8add754d6c3b91) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mini_lsm_xtask-573606fb3805bfd6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mini_lsm [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mini_lsm_mvcc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mini_lsm_starter [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> mini-lsm-starter/src/iterators/two_merge_iterator.rs:48:16 [INFO] [stderr] | [INFO] [stderr] 48 | if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 48 - if (self.b.is_valid() && self.a.key() == self.b.key()) { [INFO] [stderr] 48 + if self.b.is_valid() && self.a.key() == self.b.key() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9928de0cac24e83cc56d5941c27460ff44ef0a58cc96589481286be56e49f722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9928de0cac24e83cc56d5941c27460ff44ef0a58cc96589481286be56e49f722", kill_on_drop: false }` [INFO] [stdout] 9928de0cac24e83cc56d5941c27460ff44ef0a58cc96589481286be56e49f722