[INFO] cloning repository https://github.com/codejoyan/step_wise_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/codejoyan/step_wise_mini_lsm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodejoyan%2Fstep_wise_mini_lsm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodejoyan%2Fstep_wise_mini_lsm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ac5054d2fb27789d0a205de3665cd370819a687 [INFO] checking codejoyan/step_wise_mini_lsm against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodejoyan%2Fstep_wise_mini_lsm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codejoyan/step_wise_mini_lsm [INFO] finished tweaking git repo https://github.com/codejoyan/step_wise_mini_lsm [INFO] tweaked toml for git repo https://github.com/codejoyan/step_wise_mini_lsm written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codejoyan/step_wise_mini_lsm on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codejoyan/step_wise_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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e30d12ff8b2a82611b1f6d557a289548c7ccedb93381b3d1e850a5d9a57a6d11 [INFO] running `Command { std: "docker" "start" "-a" "e30d12ff8b2a82611b1f6d557a289548c7ccedb93381b3d1e850a5d9a57a6d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e30d12ff8b2a82611b1f6d557a289548c7ccedb93381b3d1e850a5d9a57a6d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e30d12ff8b2a82611b1f6d557a289548c7ccedb93381b3d1e850a5d9a57a6d11", kill_on_drop: false }` [INFO] [stdout] e30d12ff8b2a82611b1f6d557a289548c7ccedb93381b3d1e850a5d9a57a6d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636f68423f1b6c40e5699b4f78233a6ed9f5d34437f59568df6011e721ecbda9 [INFO] running `Command { std: "docker" "start" "-a" "636f68423f1b6c40e5699b4f78233a6ed9f5d34437f59568df6011e721ecbda9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling ouroboros_macro v0.18.3 [INFO] [stderr] Checking ouroboros v0.18.3 [INFO] [stderr] Checking step_wise_mini_lsm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `LsmStorageState` is never constructed [INFO] [stdout] --> src/lsm_storage.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LsmStorageState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mem_table` and `imm_memtables` are never read [INFO] [stdout] --> src/lsm_storage.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LsmStorageState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | mem_table: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | imm_memtables: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LsmStorageState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/lsm_storage.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl LsmStorageState { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 17 | fn create() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_size`, `target_sst_size`, `num_memtable_limit`, `wal_enabled`, and `serializable` are never read [INFO] [stdout] --> src/lsm_storage.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LsmStorageOptions { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 27 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | target_sst_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | num_memtable_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | wal_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | serializable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LsmStorageOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniLsm` is never constructed [INFO] [stdout] --> src/lsm_storage.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct MiniLsm { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `write_batch`, `put`, and `delete` are never used [INFO] [stdout] --> src/lsm_storage.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl MiniLsm { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 56 | pub fn get(&self, key: &[u8]) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn write_batch>(&self, batch: &[WriteBatchRecord]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn put(&self, key: &[u8], value: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn delete(&self, key: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LsmStorageInner` is never constructed [INFO] [stdout] --> src/lsm_storage.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct LsmStorageInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lsm_storage.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 80 | impl LsmStorageInner { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 81 | pub(crate) fn next_sst_id(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get(&self, key: &[u8]) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn freeze_memtable_with_memtable(&self, mem_table: Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn force_freeze_memtable(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn try_freeze(&self, estimated_size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn write_batch>(&self, batch: &[WriteBatchRecord]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn put(&self, key: &[u8], value: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn delete(&self, key: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/mem_table.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MemTable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | map: Arc>, [INFO] [stdout] 24 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | 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] --> src/key.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 80 | 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] --> src/mem_table.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | 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] 95 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LsmStorageState` is never constructed [INFO] [stdout] --> src/lsm_storage.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LsmStorageState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mem_table` and `imm_memtables` are never read [INFO] [stdout] --> src/lsm_storage.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LsmStorageState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | mem_table: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | imm_memtables: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LsmStorageState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/lsm_storage.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl LsmStorageState { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 17 | fn create() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_size`, `target_sst_size`, `num_memtable_limit`, `wal_enabled`, and `serializable` are never read [INFO] [stdout] --> src/lsm_storage.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LsmStorageOptions { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 27 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | target_sst_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | num_memtable_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | wal_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | serializable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LsmStorageOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `step_wise_mini_lsm` (lib) due to 1 previous error; 11 warnings emitted [INFO] [stdout] warning: struct `MiniLsm` is never constructed [INFO] [stdout] --> src/lsm_storage.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct MiniLsm { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `get`, `write_batch`, `put`, and `delete` are never used [INFO] [stdout] --> src/lsm_storage.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl MiniLsm { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 56 | pub fn get(&self, key: &[u8]) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn write_batch>(&self, batch: &[WriteBatchRecord]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn put(&self, key: &[u8], value: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn delete(&self, key: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LsmStorageInner` is never constructed [INFO] [stdout] --> src/lsm_storage.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct LsmStorageInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lsm_storage.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 80 | impl LsmStorageInner { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 81 | pub(crate) fn next_sst_id(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get(&self, key: &[u8]) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn freeze_memtable_with_memtable(&self, mem_table: Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn force_freeze_memtable(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn try_freeze(&self, estimated_size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn write_batch>(&self, batch: &[WriteBatchRecord]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn put(&self, key: &[u8], value: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn delete(&self, key: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/mem_table.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MemTable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | map: Arc>, [INFO] [stdout] 24 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | 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] --> src/key.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 80 | 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] --> src/mem_table.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | 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] 95 | fn key(&self) -> KeySlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `step_wise_mini_lsm` (lib test) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "636f68423f1b6c40e5699b4f78233a6ed9f5d34437f59568df6011e721ecbda9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636f68423f1b6c40e5699b4f78233a6ed9f5d34437f59568df6011e721ecbda9", kill_on_drop: false }` [INFO] [stdout] 636f68423f1b6c40e5699b4f78233a6ed9f5d34437f59568df6011e721ecbda9