[INFO] fetching crate darkbird 6.2.4... [INFO] testing darkbird-6.2.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate darkbird 6.2.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate darkbird 6.2.4 [INFO] finished tweaking crates.io crate darkbird 6.2.4 [INFO] tweaked toml for crates.io crate darkbird 6.2.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate darkbird 6.2.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding scylla v0.4.7 (available: v1.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scylla-macros v0.1.2 [INFO] [stderr] Downloaded advisory-lock v0.2.0 [INFO] [stderr] Downloaded simple_wal v0.3.0 [INFO] [stderr] Downloaded lz4_flex v0.9.5 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded scylla v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fc9a0bff5227ac7c4bca7270b509aa342a5615dda89e9b55c86201ebea11d96 [INFO] running `Command { std: "docker" "start" "-a" "3fc9a0bff5227ac7c4bca7270b509aa342a5615dda89e9b55c86201ebea11d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fc9a0bff5227ac7c4bca7270b509aa342a5615dda89e9b55c86201ebea11d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc9a0bff5227ac7c4bca7270b509aa342a5615dda89e9b55c86201ebea11d96", kill_on_drop: false }` [INFO] [stdout] 3fc9a0bff5227ac7c4bca7270b509aa342a5615dda89e9b55c86201ebea11d96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92f2afaff12097e575d1ae73eb1209ca1c4ceb6dda404ad02d43fe4aad802b6b [INFO] running `Command { std: "docker" "start" "-a" "92f2afaff12097e575d1ae73eb1209ca1c4ceb6dda404ad02d43fe4aad802b6b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling lz4_flex v0.9.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling histogram v0.6.9 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling postgres-types v0.2.11 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling scylla-macros v0.1.2 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling uuid-macro-internal v1.18.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling advisory-lock v0.2.0 [INFO] [stderr] Compiling simple_wal v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling scylla v0.4.7 [INFO] [stderr] Compiling tokio-postgres v0.7.15 [INFO] [stderr] Compiling darkbird v6.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Schema`, `VecStorage`, and `Vector` [INFO] [stdout] --> src/darkbird/storage_vector_test.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{VecStorage, Options, Vector, Schema, StorageType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/darkbird.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod storage_vector_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/darkbird/wal/helper.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use super::page_processor::{Format, Sync, PageProcessor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/darkbird/wal/helper.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let date = dt.date().to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/darkbird/storage_redis.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut state = self.shared.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_tag` and `remove_view` are never used [INFO] [stdout] --> src/darkbird/index/tags.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl TagIndex [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | K: Serialize [INFO] [stdout] 14 | | + DeserializeOwned [INFO] [stdout] ... | [INFO] [stdout] 21 | | + Send [INFO] [stdout] 22 | | + 'static, [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn remove_tag(&self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn remove_view(&self, view_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_tree` is never used [INFO] [stdout] --> src/darkbird/index/range.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 12 | / impl RangeIndex [INFO] [stdout] 13 | | where [INFO] [stdout] 14 | | K: Serialize [INFO] [stdout] 15 | | + DeserializeOwned [INFO] [stdout] ... | [INFO] [stdout] 22 | | + Send [INFO] [stdout] 23 | | + 'static, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn remove_tree(&self, field_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c` and `router_type` are never read [INFO] [stdout] --> src/darkbird/router.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Router { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 93 | c: usize, [INFO] [stdout] | ^ [INFO] [stdout] 94 | channels: Vec>, [INFO] [stdout] 95 | router_type: RouterType [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_index` is never used [INFO] [stdout] --> src/darkbird/router.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 98 | / impl Router [INFO] [stdout] 99 | | where [INFO] [stdout] 100 | | Msg: Clone + Send + 'static [INFO] [stdout] | |_______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | fn next_index(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> src/darkbird/storage_redis.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 86 | / impl DbDropGuard [INFO] [stdout] 87 | | where [INFO] [stdout] 88 | | Doc: Clone + Send + Sync + 'static, [INFO] [stdout] 89 | | K: Clone [INFO] [stdout] ... | [INFO] [stdout] 95 | | + Send [INFO] [stdout] 96 | | + 'static [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 97 | { [INFO] [stdout] 98 | pub(crate) fn new() -> DbDropGuard { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn storage(&self) -> RedisStorage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factory_option` is never used [INFO] [stdout] --> src/darkbird/storage_vector_test.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_page_index` is never read [INFO] [stdout] --> src/darkbird/wal/disk_log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct TmpLogStruct { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | current_page_index: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:303:36 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:357:31 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:463:30 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter(&self) -> Iter<'_, String, DashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/hash.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/hash.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter<'_, String, K>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn iter_tags(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn iter_tags(&self) -> Iter<'_, String, DashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage_vector_test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "92f2afaff12097e575d1ae73eb1209ca1c4ceb6dda404ad02d43fe4aad802b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f2afaff12097e575d1ae73eb1209ca1c4ceb6dda404ad02d43fe4aad802b6b", kill_on_drop: false }` [INFO] [stdout] 92f2afaff12097e575d1ae73eb1209ca1c4ceb6dda404ad02d43fe4aad802b6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c531aa99fb2ada0b2b588326d96e656c8165b0fc57efa9a74b64daa95dd64d [INFO] running `Command { std: "docker" "start" "-a" "f2c531aa99fb2ada0b2b588326d96e656c8165b0fc57efa9a74b64daa95dd64d", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Schema`, `VecStorage`, and `Vector` [INFO] [stdout] --> src/darkbird/storage_vector_test.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{VecStorage, Options, Vector, Schema, StorageType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/darkbird.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod storage_vector_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/darkbird/wal/helper.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use super::page_processor::{Format, Sync, PageProcessor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/darkbird/wal/helper.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let date = dt.date().to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/darkbird/storage_redis.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut state = self.shared.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_tag` and `remove_view` are never used [INFO] [stdout] --> src/darkbird/index/tags.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl TagIndex [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | K: Serialize [INFO] [stdout] 14 | | + DeserializeOwned [INFO] [stdout] ... | [INFO] [stdout] 21 | | + Send [INFO] [stdout] 22 | | + 'static, [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn remove_tag(&self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn remove_view(&self, view_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_tree` is never used [INFO] [stdout] --> src/darkbird/index/range.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 12 | / impl RangeIndex [INFO] [stdout] 13 | | where [INFO] [stdout] 14 | | K: Serialize [INFO] [stdout] 15 | | + DeserializeOwned [INFO] [stdout] ... | [INFO] [stdout] 22 | | + Send [INFO] [stdout] 23 | | + 'static, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn remove_tree(&self, field_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c` and `router_type` are never read [INFO] [stdout] --> src/darkbird/router.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Router { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 93 | c: usize, [INFO] [stdout] | ^ [INFO] [stdout] 94 | channels: Vec>, [INFO] [stdout] 95 | router_type: RouterType [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_index` is never used [INFO] [stdout] --> src/darkbird/router.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 98 | / impl Router [INFO] [stdout] 99 | | where [INFO] [stdout] 100 | | Msg: Clone + Send + 'static [INFO] [stdout] | |_______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | fn next_index(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> src/darkbird/storage_redis.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 86 | / impl DbDropGuard [INFO] [stdout] 87 | | where [INFO] [stdout] 88 | | Doc: Clone + Send + Sync + 'static, [INFO] [stdout] 89 | | K: Clone [INFO] [stdout] ... | [INFO] [stdout] 95 | | + Send [INFO] [stdout] 96 | | + 'static [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 97 | { [INFO] [stdout] 98 | pub(crate) fn new() -> DbDropGuard { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn storage(&self) -> RedisStorage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factory_option` is never used [INFO] [stdout] --> src/darkbird/storage_vector_test.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_page_index` is never read [INFO] [stdout] --> src/darkbird/wal/disk_log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct TmpLogStruct { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | current_page_index: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:303:36 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:357:31 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling darkbird v6.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:463:30 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter(&self) -> Iter<'_, String, DashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/hash.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/hash.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter<'_, String, K>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn iter_tags(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn iter_tags(&self) -> Iter<'_, String, DashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage_vector_test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/darkbird/wal/helper.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use super::page_processor::{Format, Sync, PageProcessor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/darkbird/wal/helper.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let date = dt.date().to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/darkbird/storage_redis.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut state = self.shared.state.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_tag` and `remove_view` are never used [INFO] [stdout] --> src/darkbird/index/tags.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl TagIndex [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | K: Serialize [INFO] [stdout] 14 | | + DeserializeOwned [INFO] [stdout] ... | [INFO] [stdout] 21 | | + Send [INFO] [stdout] 22 | | + 'static, [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn remove_tag(&self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn remove_view(&self, view_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_tree` is never used [INFO] [stdout] --> src/darkbird/index/range.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 12 | / impl RangeIndex [INFO] [stdout] 13 | | where [INFO] [stdout] 14 | | K: Serialize [INFO] [stdout] 15 | | + DeserializeOwned [INFO] [stdout] ... | [INFO] [stdout] 22 | | + Send [INFO] [stdout] 23 | | + 'static, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn remove_tree(&self, field_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c` and `router_type` are never read [INFO] [stdout] --> src/darkbird/router.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Router { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 93 | c: usize, [INFO] [stdout] | ^ [INFO] [stdout] 94 | channels: Vec>, [INFO] [stdout] 95 | router_type: RouterType [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_index` is never used [INFO] [stdout] --> src/darkbird/router.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 98 | / impl Router [INFO] [stdout] 99 | | where [INFO] [stdout] 100 | | Msg: Clone + Send + 'static [INFO] [stdout] | |_______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | fn next_index(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `storage` are never used [INFO] [stdout] --> src/darkbird/storage_redis.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 86 | / impl DbDropGuard [INFO] [stdout] 87 | | where [INFO] [stdout] 88 | | Doc: Clone + Send + Sync + 'static, [INFO] [stdout] 89 | | K: Clone [INFO] [stdout] ... | [INFO] [stdout] 95 | | + Send [INFO] [stdout] 96 | | + 'static [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 97 | { [INFO] [stdout] 98 | pub(crate) fn new() -> DbDropGuard { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn storage(&self) -> RedisStorage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_page_index` is never read [INFO] [stdout] --> src/darkbird/wal/disk_log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct TmpLogStruct { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | current_page_index: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:303:36 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:357:31 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/database.rs:463:30 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/tags.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter(&self) -> Iter<'_, String, DashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/hash.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/index/hash.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> Iter<'_, String, K>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn iter_tags(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn iter_tags(&self) -> Iter<'_, String, DashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/darkbird/storage_vector_test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | fn factory_option(name: &str) -> Options<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 5.28s [INFO] running `Command { std: "docker" "inspect" "f2c531aa99fb2ada0b2b588326d96e656c8165b0fc57efa9a74b64daa95dd64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c531aa99fb2ada0b2b588326d96e656c8165b0fc57efa9a74b64daa95dd64d", kill_on_drop: false }` [INFO] [stdout] f2c531aa99fb2ada0b2b588326d96e656c8165b0fc57efa9a74b64daa95dd64d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 805f0e092e0bc4c02d1e776c16aa0aa154b2608665eeaa92832b2ba6f5b19778 [INFO] running `Command { std: "docker" "start" "-a" "805f0e092e0bc4c02d1e776c16aa0aa154b2608665eeaa92832b2ba6f5b19778", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Schema`, `VecStorage`, and `Vector` [INFO] [stderr] --> src/darkbird/storage_vector_test.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{VecStorage, Options, Vector, Schema, StorageType}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/darkbird.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | mod storage_vector_test; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Format` [INFO] [stderr] --> src/darkbird/wal/helper.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | use super::page_processor::{Format, Sync, PageProcessor}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/darkbird/wal/helper.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | let date = dt.date().to_string(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/darkbird/storage_redis.rs:261:13 [INFO] [stderr] | [INFO] [stderr] 261 | let mut state = self.shared.state.lock().unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `remove_tag` and `remove_view` are never used [INFO] [stderr] --> src/darkbird/index/tags.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 11 | / impl TagIndex [INFO] [stderr] 12 | | where [INFO] [stderr] 13 | | K: Serialize [INFO] [stderr] 14 | | + DeserializeOwned [INFO] [stderr] ... | [INFO] [stderr] 21 | | + Send [INFO] [stderr] 22 | | + 'static, [INFO] [stderr] | |__________________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn remove_tag(&self, tag: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn remove_view(&self, view_name: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `remove_tree` is never used [INFO] [stderr] --> src/darkbird/index/range.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 12 | / impl RangeIndex [INFO] [stderr] 13 | | where [INFO] [stderr] 14 | | K: Serialize [INFO] [stderr] 15 | | + DeserializeOwned [INFO] [stderr] ... | [INFO] [stderr] 22 | | + Send [INFO] [stderr] 23 | | + 'static, [INFO] [stderr] | |__________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn remove_tree(&self, field_name: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `c` and `router_type` are never read [INFO] [stderr] --> src/darkbird/router.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct Router { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 93 | c: usize, [INFO] [stderr] | ^ [INFO] [stderr] 94 | channels: Vec>, [INFO] [stderr] 95 | router_type: RouterType [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `next_index` is never used [INFO] [stderr] --> src/darkbird/router.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 98 | / impl Router [INFO] [stderr] 99 | | where [INFO] [stderr] 100 | | Msg: Clone + Send + 'static [INFO] [stderr] | |_______________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 190 | fn next_index(&mut self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `storage` are never used [INFO] [stderr] --> src/darkbird/storage_redis.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 86 | / impl DbDropGuard [INFO] [stderr] 87 | | where [INFO] [stderr] 88 | | Doc: Clone + Send + Sync + 'static, [INFO] [stderr] 89 | | K: Clone [INFO] [stderr] ... | [INFO] [stderr] 95 | | + Send [INFO] [stderr] 96 | | + 'static [INFO] [stderr] | |_________________- associated items in this implementation [INFO] [stderr] 97 | { [INFO] [stderr] 98 | pub(crate) fn new() -> DbDropGuard { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pub(crate) fn storage(&self) -> RedisStorage { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `factory_option` is never used [INFO] [stderr] --> src/darkbird/storage_vector_test.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn factory_option(name: &str) -> Options { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `current_page_index` is never read [INFO] [stderr] --> src/darkbird/wal/disk_log.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 6 | struct TmpLogStruct { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | current_page_index: usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:224:29 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 224 | pub fn gets<'a, K, Doc>(&self, list: Vec<&K>) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:250:26 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 250 | pub fn range(&self, field_name: &str, from: String, to: String) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:277:27 [INFO] [stderr] | [INFO] [stderr] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 277 | pub fn lookup(&self, key: &K) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:303:36 [INFO] [stderr] | [INFO] [stderr] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 303 | pub fn lookup_by_index(&self, index_key: &str) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:330:34 [INFO] [stderr] | [INFO] [stderr] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 330 | pub fn lookup_by_tag(&self, tag: &str) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:357:31 [INFO] [stderr] | [INFO] [stderr] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 357 | pub fn fetch_view(&self, view_name: &str) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:384:27 [INFO] [stderr] | [INFO] [stderr] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 384 | pub fn search(&self, text: String) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:437:31 [INFO] [stderr] | [INFO] [stderr] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 437 | pub fn iter_index(&self) -> Result, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/database.rs:463:30 [INFO] [stderr] | [INFO] [stderr] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 463 | pub fn iter_tags(&self) -> Result>, SessionResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/index/tags.rs:108:19 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | pub fn lookup(&self, tag: &str) -> Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/index/tags.rs:115:24 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 115 | pub fn lookup_view(&self, view_name: &str) -> Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/index/tags.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn iter(&self) -> Iter> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 122 | pub fn iter(&self) -> Iter<'_, String, DashSet> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/index/hash.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 64 | pub fn lookup(&self, index_key: &str) -> Option>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/index/hash.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn iter(&self) -> Iter{ [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn iter(&self) -> Iter<'_, String, K>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:228:17 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 228 | pub fn gets(&self, list: Vec<&K>) -> Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:242:30 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 242 | pub fn gets_by_value(&self, list: Vec) -> Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:256:18 [INFO] [stderr] | [INFO] [stderr] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 256 | pub fn range(&self, field_name: &str, from: String, to: String) -> Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:271:19 [INFO] [stderr] | [INFO] [stderr] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 271 | pub fn lookup(&self, key: &K) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:277:28 [INFO] [stderr] | [INFO] [stderr] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 277 | pub fn lookup_by_index(&self, index_key: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:288:26 [INFO] [stderr] | [INFO] [stderr] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 288 | pub fn lookup_by_tag(&self, tag: &str) -> Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:305:23 [INFO] [stderr] | [INFO] [stderr] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 305 | pub fn fetch_view(&self, view_name: &str) -> Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:323:19 [INFO] [stderr] | [INFO] [stderr] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 323 | pub fn search(&self, text: String) -> Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage.rs:351:22 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn iter_tags(&self) -> Iter> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 351 | pub fn iter_tags(&self) -> Iter<'_, String, DashSet> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/darkbird/storage_vector_test.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | fn factory_option(name: &str) -> Options { [INFO] [stderr] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3 | fn factory_option(name: &str) -> Options<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Format` [INFO] [stderr] --> src/darkbird/wal/helper.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | use super::page_processor::{Format, Sync, PageProcessor}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `darkbird` (lib) generated 35 warnings (run `cargo fix --lib -p darkbird` to apply 27 suggestions) [INFO] [stderr] warning: `darkbird` (lib test) generated 33 warnings (32 duplicates) (run `cargo fix --lib -p darkbird --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/darkbird-e763cfb27a2942f1) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test darkbird::storage_vector_test::k_nearest_neighbors ... FAILED [INFO] [stdout] test darkbird::storage_vector_test::vector ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- darkbird::storage_vector_test::k_nearest_neighbors stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'darkbird::storage_vector_test::k_nearest_neighbors' (25) panicked at src/darkbird/wal/disk_log.rs:415:31: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dad3249c622 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5dad3249c622 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5dad3249c622 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5dad3249c622 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5dad324ad86f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5dad324ad86f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5dad324698d3 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5dad324698d3 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5dad32475972 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5dad3247a69f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5dad3247a531 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5dad3240533e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5dad3240533e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5dad3247ad5f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5dad3247ad5f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5dad3247ab0a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5dad32475aa9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5dad3245d88d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5dad324b52e0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5dad324b4856 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5dad323d7317 - core::result::Result::unwrap::h721dd1492e8d96fc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5dad323d7317 - darkbird::darkbird::wal::disk_log::open_last_page::h7d69eeb47cd57fe9 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/wal/disk_log.rs:415:31 [INFO] [stdout] 22: 0x5dad323d7317 - darkbird::darkbird::wal::disk_log::Context::open::h9e82edef3c9ec675 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/wal/disk_log.rs:242:24 [INFO] [stdout] 23: 0x5dad323d7317 - darkbird::darkbird::wal::disk_log::DiskLog::open::h8395fff80b26a60d [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/wal/disk_log.rs:34:15 [INFO] [stdout] 24: 0x5dad323c1150 - darkbird::darkbird::storage_vector::VecStorage::open::{{closure}}::h83c3aedfcf424b7a [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector.rs:36:15 [INFO] [stdout] 25: 0x5dad323c37af - darkbird::darkbird::schema::Schema::with_vecstore::{{closure}}::h2bde1ec136c7cf02 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/schema.rs:71:38 [INFO] [stdout] 26: 0x5dad323c37af - darkbird::darkbird::storage_vector_test::k_nearest_neighbors::{{closure}}::h9c56f10e1f2d9c06 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector_test.rs:41:10 [INFO] [stdout] 27: 0x5dad323e2290 - as core::future::future::Future>::poll::h8995658900707be9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/future/future.rs:133:9 [INFO] [stdout] 28: 0x5dad323e2290 - as core::future::future::Future>::poll::hbad2d8f2bc52e0e1 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/future/future.rs:133:9 [INFO] [stdout] 29: 0x5dad323e2290 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h9579187997af361d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 30: 0x5dad323e2290 - tokio::task::coop::with_budget::h0f47a535e8db6fa7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:167:5 [INFO] [stdout] 31: 0x5dad323e2290 - tokio::task::coop::budget::hed8a5613fc064dd5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:133:5 [INFO] [stdout] 32: 0x5dad323e2290 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h88368c5657481045 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 33: 0x5dad323e2290 - tokio::runtime::scheduler::current_thread::Context::enter::h4adc4863c04d0448 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 34: 0x5dad323e35b6 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::he794fc1fd5b690fc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 35: 0x5dad323e35b6 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h4aaaf0e8abadcf2d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 36: 0x5dad323e35b6 - tokio::runtime::context::scoped::Scoped::set::h1558b25188d2224b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 37: 0x5dad323d0c5f - tokio::runtime::context::set_scheduler::{{closure}}::he141e40f9c9e9229 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:38 [INFO] [stdout] 38: 0x5dad323d0c5f - std::thread::local::LocalKey::try_with::h94b457ebc664dce2 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/local.rs:508:12 [INFO] [stdout] 39: 0x5dad323d0c5f - std::thread::local::LocalKey::with::h75229f6162bf44c8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/local.rs:472:20 [INFO] [stdout] 40: 0x5dad323e1e4d - tokio::runtime::context::set_scheduler::hbd2c328e6c517ee1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:17 [INFO] [stdout] 41: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hf2a14bb98e786830 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 42: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h5cf770ddca7e8f7d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 43: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd24bb9e0f56c7956 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 44: 0x5dad323e1e4d - tokio::runtime::context::runtime::enter_runtime::hc92d84766375e4f1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 45: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hcd26f9ecf8895ff8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 46: 0x5dad323d8e50 - tokio::runtime::runtime::Runtime::block_on_inner::hfc5aac7df7d16171 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 47: 0x5dad323d8e50 - tokio::runtime::runtime::Runtime::block_on::h3708f68d1488ad89 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 48: 0x5dad323c31ea - darkbird::darkbird::storage_vector_test::k_nearest_neighbors::h7db2ccd3274b7665 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector_test.rs:68:6 [INFO] [stdout] 49: 0x5dad323dc949 - darkbird::darkbird::storage_vector_test::k_nearest_neighbors::{{closure}}::h3072d5e66991657c [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector_test.rs:38:31 [INFO] [stdout] 50: 0x5dad323dc949 - core::ops::function::FnOnce::call_once::haffa35fcca4cfcf2 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 51: 0x5dad324051ab - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 52: 0x5dad324051ab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 53: 0x5dad3241919d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 54: 0x5dad3241919d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 55: 0x5dad3241919d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 56: 0x5dad3241919d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 57: 0x5dad3241919d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 58: 0x5dad3241919d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 59: 0x5dad3241919d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 60: 0x5dad323f26e4 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 61: 0x5dad323f26e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 62: 0x5dad323f5f3a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 63: 0x5dad323f5f3a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 64: 0x5dad323f5f3a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 65: 0x5dad323f5f3a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 66: 0x5dad323f5f3a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 67: 0x5dad323f5f3a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 68: 0x5dad323f5f3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 69: 0x5dad32470eaf - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 70: 0x5dad32470eaf - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 71: 0x784a1b6e2aa4 - [INFO] [stdout] 72: 0x784a1b76fa64 - clone [INFO] [stdout] 73: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- darkbird::storage_vector_test::vector stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'darkbird::storage_vector_test::vector' (26) panicked at src/darkbird/wal/disk_log.rs:415:31: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dad3249c622 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5dad3249c622 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5dad3249c622 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5dad3249c622 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5dad324ad86f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5dad324ad86f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5dad324698d3 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5dad324698d3 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5dad32475972 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5dad3247a69f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5dad3247a531 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5dad3240533e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5dad3240533e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5dad3247ad5f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5dad3247ad5f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5dad3247ab0a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5dad32475aa9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5dad3245d88d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5dad324b52e0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5dad324b4856 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5dad323d7317 - core::result::Result::unwrap::h721dd1492e8d96fc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5dad323d7317 - darkbird::darkbird::wal::disk_log::open_last_page::h7d69eeb47cd57fe9 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/wal/disk_log.rs:415:31 [INFO] [stdout] 22: 0x5dad323d7317 - darkbird::darkbird::wal::disk_log::Context::open::h9e82edef3c9ec675 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/wal/disk_log.rs:242:24 [INFO] [stdout] 23: 0x5dad323d7317 - darkbird::darkbird::wal::disk_log::DiskLog::open::h8395fff80b26a60d [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/wal/disk_log.rs:34:15 [INFO] [stdout] 24: 0x5dad323c1150 - darkbird::darkbird::storage_vector::VecStorage::open::{{closure}}::h83c3aedfcf424b7a [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector.rs:36:15 [INFO] [stdout] 25: 0x5dad323c57f9 - darkbird::darkbird::storage_vector_test::vector::{{closure}}::h25f091a05294b348 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector_test.rs:17:42 [INFO] [stdout] 26: 0x5dad323e2290 - as core::future::future::Future>::poll::h8995658900707be9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/future/future.rs:133:9 [INFO] [stdout] 27: 0x5dad323e2290 - as core::future::future::Future>::poll::hbad2d8f2bc52e0e1 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/future/future.rs:133:9 [INFO] [stdout] 28: 0x5dad323e2290 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h9579187997af361d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 29: 0x5dad323e2290 - tokio::task::coop::with_budget::h0f47a535e8db6fa7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:167:5 [INFO] [stdout] 30: 0x5dad323e2290 - tokio::task::coop::budget::hed8a5613fc064dd5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:133:5 [INFO] [stdout] 31: 0x5dad323e2290 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h88368c5657481045 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 32: 0x5dad323e2290 - tokio::runtime::scheduler::current_thread::Context::enter::h4adc4863c04d0448 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 33: 0x5dad323e35b6 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::he794fc1fd5b690fc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 34: 0x5dad323e35b6 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h4aaaf0e8abadcf2d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 35: 0x5dad323e35b6 - tokio::runtime::context::scoped::Scoped::set::h1558b25188d2224b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 36: 0x5dad323d0c5f - tokio::runtime::context::set_scheduler::{{closure}}::he141e40f9c9e9229 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:38 [INFO] [stdout] 37: 0x5dad323d0c5f - std::thread::local::LocalKey::try_with::h94b457ebc664dce2 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/local.rs:508:12 [INFO] [stdout] 38: 0x5dad323d0c5f - std::thread::local::LocalKey::with::h75229f6162bf44c8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/local.rs:472:20 [INFO] [stdout] 39: 0x5dad323e1e4d - tokio::runtime::context::set_scheduler::hbd2c328e6c517ee1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:17 [INFO] [stdout] 40: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hf2a14bb98e786830 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 41: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h5cf770ddca7e8f7d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 42: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd24bb9e0f56c7956 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 43: 0x5dad323e1e4d - tokio::runtime::context::runtime::enter_runtime::hc92d84766375e4f1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 44: 0x5dad323e1e4d - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hcd26f9ecf8895ff8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 45: 0x5dad323d8e50 - tokio::runtime::runtime::Runtime::block_on_inner::hfc5aac7df7d16171 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 46: 0x5dad323d8e50 - tokio::runtime::runtime::Runtime::block_on::h3708f68d1488ad89 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 47: 0x5dad323c56ba - darkbird::darkbird::storage_vector_test::vector::h2a7dbbf3c1ddf643 [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector_test.rs:31:15 [INFO] [stdout] 48: 0x5dad323dc929 - darkbird::darkbird::storage_vector_test::vector::{{closure}}::h513ad15e7bde499d [INFO] [stdout] at /opt/rustwide/workdir/src/darkbird/storage_vector_test.rs:9:18 [INFO] [stdout] 49: 0x5dad323dc929 - core::ops::function::FnOnce::call_once::h7c113f355914d753 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 50: 0x5dad324051ab - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 51: 0x5dad324051ab - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 52: 0x5dad3241919d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 53: 0x5dad3241919d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 54: 0x5dad3241919d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 55: 0x5dad3241919d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 56: 0x5dad3241919d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 57: 0x5dad3241919d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 58: 0x5dad3241919d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 59: 0x5dad323f26e4 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 60: 0x5dad323f26e4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 61: 0x5dad323f5f3a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 62: 0x5dad323f5f3a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 63: 0x5dad323f5f3a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 64: 0x5dad323f5f3a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 65: 0x5dad323f5f3a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 66: 0x5dad323f5f3a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 67: 0x5dad323f5f3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 68: 0x5dad32470eaf - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 69: 0x5dad32470eaf - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 70: 0x784a1b6e2aa4 - [INFO] [stdout] 71: 0x784a1b76fa64 - clone [INFO] [stdout] 72: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] darkbird::storage_vector_test::k_nearest_neighbors [INFO] [stdout] darkbird::storage_vector_test::vector [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "805f0e092e0bc4c02d1e776c16aa0aa154b2608665eeaa92832b2ba6f5b19778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805f0e092e0bc4c02d1e776c16aa0aa154b2608665eeaa92832b2ba6f5b19778", kill_on_drop: false }` [INFO] [stdout] 805f0e092e0bc4c02d1e776c16aa0aa154b2608665eeaa92832b2ba6f5b19778