[INFO] fetching crate log-analyzer 0.1.3... [INFO] testing log-analyzer-0.1.3 against 1.90.0 for beta-1.91-3 [INFO] extracting crate log-analyzer 0.1.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate log-analyzer 0.1.3 [INFO] finished tweaking crates.io crate log-analyzer 0.1.3 [INFO] tweaked toml for crates.io crate log-analyzer 0.1.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate log-analyzer 0.1.3 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate log-analyzer 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded crossbeam v0.8.1 [INFO] [stderr] Downloaded log-source v0.1.3 [INFO] [stderr] Downloaded crossbeam-queue v0.3.5 [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded pin-project-internal v1.0.10 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded anyhow v1.0.53 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded flume v0.10.12 [INFO] [stderr] Downloaded pin-project v1.0.10 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded async-trait v0.1.52 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded pariter v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9062caa9f32c030dd59aaef36970157f2c38eaaf286acb34ac7348023e55e7f0 [INFO] running `Command { std: "docker" "start" "-a" "9062caa9f32c030dd59aaef36970157f2c38eaaf286acb34ac7348023e55e7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9062caa9f32c030dd59aaef36970157f2c38eaaf286acb34ac7348023e55e7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9062caa9f32c030dd59aaef36970157f2c38eaaf286acb34ac7348023e55e7f0", kill_on_drop: false }` [INFO] [stdout] 9062caa9f32c030dd59aaef36970157f2c38eaaf286acb34ac7348023e55e7f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd149b555af41ceb7b1b4165fdcae31fdf634f8f62b724acf50e1bf3b8384313 [INFO] running `Command { std: "docker" "start" "-a" "cd149b555af41ceb7b1b4165fdcae31fdf634f8f62b724acf50e1bf3b8384313", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling pariter v0.5.1 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling log-source v0.1.3 [INFO] [stderr] Compiling log-analyzer v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [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] 23 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn fetch_log(&self) -> RwLockReadGuard> { [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] 101 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fn fetch_search(&self) -> RwLockReadGuard> { [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] 105 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Format` is never constructed [INFO] [stdout] --> src/models/format.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Format { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/format.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Format { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(alias: &str, regex: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/models/settings.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_json` is never used [INFO] [stdout] --> src/models/settings.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Settings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_json(json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Filtering`, `FilterFinished`, `Searching`, and `SearchFinished` are never constructed [INFO] [stdout] --> src/services/log_service.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Filtering, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | // Finished filtering [INFO] [stdout] 35 | FilterFinished, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | // Finished busy searching [INFO] [stdout] 37 | Searching, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | // Finished search [INFO] [stdout] 39 | SearchFinished, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/services/log_service.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait LogAnalyzer { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn add_format(&self, alias: &str, regex: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 53 | /// Start a new search [INFO] [stdout] 54 | fn add_search(&self, regex: &str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | /// Add a new filter to the list of available filters [INFO] [stdout] 56 | fn add_filter(&self, filter: Filter); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 57 | /// Get log lines between the range [from, to] [INFO] [stdout] 58 | fn get_log_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | /// Get search lines between the range [from, to] [INFO] [stdout] 60 | fn get_search_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_log_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn get_search_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_logs(&self) -> Vec<(bool, String, Option)>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn get_formats(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | /// Get all the available filters together with their enabled state [INFO] [stdout] 84 | fn get_filters(&self) -> Vec<(bool, Filter)>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | /// Get how many lines are in the raw logs [INFO] [stdout] 86 | fn get_total_raw_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// Get how many lines are in the filtered log [INFO] [stdout] 88 | fn get_total_filtered_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | /// Get how many lines are in the search log [INFO] [stdout] 90 | fn get_total_searched_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | /// Enable or disable the given source [INFO] [stdout] 92 | fn toggle_source(&self, id: &str); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 93 | /// Enable or disable the given filter [INFO] [stdout] 94 | fn toggle_filter(&self, id: &str); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 95 | fn on_event(&self) -> broadcast::Receiver; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/log_store.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait LogStore { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn add_line(&self, log_id: &str, line: &str); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_logs(&self) -> Vec<(bool, String, Option)>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | /// Get the log source associated to the log id [INFO] [stdout] 27 | fn get_source(&self, id: &str) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | /// Get a list of all the lines for the requested log. WARNING: clones [INFO] [stdout] 29 | fn get_lines(&self, log_id: &str) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | /// Get a list of all the lines for the requested log. WARNING: moves [INFO] [stdout] 31 | fn extract_lines(&self, log_id: &str) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Get the count of all the lines [INFO] [stdout] 33 | fn get_total_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// Change the enabled state of the given log [INFO] [stdout] 35 | fn toggle_log(&self, log_id: &str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_formats`, `add_filter`, and `toggle_filter` are never used [INFO] [stdout] --> src/stores/processing_store.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ProcessingStore { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_formats(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn add_filter(&self, id: String, filter: LogLine, action: FilterAction, enabled: bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn toggle_filter(&self, id: &str); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/analysis_store.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AnalysisStore { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn add_search_query(&self, query: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn reset_log(&self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | /// Clear the searched log [INFO] [stdout] 19 | fn reset_search(&self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | /// Get a RwLock to the current processed log to avoid copying [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | /// Get a RwLock to the current searched log to avoid copying [INFO] [stdout] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Get a copy of a window of lines. Is safe to query out of bounds [INFO] [stdout] 25 | fn get_log_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Get a copy of a window of search lines. Is safe to query out of bounds [INFO] [stdout] 27 | fn get_search_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn get_log_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_search_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn get_total_filtered_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | /// Count the total number of search lines [INFO] [stdout] 47 | fn get_total_searched_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_sorted_index` and `find_rolling_window` are never used [INFO] [stdout] --> src/stores/analysis_store.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 156 | impl InMemmoryAnalysisStore { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 157 | fn find_sorted_index(source: &[LogLine], index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn find_rolling_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_search` is never used [INFO] [stdout] --> src/domain/apply_search.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn format_search(search: &Regex, log_line: &LogLine) -> LogLineStyled { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [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] 23 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn fetch_log(&self) -> RwLockReadGuard> { [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] 101 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fn fetch_search(&self) -> RwLockReadGuard> { [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] 105 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.24s [INFO] running `Command { std: "docker" "inspect" "cd149b555af41ceb7b1b4165fdcae31fdf634f8f62b724acf50e1bf3b8384313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd149b555af41ceb7b1b4165fdcae31fdf634f8f62b724acf50e1bf3b8384313", kill_on_drop: false }` [INFO] [stdout] cd149b555af41ceb7b1b4165fdcae31fdf634f8f62b724acf50e1bf3b8384313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29dd44fc2c799b06a5dbacb6f078618e70ac68f44409685bbd76a9510edb27ec [INFO] running `Command { std: "docker" "start" "-a" "29dd44fc2c799b06a5dbacb6f078618e70ac68f44409685bbd76a9510edb27ec", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [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] 23 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log-analyzer v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn fetch_log(&self) -> RwLockReadGuard> { [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] 101 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fn fetch_search(&self) -> RwLockReadGuard> { [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] 105 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_json` is never used [INFO] [stdout] --> src/models/settings.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Settings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_json(json: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Filtering`, `FilterFinished`, `Searching`, and `SearchFinished` are never constructed [INFO] [stdout] --> src/services/log_service.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Filtering, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | // Finished filtering [INFO] [stdout] 35 | FilterFinished, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | // Finished busy searching [INFO] [stdout] 37 | Searching, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | // Finished search [INFO] [stdout] 39 | SearchFinished, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/services/log_service.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait LogAnalyzer { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | fn add_format(&self, alias: &str, regex: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 53 | /// Start a new search [INFO] [stdout] 54 | fn add_search(&self, regex: &str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | /// Add a new filter to the list of available filters [INFO] [stdout] 56 | fn add_filter(&self, filter: Filter); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 57 | /// Get log lines between the range [from, to] [INFO] [stdout] 58 | fn get_log_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | /// Get search lines between the range [from, to] [INFO] [stdout] 60 | fn get_search_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_log_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn get_search_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_logs(&self) -> Vec<(bool, String, Option)>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn get_formats(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | /// Get all the available filters together with their enabled state [INFO] [stdout] 84 | fn get_filters(&self) -> Vec<(bool, Filter)>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | /// Get how many lines are in the raw logs [INFO] [stdout] 86 | fn get_total_raw_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// Get how many lines are in the filtered log [INFO] [stdout] 88 | fn get_total_filtered_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | /// Get how many lines are in the search log [INFO] [stdout] 90 | fn get_total_searched_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | /// Enable or disable the given source [INFO] [stdout] 92 | fn toggle_source(&self, id: &str); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 93 | /// Enable or disable the given filter [INFO] [stdout] 94 | fn toggle_filter(&self, id: &str); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 95 | fn on_event(&self) -> broadcast::Receiver; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/log_store.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait LogStore { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn add_line(&self, log_id: &str, line: &str); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_logs(&self) -> Vec<(bool, String, Option)>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | /// Get the log source associated to the log id [INFO] [stdout] 27 | fn get_source(&self, id: &str) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | /// Get a list of all the lines for the requested log. WARNING: clones [INFO] [stdout] 29 | fn get_lines(&self, log_id: &str) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | /// Get a list of all the lines for the requested log. WARNING: moves [INFO] [stdout] 31 | fn extract_lines(&self, log_id: &str) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Get the count of all the lines [INFO] [stdout] 33 | fn get_total_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// Change the enabled state of the given log [INFO] [stdout] 35 | fn toggle_log(&self, log_id: &str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_formats`, `add_filter`, and `toggle_filter` are never used [INFO] [stdout] --> src/stores/processing_store.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ProcessingStore { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_formats(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn add_filter(&self, id: String, filter: LogLine, action: FilterAction, enabled: bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn toggle_filter(&self, id: &str); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/stores/analysis_store.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AnalysisStore { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn add_search_query(&self, query: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn reset_log(&self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | /// Clear the searched log [INFO] [stdout] 19 | fn reset_search(&self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | /// Get a RwLock to the current processed log to avoid copying [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | /// Get a RwLock to the current searched log to avoid copying [INFO] [stdout] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Get a copy of a window of lines. Is safe to query out of bounds [INFO] [stdout] 25 | fn get_log_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Get a copy of a window of search lines. Is safe to query out of bounds [INFO] [stdout] 27 | fn get_search_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn get_log_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_search_lines_containing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn get_total_filtered_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | /// Count the total number of search lines [INFO] [stdout] 47 | fn get_total_searched_lines(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_sorted_index` and `find_rolling_window` are never used [INFO] [stdout] --> src/stores/analysis_store.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 156 | impl InMemmoryAnalysisStore { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 157 | fn find_sorted_index(source: &[LogLine], index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn find_rolling_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_line_with_index` is never used [INFO] [stdout] --> src/stores/analysis_store.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn log_line_with_index(index: usize) -> LogLine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [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] 23 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn fetch_log(&self) -> RwLockReadGuard> { [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] 101 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fn fetch_search(&self) -> RwLockReadGuard> { [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] 105 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_line_with_index` is never used [INFO] [stdout] --> src/stores/analysis_store.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn log_line_with_index(index: usize) -> LogLine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [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] 23 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn fetch_log(&self) -> RwLockReadGuard> { [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] 101 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/analysis_store.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fn fetch_search(&self) -> RwLockReadGuard> { [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] 105 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "29dd44fc2c799b06a5dbacb6f078618e70ac68f44409685bbd76a9510edb27ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29dd44fc2c799b06a5dbacb6f078618e70ac68f44409685bbd76a9510edb27ec", kill_on_drop: false }` [INFO] [stdout] 29dd44fc2c799b06a5dbacb6f078618e70ac68f44409685bbd76a9510edb27ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46e06ddc29d26f9c9bcdf3ed8c1730eac30e1116dd3e91056b992c0b9c92e731 [INFO] running `Command { std: "docker" "start" "-a" "46e06ddc29d26f9c9bcdf3ed8c1730eac30e1116dd3e91056b992c0b9c92e731", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stores/analysis_store.rs:21:18 [INFO] [stderr] | [INFO] [stderr] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stores/analysis_store.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [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] 23 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stores/analysis_store.rs:101:18 [INFO] [stderr] | [INFO] [stderr] 101 | fn fetch_log(&self) -> RwLockReadGuard> { [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] 101 | fn fetch_log(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/stores/analysis_store.rs:105:21 [INFO] [stderr] | [INFO] [stderr] 105 | fn fetch_search(&self) -> RwLockReadGuard> { [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] 105 | fn fetch_search(&self) -> RwLockReadGuard<'_, RawRwLock, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: function `log_line_with_index` is never used [INFO] [stderr] --> src/stores/analysis_store.rs:194:8 [INFO] [stderr] | [INFO] [stderr] 194 | fn log_line_with_index(index: usize) -> LogLine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `log-analyzer` (lib) generated 4 warnings [INFO] [stderr] warning: `log-analyzer` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] warning: associated function `from_json` is never used [INFO] [stderr] --> src/models/settings.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Settings { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 14 | pub fn from_json(json: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Filtering`, `FilterFinished`, `Searching`, and `SearchFinished` are never constructed [INFO] [stderr] --> src/services/log_service.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub enum Event { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 33 | Filtering, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 34 | // Finished filtering [INFO] [stderr] 35 | FilterFinished, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 36 | // Finished busy searching [INFO] [stderr] 37 | Searching, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 38 | // Finished search [INFO] [stderr] 39 | SearchFinished, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/services/log_service.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub trait LogAnalyzer { [INFO] [stderr] | ----------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 52 | fn add_format(&self, alias: &str, regex: &str) -> Result<()>; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 53 | /// Start a new search [INFO] [stderr] 54 | fn add_search(&self, regex: &str); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 55 | /// Add a new filter to the list of available filters [INFO] [stderr] 56 | fn add_filter(&self, filter: Filter); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 57 | /// Get log lines between the range [from, to] [INFO] [stderr] 58 | fn get_log_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 59 | /// Get search lines between the range [from, to] [INFO] [stderr] 60 | fn get_search_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | fn get_log_lines_containing( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | fn get_search_lines_containing( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | fn get_logs(&self) -> Vec<(bool, String, Option)>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | fn get_formats(&self) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 83 | /// Get all the available filters together with their enabled state [INFO] [stderr] 84 | fn get_filters(&self) -> Vec<(bool, Filter)>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 85 | /// Get how many lines are in the raw logs [INFO] [stderr] 86 | fn get_total_raw_lines(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 87 | /// Get how many lines are in the filtered log [INFO] [stderr] 88 | fn get_total_filtered_lines(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 89 | /// Get how many lines are in the search log [INFO] [stderr] 90 | fn get_total_searched_lines(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 91 | /// Enable or disable the given source [INFO] [stderr] 92 | fn toggle_source(&self, id: &str); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 93 | /// Enable or disable the given filter [INFO] [stderr] 94 | fn toggle_filter(&self, id: &str); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 95 | fn on_event(&self) -> broadcast::Receiver; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/stores/log_store.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait LogStore { [INFO] [stderr] | -------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 19 | fn add_line(&self, log_id: &str, line: &str); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | fn get_logs(&self) -> Vec<(bool, String, Option)>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 26 | /// Get the log source associated to the log id [INFO] [stderr] 27 | fn get_source(&self, id: &str) -> Option>>; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 28 | /// Get a list of all the lines for the requested log. WARNING: clones [INFO] [stderr] 29 | fn get_lines(&self, log_id: &str) -> Vec; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 30 | /// Get a list of all the lines for the requested log. WARNING: moves [INFO] [stderr] 31 | fn extract_lines(&self, log_id: &str) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 32 | /// Get the count of all the lines [INFO] [stderr] 33 | fn get_total_lines(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | /// Change the enabled state of the given log [INFO] [stderr] 35 | fn toggle_log(&self, log_id: &str); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_formats`, `add_filter`, and `toggle_filter` are never used [INFO] [stderr] --> src/stores/processing_store.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait ProcessingStore { [INFO] [stderr] | --------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 19 | fn get_formats(&self) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | fn add_filter(&self, id: String, filter: LogLine, action: FilterAction, enabled: bool); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | fn toggle_filter(&self, id: &str); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/stores/analysis_store.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait AnalysisStore { [INFO] [stderr] | ------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 13 | fn add_search_query(&self, query: &str); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | fn reset_log(&self); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 18 | /// Clear the searched log [INFO] [stderr] 19 | fn reset_search(&self); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 20 | /// Get a RwLock to the current processed log to avoid copying [INFO] [stderr] 21 | fn fetch_log(&self) -> RwLockReadGuard>; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 22 | /// Get a RwLock to the current searched log to avoid copying [INFO] [stderr] 23 | fn fetch_search(&self) -> RwLockReadGuard>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 24 | /// Get a copy of a window of lines. Is safe to query out of bounds [INFO] [stderr] 25 | fn get_log_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 26 | /// Get a copy of a window of search lines. Is safe to query out of bounds [INFO] [stderr] 27 | fn get_search_lines(&self, from: usize, to: usize) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | fn get_log_lines_containing( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | fn get_search_lines_containing( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | fn get_total_filtered_lines(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | /// Count the total number of search lines [INFO] [stderr] 47 | fn get_total_searched_lines(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `find_sorted_index` and `find_rolling_window` are never used [INFO] [stderr] --> src/stores/analysis_store.rs:157:8 [INFO] [stderr] | [INFO] [stderr] 156 | impl InMemmoryAnalysisStore { [INFO] [stderr] | --------------------------- associated functions in this implementation [INFO] [stderr] 157 | fn find_sorted_index(source: &[LogLine], index: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | fn find_rolling_window( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `log_line_with_index` is never used [INFO] [stderr] --> src/stores/analysis_store.rs:194:8 [INFO] [stderr] | [INFO] [stderr] 194 | fn log_line_with_index(index: usize) -> LogLine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `log-analyzer` (bin "log-analyzer" test) generated 12 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/log_analyzer-0f3a324e533742c2) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test domain::apply_format::tests::assign_content_to_payload_if_no_format ... ok [INFO] [stdout] test models::filter::tests::deserialize ... ok [INFO] [stdout] test domain::apply_format::tests::assign_content_to_payload_if_no_matches ... ok [INFO] [stdout] test domain::apply_filters::tests::dont_match_on_multiple_conditions_unsatisfied ... ok [INFO] [stdout] test models::filter::tests::deserialize_list ... ok [INFO] [stdout] test models::filter::tests::serialize ... ok [INFO] [stdout] test models::settings::tests::test_serialize_settings ... ok [INFO] [stdout] test domain::apply_search::tests::correct_formatting ... ok [INFO] [stdout] test models::format::tests::serialize ... ok [INFO] [stdout] test models::format::tests::deserialize ... ok [INFO] [stdout] test models::settings::tests::test_load_empty_settings ... ok [INFO] [stdout] test models::settings::tests::test_load_settings ... ok [INFO] [stdout] test domain::apply_filters::tests::match_found_on_every_individual_field ... ok [INFO] [stdout] test domain::apply_format::tests::test_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/log_analyzer-fa217661f70595ca) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test domain::apply_format::tests::assign_content_to_payload_if_no_format ... ok [INFO] [stdout] test domain::apply_filters::tests::dont_match_on_multiple_conditions_unsatisfied ... ok [INFO] [stdout] test models::format::tests::deserialize ... ok [INFO] [stdout] test domain::apply_search::tests::correct_formatting ... ok [INFO] [stdout] test domain::apply_format::tests::assign_content_to_payload_if_no_matches ... ok [INFO] [stdout] test models::format::tests::serialize ... ok [INFO] [stdout] test models::settings::tests::test_load_empty_settings ... ok [INFO] [stdout] test models::settings::tests::test_load_settings ... ok [INFO] [stdout] test models::settings::tests::test_serialize_settings ... ok [INFO] [stdout] test models::filter::tests::deserialize ... ok [INFO] [stdout] test models::filter::tests::deserialize_list ... ok [INFO] [stdout] test models::filter::tests::serialize ... ok [INFO] [stdout] test domain::apply_filters::tests::match_found_on_every_individual_field ... ok [INFO] [stderr] Doc-tests log_analyzer [INFO] [stdout] test domain::apply_format::tests::test_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46e06ddc29d26f9c9bcdf3ed8c1730eac30e1116dd3e91056b992c0b9c92e731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e06ddc29d26f9c9bcdf3ed8c1730eac30e1116dd3e91056b992c0b9c92e731", kill_on_drop: false }` [INFO] [stdout] 46e06ddc29d26f9c9bcdf3ed8c1730eac30e1116dd3e91056b992c0b9c92e731