[INFO] cloning repository https://github.com/frontseat-astronaut/ddia-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frontseat-astronaut/ddia-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrontseat-astronaut%2Fddia-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrontseat-astronaut%2Fddia-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16dcad1cbbc95f93a66dcf3e675152e0b436edff [INFO] building frontseat-astronaut/ddia-in-rust/16dcad1cbbc95f93a66dcf3e675152e0b436edff against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrontseat-astronaut%2Fddia-in-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frontseat-astronaut/ddia-in-rust on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frontseat-astronaut/ddia-in-rust [INFO] finished tweaking git repo https://github.com/frontseat-astronaut/ddia-in-rust [INFO] tweaked toml for git repo https://github.com/frontseat-astronaut/ddia-in-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/frontseat-astronaut/ddia-in-rust 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded apache-avro v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ea49698bbb85ed3734973c6f6ad6f40f2d2aa6992ce3a249a1f51114f3a52d0 [INFO] running `Command { std: "docker" "start" "-a" "3ea49698bbb85ed3734973c6f6ad6f40f2d2aa6992ce3a249a1f51114f3a52d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ea49698bbb85ed3734973c6f6ad6f40f2d2aa6992ce3a249a1f51114f3a52d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea49698bbb85ed3734973c6f6ad6f40f2d2aa6992ce3a249a1f51114f3a52d0", kill_on_drop: false }` [INFO] [stdout] 3ea49698bbb85ed3734973c6f6ad6f40f2d2aa6992ce3a249a1f51114f3a52d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f634f9b1a95882d6ea44f25bc806e70eef8cd8380a8644aa7099523827c22f5 [INFO] running `Command { std: "docker" "start" "-a" "7f634f9b1a95882d6ea44f25bc806e70eef8cd8380a8644aa7099523827c22f5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dary_heap v0.3.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typed-builder-macro v0.19.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling typed-builder v0.19.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling apache-avro v0.17.0 [INFO] [stderr] Compiling databases-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `correctness_test::CorrectnessTest` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use test::{correctness_test::CorrectnessTest, latency_test::LatencyTest, Test}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/sstable/segment_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/test/utils.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | io::{BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/test/correctness_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidInput` is never constructed [INFO] [stdout] --> src/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Avro` and `JSON` are never constructed [INFO] [stdout] --> src/kv_file/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum KVFileSerializerOption { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 26 | Avro, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | MessagePack, [INFO] [stdout] 28 | JSON, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KVFileSerializerOption` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status` is never used [INFO] [stdout] --> src/kvdb/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait KVDb { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn set_status(&mut self, key: &str, status: &KeyStatus) -> DbResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorrectnessTest` is never constructed [INFO] [stdout] --> src/test/correctness_test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CorrectnessTest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_file` are never used [INFO] [stdout] --> src/test/correctness_test.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl CorrectnessTest { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_file(file_path: &str) -> CorrectnessTest { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/test/latency_test.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl LatencyTest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chance` is never used [INFO] [stdout] --> src/test/utils.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn chance(num: u8) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR_PATH` is never used [INFO] [stdout] --> src/test/utils.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const DIR_PATH: &str = "./test_cases/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_operations` is never used [INFO] [stdout] --> src/test/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn generate_random_operations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/kv_file/mod.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn iter(&mut self) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn iter(&mut self) -> DbResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/kv_file/mod.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter_from_offset(&mut self, offset: u64) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter_from_offset(&mut self, offset: u64) -> DbResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/kv_file/mod.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | fn create_iterator(&mut self, offset: u64) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | fn create_iterator(&mut self, offset: u64) -> DbResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.64s [INFO] running `Command { std: "docker" "inspect" "7f634f9b1a95882d6ea44f25bc806e70eef8cd8380a8644aa7099523827c22f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f634f9b1a95882d6ea44f25bc806e70eef8cd8380a8644aa7099523827c22f5", kill_on_drop: false }` [INFO] [stdout] 7f634f9b1a95882d6ea44f25bc806e70eef8cd8380a8644aa7099523827c22f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3042926b15253b9132c59e77bf14eacad0d8546c7f29cd13636c1e0ccddc879 [INFO] running `Command { std: "docker" "start" "-a" "a3042926b15253b9132c59e77bf14eacad0d8546c7f29cd13636c1e0ccddc879", kill_on_drop: false }` [INFO] [stderr] Compiling databases-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `correctness_test::CorrectnessTest` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use test::{correctness_test::CorrectnessTest, latency_test::LatencyTest, Test}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/sstable/segment_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/test/utils.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | io::{BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/test/correctness_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidInput` is never constructed [INFO] [stdout] --> src/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Avro` and `JSON` are never constructed [INFO] [stdout] --> src/kv_file/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum KVFileSerializerOption { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 26 | Avro, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | MessagePack, [INFO] [stdout] 28 | JSON, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KVFileSerializerOption` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status` is never used [INFO] [stdout] --> src/kvdb/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait KVDb { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn set_status(&mut self, key: &str, status: &KeyStatus) -> DbResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorrectnessTest` is never constructed [INFO] [stdout] --> src/test/correctness_test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CorrectnessTest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_file` are never used [INFO] [stdout] --> src/test/correctness_test.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl CorrectnessTest { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_file(file_path: &str) -> CorrectnessTest { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/test/latency_test.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl LatencyTest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chance` is never used [INFO] [stdout] --> src/test/utils.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn chance(num: u8) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR_PATH` is never used [INFO] [stdout] --> src/test/utils.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const DIR_PATH: &str = "./test_cases/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_operations` is never used [INFO] [stdout] --> src/test/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn generate_random_operations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/kv_file/mod.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn iter(&mut self) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn iter(&mut self) -> DbResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/kv_file/mod.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter_from_offset(&mut self, offset: u64) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter_from_offset(&mut self, offset: u64) -> DbResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/kv_file/mod.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | fn create_iterator(&mut self, offset: u64) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | fn create_iterator(&mut self, offset: u64) -> DbResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "a3042926b15253b9132c59e77bf14eacad0d8546c7f29cd13636c1e0ccddc879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3042926b15253b9132c59e77bf14eacad0d8546c7f29cd13636c1e0ccddc879", kill_on_drop: false }` [INFO] [stdout] a3042926b15253b9132c59e77bf14eacad0d8546c7f29cd13636c1e0ccddc879