[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] testing yatharthmathur/rustic-db against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [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] 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] validating manifest of git repo https://github.com/yatharthmathur/rustic-db on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a686eadf84434116682aeebb707bd7ddfb8d3c5b4a2e7010ae78d6701f5147d [INFO] running `Command { std: "docker" "start" "-a" "4a686eadf84434116682aeebb707bd7ddfb8d3c5b4a2e7010ae78d6701f5147d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a686eadf84434116682aeebb707bd7ddfb8d3c5b4a2e7010ae78d6701f5147d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a686eadf84434116682aeebb707bd7ddfb8d3c5b4a2e7010ae78d6701f5147d", kill_on_drop: false }` [INFO] [stdout] 4a686eadf84434116682aeebb707bd7ddfb8d3c5b4a2e7010ae78d6701f5147d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d71dd34a1320610664e8d047f90f80a169ab36ea2b1977999b0b586c9f76b05a [INFO] running `Command { std: "docker" "start" "-a" "d71dd34a1320610664e8d047f90f80a169ab36ea2b1977999b0b586c9f76b05a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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(FromUtf8Error), [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(TypeConversionImpossible), [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(TypeConversionError), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.33s [INFO] running `Command { std: "docker" "inspect" "d71dd34a1320610664e8d047f90f80a169ab36ea2b1977999b0b586c9f76b05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71dd34a1320610664e8d047f90f80a169ab36ea2b1977999b0b586c9f76b05a", kill_on_drop: false }` [INFO] [stdout] d71dd34a1320610664e8d047f90f80a169ab36ea2b1977999b0b586c9f76b05a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3c7f8fcbc1f70f8f9eae5c85ccd4b0a381f661324a69385a706e436d9b66146 [INFO] running `Command { std: "docker" "start" "-a" "a3c7f8fcbc1f70f8f9eae5c85ccd4b0a381f661324a69385a706e436d9b66146", kill_on_drop: false }` [INFO] [stderr] Compiling rustic-db v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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(ParseIntError), [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(FromUtf8Error), [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(TypeConversionImpossible), [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(TypeConversionError), [INFO] [stdout] 24 + TypeConversionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "a3c7f8fcbc1f70f8f9eae5c85ccd4b0a381f661324a69385a706e436d9b66146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c7f8fcbc1f70f8f9eae5c85ccd4b0a381f661324a69385a706e436d9b66146", kill_on_drop: false }` [INFO] [stdout] a3c7f8fcbc1f70f8f9eae5c85ccd4b0a381f661324a69385a706e436d9b66146 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f667e048665adb1346b4b8f4feb76e2e03353be91ee0fd828dc2682584be340 [INFO] running `Command { std: "docker" "start" "-a" "2f667e048665adb1346b4b8f4feb76e2e03353be91ee0fd828dc2682584be340", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/stores/errors.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | ParseIntError(ParseIntError), [INFO] [stderr] | ------------- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `TypeConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 - ParseIntError(ParseIntError), [INFO] [stderr] 8 + ParseIntError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/stores/errors.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | FromUtf8Error(FromUtf8Error), [INFO] [stderr] | ------------- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `TypeConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 9 - FromUtf8Error(FromUtf8Error), [INFO] [stderr] 9 + FromUtf8Error(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/stores/errors.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | TypeConversionImpossible(TypeConversionImpossible), [INFO] [stderr] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ValueError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 23 - TypeConversionImpossible(TypeConversionImpossible), [INFO] [stderr] 23 + TypeConversionImpossible(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/stores/errors.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | TypeConversionError(TypeConversionError), [INFO] [stderr] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ValueError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 - TypeConversionError(TypeConversionError), [INFO] [stderr] 24 + TypeConversionError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rustic-db` (bin "rustic-db" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustic_db-ee1fc3f22b515764) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test managers::tests::test_create_store ... ok [INFO] [stdout] test managers::tests::test_get_store ... ok [INFO] [stdout] test managers::tests::test_remove_store ... ok [INFO] [stdout] test stores::implementations::bytes::tests::test_pop_bytes ... ok [INFO] [stdout] test managers::tests::test_list_store_names ... ok [INFO] [stdout] test stores::implementations::bytes::tests::test_set_get_bytes ... ok [INFO] [stdout] test stores::implementations::hmaps::tests::test_hmap_keys_values_items ... ok [INFO] [stdout] test stores::implementations::hmaps::tests::test_insert_get_hmap ... ok [INFO] [stdout] test stores::implementations::bytes::tests::test_get_set_binary_data ... ok [INFO] [stdout] test stores::implementations::hsets::tests::test_add_remove_hset ... ok [INFO] [stdout] test stores::implementations::hmaps::tests::test_remove_hmap ... ok [INFO] [stdout] test stores::implementations::hsets::tests::test_set_get_hset ... ok [INFO] [stdout] test stores::implementations::hsets::tests::test_hset_union_intersection_difference ... ok [INFO] [stdout] test stores::implementations::integers::tests::test_get_set_i64 ... ok [INFO] [stdout] test stores::implementations::integers::tests::test_incr_decr ... ok [INFO] [stdout] test stores::implementations::strings::tests::test_pop_string ... ok [INFO] [stdout] test stores::tests::test_clear_store ... ok [INFO] [stdout] test stores::tests::test_contains ... ok [INFO] [stdout] test stores::tests::test_remove_key ... ok [INFO] [stdout] test stores::implementations::lists::tests::test_deque_methods ... ok [INFO] [stdout] test stores::implementations::lists::tests::test_set_get_deque ... ok [INFO] [stdout] test stores::implementations::strings::tests::test_set_get_string ... ok [INFO] [stdout] test managers::tests::test_duplicate_store_names - should panic ... ok [INFO] [stdout] test stores::tests::test_clear_all_expired_keys ... ok [INFO] [stdout] test stores::tests::test_key_expiry ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f667e048665adb1346b4b8f4feb76e2e03353be91ee0fd828dc2682584be340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f667e048665adb1346b4b8f4feb76e2e03353be91ee0fd828dc2682584be340", kill_on_drop: false }` [INFO] [stdout] 2f667e048665adb1346b4b8f4feb76e2e03353be91ee0fd828dc2682584be340