[INFO] cloning repository https://github.com/yatharthmathur/rustic-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yatharthmathur/rustic-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatharthmathur%2Frustic-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatharthmathur%2Frustic-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c86ab3f689019df92b1d8438ff447d3b7d5348f7 [INFO] checking yatharthmathur/rustic-db against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatharthmathur%2Frustic-db" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yatharthmathur/rustic-db on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yatharthmathur/rustic-db [INFO] finished tweaking git repo https://github.com/yatharthmathur/rustic-db [INFO] tweaked toml for git repo https://github.com/yatharthmathur/rustic-db written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yatharthmathur/rustic-db 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c052fb92baf6799fd63654d9cd6859d46694ef9d646b1c1a7b66a1afffd18736 [INFO] running `Command { std: "docker" "start" "-a" "c052fb92baf6799fd63654d9cd6859d46694ef9d646b1c1a7b66a1afffd18736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c052fb92baf6799fd63654d9cd6859d46694ef9d646b1c1a7b66a1afffd18736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c052fb92baf6799fd63654d9cd6859d46694ef9d646b1c1a7b66a1afffd18736", kill_on_drop: false }` [INFO] [stdout] c052fb92baf6799fd63654d9cd6859d46694ef9d646b1c1a7b66a1afffd18736 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65d786c82956c74ecfed09bb057f41f7bea93bae90bb3ad6218b1234d2016228 [INFO] running `Command { std: "docker" "start" "-a" "65d786c82956c74ecfed09bb057f41f7bea93bae90bb3ad6218b1234d2016228", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rustic-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::manager::RusticManager` [INFO] [stdout] --> src/managers/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::manager::RusticManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/stores/implementations/bytes/tests.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/bytes/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/hmaps/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/stores/implementations/hsets/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/hsets/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/integers/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/lists/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/strings/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::KeyValueStore` [INFO] [stdout] --> src/stores/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/stores/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ the item `env_logger` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ the item `env_logger` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_store`, `get_store`, and `list_store_names` are never used [INFO] [stdout] --> src/managers/manager.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RusticManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn remove_store(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_store(&self, name: &str) -> Option<&KeyValueStore> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn list_store_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(FromUtf8Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseIntError` and `TryFromIntError` are never constructed [INFO] [stdout] --> src/stores/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum TypeConversionError { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 8 | ParseIntError(ParseIntError), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FromUtf8Error(FromUtf8Error), [INFO] [stdout] 10 | TryFromIntError(TryFromIntError), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AsReference` and `AsMutable` are never constructed [INFO] [stdout] --> src/stores/errors.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum TypeConversionImpossible { [INFO] [stdout] | ------------------------ variants in this enum [INFO] [stdout] 16 | IncompatibleTypes, [INFO] [stdout] 17 | AsReference, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | AsMutable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeConversionImpossible` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(TypeConversionImpossible), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(TypeConversionError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_bytes`, `get_bytes`, and `pop_bytes` are never used [INFO] [stdout] --> src/stores/implementations/bytes/bytes.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 4 | /// Inserts a Key-Value(in Vec type) pair in the KeyValueStore [INFO] [stdout] 5 | pub fn set_bytes(&mut self, key: &str, value: Vec, ttl: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get_bytes(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn pop_bytes(&mut self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/implementations/hmaps/hmaps.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 5 | /// Inserts a Key-Value(in HashMap<(String, String)> type) pair in the KeyValueStore [INFO] [stdout] 6 | pub fn set_hmap(&mut self, key: &str, value: Vec<(String, String)>, ttl: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_hmap(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn hmap_insert( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn hmap_get(&self, key: &str, hmap_key: String) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn hmap_remove( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn hmap_contains_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn hmap_size(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn hmap_keys(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn hmap_values(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn hmap_items(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/implementations/hsets/hsets.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 5 | /// Inserts a Key-Value(in HashSet type) pair in the KeyValueStore [INFO] [stdout] 6 | pub fn set_hset(&mut self, key: &str, value: Vec, ttl: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_hset(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn pop_hset(&mut self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn hset_add(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn hset_remove(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn hset_contains(&self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn hset_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn hset_union(&self, key1: &str, key2: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn hset_difference( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn hset_size(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_i64`, `get_i64`, `pop_i64`, `decr`, and `incr` are never used [INFO] [stdout] --> src/stores/implementations/integers/integers.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 9 | /// Inserts a Key-Value(in i64 type) pair in the KeyValueStore [INFO] [stdout] 10 | pub fn set_i64(&mut self, key: &str, value: i64, ttl: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_i64(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn pop_i64(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn decr(&mut self, key: &str, by: Option) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn incr(&mut self, key: &str, by: Option) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/implementations/lists/lists.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 5 | /// Inserts a Key-Value(in Vec type) pair in the KeyValueStore [INFO] [stdout] 6 | pub fn set_list(&mut self, key: &str, value: Vec, ttl: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_list(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn pop_list(&mut self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn list_pushb(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn list_pushf(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn list_popf(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn list_popb(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn list_front(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn list_back(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn list_size(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_string` is never used [INFO] [stdout] --> src/stores/implementations/strings/strings.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl KeyValueStore { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn pop_string(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_key`, `is_expired`, and `clear` are never used [INFO] [stdout] --> src/stores/store.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_expired(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer64`, `Bytes`, `Deque`, `Set`, and `HashMap` are never constructed [INFO] [stdout] --> src/stores/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ValueType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Integer64(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Bytes(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] 8 | Deque(VecDeque), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Set(HashSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | HashMap(HashMap), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stores/value_entry.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ValueEntry { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn from_i64(value: i64, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_bytes(value: Vec, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_list(value: Vec, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_hset(value: HashSet, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from_hashmap(value: HashMap, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_value_as_i64(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_value_as_bytes(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_value_as_list(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_value_as_deque(&self) -> Result<&VecDeque, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_value_as_mut_deque(&mut self) -> Result<&mut VecDeque, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_value_as_hset(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_value_as_mut_hset(&mut self) -> Result<&mut HashSet, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_value_as_hmap(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_value_as_mut_hmap(&mut self) -> Result<&mut HashMap, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | ParseIntError(ParseIntError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | ParseIntError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(FromUtf8Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(TypeConversionImpossible), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(TypeConversionError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.95s [INFO] running `Command { std: "docker" "inspect" "65d786c82956c74ecfed09bb057f41f7bea93bae90bb3ad6218b1234d2016228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d786c82956c74ecfed09bb057f41f7bea93bae90bb3ad6218b1234d2016228", kill_on_drop: false }` [INFO] [stdout] 65d786c82956c74ecfed09bb057f41f7bea93bae90bb3ad6218b1234d2016228 [INFO] checking yatharthmathur/rustic-db against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatharthmathur%2Frustic-db" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yatharthmathur/rustic-db on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yatharthmathur/rustic-db [INFO] finished tweaking git repo https://github.com/yatharthmathur/rustic-db [INFO] tweaked toml for git repo https://github.com/yatharthmathur/rustic-db written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yatharthmathur/rustic-db 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e3ce0e92565f6f9a6af56b9faec5ea0f4e305a5e8d19a9bec3e8142cbdd6781 [INFO] running `Command { std: "docker" "start" "-a" "3e3ce0e92565f6f9a6af56b9faec5ea0f4e305a5e8d19a9bec3e8142cbdd6781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e3ce0e92565f6f9a6af56b9faec5ea0f4e305a5e8d19a9bec3e8142cbdd6781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3ce0e92565f6f9a6af56b9faec5ea0f4e305a5e8d19a9bec3e8142cbdd6781", kill_on_drop: false }` [INFO] [stdout] 3e3ce0e92565f6f9a6af56b9faec5ea0f4e305a5e8d19a9bec3e8142cbdd6781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bec9b22a2ebd94194a22af404a9ccb7ff53194918853277ffeb829ec916ffb87 [INFO] running `Command { std: "docker" "start" "-a" "bec9b22a2ebd94194a22af404a9ccb7ff53194918853277ffeb829ec916ffb87", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rustic-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::manager::RusticManager` [INFO] [stdout] --> src/managers/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::manager::RusticManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/stores/implementations/bytes/tests.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/bytes/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/hmaps/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/stores/implementations/hsets/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/hsets/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/integers/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/lists/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stores::store::KeyValueStore` [INFO] [stdout] --> src/stores/implementations/strings/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stores::store::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::KeyValueStore` [INFO] [stdout] --> src/stores/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::KeyValueStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/stores/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ the item `env_logger` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ the item `env_logger` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_store`, `get_store`, and `list_store_names` are never used [INFO] [stdout] --> src/managers/manager.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RusticManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn remove_store(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_store(&self, name: &str) -> Option<&KeyValueStore> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn list_store_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(FromUtf8Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseIntError` and `TryFromIntError` are never constructed [INFO] [stdout] --> src/stores/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum TypeConversionError { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 8 | ParseIntError(ParseIntError), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FromUtf8Error(FromUtf8Error), [INFO] [stdout] 10 | TryFromIntError(TryFromIntError), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AsReference` and `AsMutable` are never constructed [INFO] [stdout] --> src/stores/errors.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum TypeConversionImpossible { [INFO] [stdout] | ------------------------ variants in this enum [INFO] [stdout] 16 | IncompatibleTypes, [INFO] [stdout] 17 | AsReference, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | AsMutable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeConversionImpossible` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(TypeConversionImpossible), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(TypeConversionError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_bytes`, `get_bytes`, and `pop_bytes` are never used [INFO] [stdout] --> src/stores/implementations/bytes/bytes.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 4 | /// Inserts a Key-Value(in Vec type) pair in the KeyValueStore [INFO] [stdout] 5 | pub fn set_bytes(&mut self, key: &str, value: Vec, ttl: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn get_bytes(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn pop_bytes(&mut self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/implementations/hmaps/hmaps.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 5 | /// Inserts a Key-Value(in HashMap<(String, String)> type) pair in the KeyValueStore [INFO] [stdout] 6 | pub fn set_hmap(&mut self, key: &str, value: Vec<(String, String)>, ttl: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_hmap(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn hmap_insert( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn hmap_get(&self, key: &str, hmap_key: String) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn hmap_remove( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn hmap_contains_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn hmap_size(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn hmap_keys(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn hmap_values(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn hmap_items(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/implementations/hsets/hsets.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 5 | /// Inserts a Key-Value(in HashSet type) pair in the KeyValueStore [INFO] [stdout] 6 | pub fn set_hset(&mut self, key: &str, value: Vec, ttl: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_hset(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn pop_hset(&mut self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn hset_add(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn hset_remove(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn hset_contains(&self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn hset_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn hset_union(&self, key1: &str, key2: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn hset_difference( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn hset_size(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_i64`, `get_i64`, `pop_i64`, `decr`, and `incr` are never used [INFO] [stdout] --> src/stores/implementations/integers/integers.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 9 | /// Inserts a Key-Value(in i64 type) pair in the KeyValueStore [INFO] [stdout] 10 | pub fn set_i64(&mut self, key: &str, value: i64, ttl: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_i64(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn pop_i64(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn decr(&mut self, key: &str, by: Option) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn incr(&mut self, key: &str, by: Option) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/implementations/lists/lists.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 5 | /// Inserts a Key-Value(in Vec type) pair in the KeyValueStore [INFO] [stdout] 6 | pub fn set_list(&mut self, key: &str, value: Vec, ttl: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_list(&self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn pop_list(&mut self, key: &str) -> Option, ValueError>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn list_pushb(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn list_pushf(&mut self, key: &str, value: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn list_popf(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn list_popb(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn list_front(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn list_back(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn list_size(&self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_string` is never used [INFO] [stdout] --> src/stores/implementations/strings/strings.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl KeyValueStore { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn pop_string(&mut self, key: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_key`, `is_expired`, and `clear` are never used [INFO] [stdout] --> src/stores/store.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl KeyValueStore { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_expired(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer64`, `Bytes`, `Deque`, `Set`, and `HashMap` are never constructed [INFO] [stdout] --> src/stores/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ValueType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Integer64(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Bytes(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] 8 | Deque(VecDeque), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Set(HashSet), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | HashMap(HashMap), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stores/value_entry.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ValueEntry { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn from_i64(value: i64, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_bytes(value: Vec, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_list(value: Vec, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_hset(value: HashSet, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from_hashmap(value: HashMap, expiration: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_value_as_i64(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_value_as_bytes(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_value_as_list(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_value_as_deque(&self) -> Result<&VecDeque, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_value_as_mut_deque(&mut self) -> Result<&mut VecDeque, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_value_as_hset(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_value_as_mut_hset(&mut self) -> Result<&mut HashSet, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_value_as_hmap(&self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_value_as_mut_hmap(&mut self) -> Result<&mut HashMap, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | ParseIntError(ParseIntError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | ParseIntError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(FromUtf8Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | FromUtf8Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(TypeConversionImpossible), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | TypeConversionImpossible(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/stores/errors.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(TypeConversionError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | TypeConversionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.45s [INFO] running `Command { std: "docker" "inspect" "bec9b22a2ebd94194a22af404a9ccb7ff53194918853277ffeb829ec916ffb87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec9b22a2ebd94194a22af404a9ccb7ff53194918853277ffeb829ec916ffb87", kill_on_drop: false }` [INFO] [stdout] bec9b22a2ebd94194a22af404a9ccb7ff53194918853277ffeb829ec916ffb87