[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatharthmathur%2Frustic-db" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yatharthmathur/rustic-db on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.13 [INFO] [stderr] Downloaded socket2 v0.5.5 [INFO] [stderr] Downloaded tokio-macros v2.2.0 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded windows-targets v0.52.0 [INFO] [stderr] Downloaded is-terminal v0.4.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.76 [INFO] [stderr] Downloaded errno v0.3.8 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded hermit-abi v0.3.4 [INFO] [stderr] Downloaded smallvec v1.12.0 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.195 [INFO] [stderr] Downloaded bytes v1.5.0 [INFO] [stderr] Downloaded serde v1.0.195 [INFO] [stderr] Downloaded mio v0.8.10 [INFO] [stderr] Downloaded memchr v2.7.1 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded aho-corasick v1.1.2 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded regex v1.10.2 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded rustix v0.38.30 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.0 [INFO] [stderr] Downloaded regex-automata v0.4.3 [INFO] [stderr] Downloaded libc v0.2.152 [INFO] [stderr] Downloaded tokio v1.35.1 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.13 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 806d70f507457db22dce229b57be3d68af3a81ca3c3e6c399cdc121996228c08 [INFO] running `Command { std: "docker" "start" "-a" "806d70f507457db22dce229b57be3d68af3a81ca3c3e6c399cdc121996228c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "806d70f507457db22dce229b57be3d68af3a81ca3c3e6c399cdc121996228c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806d70f507457db22dce229b57be3d68af3a81ca3c3e6c399cdc121996228c08", kill_on_drop: false }` [INFO] [stdout] 806d70f507457db22dce229b57be3d68af3a81ca3c3e6c399cdc121996228c08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a384d6661e8a23f0e25cdf94d3c2b3a8a0c684c4fde4884d72b2f57c879067a9 [INFO] running `Command { std: "docker" "start" "-a" "a384d6661e8a23f0e25cdf94d3c2b3a8a0c684c4fde4884d72b2f57c879067a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking bytes v1.5.0 [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 socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.10 [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` and `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: 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] = note: `TypeConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ValueError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ValueError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 26 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: `TypeConversionError` 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] 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] = note: `TypeConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ValueError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `ValueError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.14s [INFO] running `Command { std: "docker" "inspect" "a384d6661e8a23f0e25cdf94d3c2b3a8a0c684c4fde4884d72b2f57c879067a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a384d6661e8a23f0e25cdf94d3c2b3a8a0c684c4fde4884d72b2f57c879067a9", kill_on_drop: false }` [INFO] [stdout] a384d6661e8a23f0e25cdf94d3c2b3a8a0c684c4fde4884d72b2f57c879067a9