[INFO] cloning repository https://github.com/einQimiaozi/batioDB
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/einQimiaozi/batioDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeinQimiaozi%2FbatioDB", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeinQimiaozi%2FbatioDB'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03fa50952af051f4e2e364ec1b663176a7208715
[INFO] checking einQimiaozi/batioDB against 760e1de835e253bf28bbcbfee38b5e8ed9ffe074 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeinQimiaozi%2FbatioDB" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  98% (1007/1027)
Updating files:  99% (1017/1027)
Updating files: 100% (1027/1027)
Updating files: 100% (1027/1027), done.
[INFO] started tweaking git repo https://github.com/einQimiaozi/batioDB
[INFO] finished tweaking git repo https://github.com/einQimiaozi/batioDB
[INFO] tweaked toml for git repo https://github.com/einQimiaozi/batioDB written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/einQimiaozi/batioDB on toolchain 760e1de835e253bf28bbcbfee38b5e8ed9ffe074
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/einQimiaozi/batioDB 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" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c
[INFO] running `Command { std: "docker" "start" "735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]     Checking debug-helper v0.3.13
[INFO] [stderr]     Checking crc-any v2.4.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking serde_yaml v0.8.24
[INFO] [stderr]     Checking batioDB v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `QUERY`
[INFO] [stdout]  --> src/db.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::operations::{DELETE, INSERT, QUERY};
[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: `QUERY`
[INFO] [stdout]  --> src/db_file.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::operations::{INSERT, QUERY};
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> src/config.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, io};
[INFO] [stdout]   |               ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/config.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QUERY`
[INFO] [stdout]  --> src/db.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::operations::{DELETE, INSERT, QUERY};
[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: `QUERY`
[INFO] [stdout]  --> src/db_file.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::operations::{INSERT, QUERY};
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> src/config.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, io};
[INFO] [stdout]   |               ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> src/config.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Serialize, Deserialize, Deserializer};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/service.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let (mut tx, mut rx):(Sender<Message>, Receiver<Message>) = mpsc::channel(channel_cap);
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/service.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let (mut tx, mut rx):(Sender<Message>, Receiver<Message>) = mpsc::channel(channel_cap);
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/entry.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut status_bytes = unsafe {
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut db_index: BTreeMap<String,u64> = DB::scan_index(&mut db_file);
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mut offset: u64;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut offset: u64;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut new_index: BTreeMap<String,u64> = self.db_index.clone();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/entry.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut status_bytes = unsafe {
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let mut db_index: BTreeMap<String,u64> = DB::scan_index(&mut db_file);
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]   --> src/service.rs:46:33
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let mut value = String::new();
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 50 |                         value = match db.get(command.key) {
[INFO] [stdout]    |                         ----- `value` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mut offset: u64;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut offset: u64;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/db.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut new_index: BTreeMap<String,u64> = self.db_index.clone();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]   --> src/service.rs:46:33
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let mut value = String::new();
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 50 |                         value = match db.get(command.key) {
[INFO] [stdout]    |                         ----- `value` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut db = DB::new(config.db_path.clone());
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUERY` is never used
[INFO] [stdout]  --> src/operations.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const QUERY: u8 = 0;
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UPDATE` is never used
[INFO] [stdout]  --> src/operations.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const UPDATE: u8 = 2;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_path` is never read
[INFO] [stdout]   --> src/db.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DB {
[INFO] [stdout]    |            -- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     file_path: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_entry` and `garbage_collection` are never used
[INFO] [stdout]   --> src/db.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl DB {
[INFO] [stdout]    | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn get_entry(&mut self, key: String) -> Option<Entry> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn garbage_collection(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/config.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DBConfig {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn default() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/db.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Some(T) => offset = *T,
[INFO] [stdout]    |                  ^ help: convert the identifier to snake case: `t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/db.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Some(T) => offset = *T,
[INFO] [stdout]    |                  ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut db = DB::new(config.db_path.clone());
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         std::fs::remove_file(self.file_path.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let _ = std::fs::remove_file(self.file_path.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         std::fs::remove_file("gc_tmp_file.data".to_string());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let _ = std::fs::remove_file("gc_tmp_file.data".to_string());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/db_file.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         self.file.read(&mut buffer);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let _ = self.file.read(&mut buffer);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUERY` is never used
[INFO] [stdout]  --> src/operations.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const QUERY: u8 = 0;
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/db_file.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         self.file.read(&mut buffer);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let _ = self.file.read(&mut buffer);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/service.rs:51:34
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...                   Some(T) => T,
[INFO] [stdout]    |                            ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UPDATE` is never used
[INFO] [stdout]  --> src/operations.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const UPDATE: u8 = 2;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_path` is never read
[INFO] [stdout]   --> src/db.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DB {
[INFO] [stdout]    |            -- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     file_path: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/service.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 message.resp.send(value.into_bytes());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let _ = message.resp.send(value.into_bytes());
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_entry` and `garbage_collection` are never used
[INFO] [stdout]   --> src/db.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl DB {
[INFO] [stdout]    | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn get_entry(&mut self, key: String) -> Option<Entry> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn garbage_collection(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/service.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             tx.send(message).await;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let _ = tx.send(message).await;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/parse.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Ok(T) => T,
[INFO] [stdout]    |                ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/config.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DBConfig {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn default() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/db.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Some(T) => offset = *T,
[INFO] [stdout]    |                  ^ help: convert the identifier to snake case: `t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/db.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Some(T) => offset = *T,
[INFO] [stdout]    |                  ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         std::fs::remove_file(self.file_path.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let _ = std::fs::remove_file(self.file_path.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/db.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         std::fs::remove_file("gc_tmp_file.data".to_string());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let _ = std::fs::remove_file("gc_tmp_file.data".to_string());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/db_file.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         self.file.read(&mut buffer);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let _ = self.file.read(&mut buffer);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/db_file.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         self.file.read(&mut buffer);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let _ = self.file.read(&mut buffer);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/service.rs:51:34
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...                   Some(T) => T,
[INFO] [stdout]    |                            ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/service.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 message.resp.send(value.into_bytes());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let _ = message.resp.send(value.into_bytes());
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/service.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             tx.send(message).await;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let _ = tx.send(message).await;
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/parse.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Ok(T) => T,
[INFO] [stdout]    |                ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.56s
[INFO] running `Command { std: "docker" "inspect" "735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c", kill_on_drop: false }`
[INFO] [stdout] 735e7ce9155674c2e93e0c9144e3308bc27e1d75bc06b0607e3ed78e6539cb9c
