[INFO] cloning repository https://github.com/endepointe/log-analysis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/endepointe/log-analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendepointe%2Flog-analysis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendepointe%2Flog-analysis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9ba3111dd54d4812c3d5e6e085140d22c81c115 [INFO] testing endepointe/log-analysis against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendepointe%2Flog-analysis" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/endepointe/log-analysis [INFO] finished tweaking git repo https://github.com/endepointe/log-analysis [INFO] tweaked toml for git repo https://github.com/endepointe/log-analysis written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/endepointe/log-analysis on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--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] Locking 231 packages to latest compatible versions [INFO] [stderr] Adding crossterm v0.28.1 (available: v0.29.0) [INFO] [stderr] Adding ratatui v0.28.1 (available: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b899006e1e7eed057c5b2a4048973b3c9818d5ad1499a8ca42aac46a66306a83 [INFO] running `Command { std: "docker" "start" "-a" "b899006e1e7eed057c5b2a4048973b3c9818d5ad1499a8ca42aac46a66306a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b899006e1e7eed057c5b2a4048973b3c9818d5ad1499a8ca42aac46a66306a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b899006e1e7eed057c5b2a4048973b3c9818d5ad1499a8ca42aac46a66306a83", kill_on_drop: false }` [INFO] [stdout] b899006e1e7eed057c5b2a4048973b3c9818d5ad1499a8ca42aac46a66306a83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a088b3657be45d200ad235fa8552a89aa618d1376c83a98c1f4c447fad388bc9 [INFO] running `Command { std: "docker" "start" "-a" "a088b3657be45d200ad235fa8552a89aa618d1376c83a98c1f4c447fad388bc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling log-analysis v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stdout] --> src/zeek/zeek_log.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::helpers::print_type_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/zeek/zeek_log.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/zeek/zeek_log.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap,HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/zeek/zeek_log.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/zeek/zeek_log.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::error::Error` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/ip2location.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/ip2location.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc,Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/ip2location.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log::SummaryData` [INFO] [stdout] --> src/ip2location.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::zeek::zeek_log::SummaryData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stdout] --> src/ip2location.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::helpers::print_type_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/zeek/zeek_log.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proto_type_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut proto_type_set = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proto_type_set` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fields_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut fields_set = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fields_set` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut count: usize = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/zeek/zeek_log.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proto_type_set` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | proto_type_set = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fields_set` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | fields_set = true; // enables the data insertions [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut count: usize = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut d = GzDecoder::new(file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut d = GzDecoder::new(file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto` [INFO] [stdout] --> src/zeek/zeek_log.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | for (proto, protovalue) in &self.raw [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timefield` [INFO] [stdout] --> src/zeek/zeek_log.rs:338:18 [INFO] [stdout] | [INFO] [stdout] 338 | for (timefield, timevalue) in protovalue.iter() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timefield` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/zeek/zeek_log.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | for (ip,val) in arc_data.lock().unwrap().iter_mut() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | let mut arc_ip2locresponse = Arc::new(Mutex::new(IP2LocationResponse::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut count = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 46 | (None, None, None) => return 0, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 47 | (None, None, Some(_end)) => return 1, [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 48 | (None, Some(_log), None) => return 2, [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 49 | (None, Some(_log), Some(_end)) => return 3, [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | (Some(src_ip), None, None) => return 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | (Some(src_ip), None, Some(_end)) => return 5, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | (Some(src_ip), Some(_log), None) => return 6, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | (Some(src_ip), Some(_log), Some(_end)) => return 7, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_date_format` is never used [INFO] [stdout] --> src/zeek/zeek_search_params.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> ZeekSearchParams<'a> [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn check_date_format(p: &'a Path) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/zeek/zeek_log.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 455 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `types::error::Error`, `types::helpers::print_type_of`, and `zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | zeek::zeek_log_proto::ZeekProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | types::error::Error, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | types::helpers::print_type_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::{prelude::*, widgets::canvas::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::symbols::scrollbar` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::symbols::scrollbar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEvent` [INFO] [stdout] --> src/main.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | crossterm::event::{self, KeyCode, KeyEvent, KeyEventKind}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::{Arc,Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Tab_0_Focus` should have an upper camel case name [INFO] [stdout] --> src/main.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | enum Tab_0_Focus [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0Focus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Tab_0_InfoState` should have an upper camel case name [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Tab_0_InfoState [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0InfoState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:765:19 [INFO] [stdout] | [INFO] [stdout] 765 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:770:19 [INFO] [stdout] | [INFO] [stdout] 770 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:775:19 [INFO] [stdout] | [INFO] [stdout] 775 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:780:19 [INFO] [stdout] | [INFO] [stdout] 780 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 383 | ... MenuFocus::IpInput => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 386 | ... MenuFocus::StartInput => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 389 | ... MenuFocus::EndInput => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 392 | ... MenuFocus::BaseDirInput => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 395 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 402 | ... MenuFocus::IpInput => state.ip.push(c), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 403 | ... MenuFocus::StartInput => state.start_date.push(c), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 404 | ... MenuFocus::EndInput => state.end_date.push(c), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 405 | ... MenuFocus::BaseDirInput => state.base_dir.push(c), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 406 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_input` [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut ip_input = String::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_date` [INFO] [stdout] --> src/main.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... let end_date: &str = &end.format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | ... let res = main_log.search(¶ms); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_log_data` [INFO] [stdout] --> src/main.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_log_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut ip_input = String::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut list_state = ListState::default(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list_state` [INFO] [stdout] --> src/main.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | app_mode: &AppMode, list_state: &ListState) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip2location_data` [INFO] [stdout] --> src/main.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let ip2location_data = match data.get_ip2location_data() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip2location_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_para` [INFO] [stdout] --> src/main.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | let some_para = Paragraph::new(String::from("placeholder")) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_para` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 762 | MenuFocus::IpInput => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 767 | MenuFocus::StartInput => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 772 | MenuFocus::EndInput => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 777 | MenuFocus::BaseDirInput => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 782 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_text` and `ip2loc_info` are never read [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct AppState<'a> [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | input_text: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | ip2loc_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 43s [INFO] running `Command { std: "docker" "inspect" "a088b3657be45d200ad235fa8552a89aa618d1376c83a98c1f4c447fad388bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a088b3657be45d200ad235fa8552a89aa618d1376c83a98c1f4c447fad388bc9", kill_on_drop: false }` [INFO] [stdout] a088b3657be45d200ad235fa8552a89aa618d1376c83a98c1f4c447fad388bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33d1d857fe13aabc2a4e596ccd6955dc612b01b79489494cd750832341af09f5 [INFO] running `Command { std: "docker" "start" "-a" "33d1d857fe13aabc2a4e596ccd6955dc612b01b79489494cd750832341af09f5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stdout] --> src/zeek/zeek_log.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::helpers::print_type_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/zeek/zeek_log.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/zeek/zeek_log.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap,HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/zeek/zeek_log.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/zeek/zeek_log.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::error::Error` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/ip2location.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/ip2location.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc,Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/ip2location.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log::SummaryData` [INFO] [stdout] --> src/ip2location.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::zeek::zeek_log::SummaryData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stdout] --> src/ip2location.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::helpers::print_type_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/zeek/zeek_log.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proto_type_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut proto_type_set = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proto_type_set` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fields_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut fields_set = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fields_set` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut count: usize = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/zeek/zeek_log.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proto_type_set` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | proto_type_set = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fields_set` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | fields_set = true; // enables the data insertions [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut count: usize = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut d = GzDecoder::new(file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut d = GzDecoder::new(file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto` [INFO] [stdout] --> src/zeek/zeek_log.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | for (proto, protovalue) in &self.raw [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timefield` [INFO] [stdout] --> src/zeek/zeek_log.rs:338:18 [INFO] [stdout] | [INFO] [stdout] 338 | for (timefield, timevalue) in protovalue.iter() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timefield` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/zeek/zeek_log.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | for (ip,val) in arc_data.lock().unwrap().iter_mut() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | let mut arc_ip2locresponse = Arc::new(Mutex::new(IP2LocationResponse::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut count = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 46 | (None, None, None) => return 0, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 47 | (None, None, Some(_end)) => return 1, [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 48 | (None, Some(_log), None) => return 2, [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 49 | (None, Some(_log), Some(_end)) => return 3, [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | (Some(src_ip), None, None) => return 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | (Some(src_ip), None, Some(_end)) => return 5, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | (Some(src_ip), Some(_log), None) => return 6, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | (Some(src_ip), Some(_log), Some(_end)) => return 7, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_date_format` is never used [INFO] [stdout] --> src/zeek/zeek_search_params.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> ZeekSearchParams<'a> [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn check_date_format(p: &'a Path) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/zeek/zeek_log.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 455 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log-analysis v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `types::error::Error`, `types::helpers::print_type_of`, and `zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | zeek::zeek_log_proto::ZeekProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | types::error::Error, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | types::helpers::print_type_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::{prelude::*, widgets::canvas::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::symbols::scrollbar` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::symbols::scrollbar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEvent` [INFO] [stdout] --> src/main.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | crossterm::event::{self, KeyCode, KeyEvent, KeyEventKind}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::{Arc,Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Tab_0_Focus` should have an upper camel case name [INFO] [stdout] --> src/main.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | enum Tab_0_Focus [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0Focus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Tab_0_InfoState` should have an upper camel case name [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Tab_0_InfoState [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0InfoState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:765:19 [INFO] [stdout] | [INFO] [stdout] 765 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:770:19 [INFO] [stdout] | [INFO] [stdout] 770 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:775:19 [INFO] [stdout] | [INFO] [stdout] 775 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:780:19 [INFO] [stdout] | [INFO] [stdout] 780 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 383 | ... MenuFocus::IpInput => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 386 | ... MenuFocus::StartInput => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 389 | ... MenuFocus::EndInput => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 392 | ... MenuFocus::BaseDirInput => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 395 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 402 | ... MenuFocus::IpInput => state.ip.push(c), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 403 | ... MenuFocus::StartInput => state.start_date.push(c), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 404 | ... MenuFocus::EndInput => state.end_date.push(c), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 405 | ... MenuFocus::BaseDirInput => state.base_dir.push(c), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 406 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_input` [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut ip_input = String::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_date` [INFO] [stdout] --> src/main.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... let end_date: &str = &end.format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | ... let res = main_log.search(¶ms); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_log_data` [INFO] [stdout] --> src/main.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_log_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut ip_input = String::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut list_state = ListState::default(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list_state` [INFO] [stdout] --> src/main.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | app_mode: &AppMode, list_state: &ListState) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip2location_data` [INFO] [stdout] --> src/main.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let ip2location_data = match data.get_ip2location_data() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip2location_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_para` [INFO] [stdout] --> src/main.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | let some_para = Paragraph::new(String::from("placeholder")) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_para` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 762 | MenuFocus::IpInput => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 767 | MenuFocus::StartInput => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 772 | MenuFocus::EndInput => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 777 | MenuFocus::BaseDirInput => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 782 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_text` and `ip2loc_info` are never read [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct AppState<'a> [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | input_text: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | ip2loc_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `types::error::Error`, `types::helpers::print_type_of`, and `zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> tests/zeek_search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | zeek::zeek_log_proto::ZeekProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | types::error::Error, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | types::helpers::print_type_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/zeek_search.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `types::error::Error`, `types::helpers::print_type_of`, and `zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | zeek::zeek_log_proto::ZeekProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | types::error::Error, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | types::helpers::print_type_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::{prelude::*, widgets::canvas::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::symbols::scrollbar` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::symbols::scrollbar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEvent` [INFO] [stdout] --> src/main.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | crossterm::event::{self, KeyCode, KeyEvent, KeyEventKind}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::{Arc,Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Tab_0_Focus` should have an upper camel case name [INFO] [stdout] --> src/main.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | enum Tab_0_Focus [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0Focus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Tab_0_InfoState` should have an upper camel case name [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Tab_0_InfoState [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0InfoState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> tests/zeek_search.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let res = log.search(¶ms); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stdout] --> src/zeek/zeek_log.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::helpers::print_type_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/zeek/zeek_log.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/zeek/zeek_log.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap,HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/zeek/zeek_log.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/zeek/zeek_log.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::error::Error` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/ip2location.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/ip2location.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc,Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stdout] --> src/ip2location.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::zeek::zeek_log::SummaryData` [INFO] [stdout] --> src/ip2location.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::zeek::zeek_log::SummaryData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stdout] --> src/ip2location.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::helpers::print_type_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:765:19 [INFO] [stdout] | [INFO] [stdout] 765 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:770:19 [INFO] [stdout] | [INFO] [stdout] 770 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:775:19 [INFO] [stdout] | [INFO] [stdout] 775 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/main.rs:780:19 [INFO] [stdout] | [INFO] [stdout] 780 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 383 | ... MenuFocus::IpInput => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 386 | ... MenuFocus::StartInput => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 389 | ... MenuFocus::EndInput => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 392 | ... MenuFocus::BaseDirInput => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 395 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 402 | ... MenuFocus::IpInput => state.ip.push(c), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 403 | ... MenuFocus::StartInput => state.start_date.push(c), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 404 | ... MenuFocus::EndInput => state.end_date.push(c), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 405 | ... MenuFocus::BaseDirInput => state.base_dir.push(c), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 406 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_input` [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut ip_input = String::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_date` [INFO] [stdout] --> src/main.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... let end_date: &str = &end.format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | ... let res = main_log.search(¶ms); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_log_data` [INFO] [stdout] --> src/main.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_log_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut ip_input = String::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut list_state = ListState::default(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list_state` [INFO] [stdout] --> src/main.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | app_mode: &AppMode, list_state: &ListState) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip2location_data` [INFO] [stdout] --> src/main.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let ip2location_data = match data.get_ip2location_data() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip2location_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_para` [INFO] [stdout] --> src/main.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | let some_para = Paragraph::new(String::from("placeholder")) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_para` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 762 | MenuFocus::IpInput => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 767 | MenuFocus::StartInput => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 772 | MenuFocus::EndInput => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 777 | MenuFocus::BaseDirInput => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 782 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_text` and `ip2loc_info` are never read [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct AppState<'a> [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | input_text: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | ip2loc_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/zeek/zeek_log.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proto_type_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut proto_type_set = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proto_type_set` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fields_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut fields_set = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fields_set` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut count: usize = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/zeek/zeek_log.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proto_type_set` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | proto_type_set = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fields_set` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | fields_set = true; // enables the data insertions [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/zeek/zeek_log.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut count: usize = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut d = GzDecoder::new(file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut d = GzDecoder::new(file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto` [INFO] [stdout] --> src/zeek/zeek_log.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | for (proto, protovalue) in &self.raw [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timefield` [INFO] [stdout] --> src/zeek/zeek_log.rs:338:18 [INFO] [stdout] | [INFO] [stdout] 338 | for (timefield, timevalue) in protovalue.iter() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timefield` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | let mut count = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/zeek/zeek_log.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | for (ip,val) in arc_data.lock().unwrap().iter_mut() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | let mut arc_ip2locresponse = Arc::new(Mutex::new(IP2LocationResponse::new())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zeek/zeek_log.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut count = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 46 | (None, None, None) => return 0, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 47 | (None, None, Some(_end)) => return 1, [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 48 | (None, Some(_log), None) => return 2, [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 49 | (None, Some(_log), Some(_end)) => return 3, [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | (Some(src_ip), None, None) => return 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | (Some(src_ip), None, Some(_end)) => return 5, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | (Some(src_ip), Some(_log), None) => return 6, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_ip` [INFO] [stdout] --> src/zeek/zeek_search_params.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | (Some(src_ip), Some(_log), Some(_end)) => return 7, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_date_format` is never used [INFO] [stdout] --> src/zeek/zeek_search_params.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> ZeekSearchParams<'a> [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn check_date_format(p: &'a Path) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/zeek/zeek_log.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 455 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "33d1d857fe13aabc2a4e596ccd6955dc612b01b79489494cd750832341af09f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d1d857fe13aabc2a4e596ccd6955dc612b01b79489494cd750832341af09f5", kill_on_drop: false }` [INFO] [stdout] 33d1d857fe13aabc2a4e596ccd6955dc612b01b79489494cd750832341af09f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6bdef9cad790258e2e8d055da30a9a44501ecca23e70bfd911fde3e2419cdbb1 [INFO] running `Command { std: "docker" "start" "-a" "6bdef9cad790258e2e8d055da30a9a44501ecca23e70bfd911fde3e2419cdbb1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stderr] --> src/zeek/zeek_log.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::types::helpers::print_type_of; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/zeek/zeek_log.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/zeek/zeek_log.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | use std::collections::{HashMap,HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/zeek/zeek_log.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime` and `Utc` [INFO] [stderr] --> src/zeek/zeek_log.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::types::error::Error` [INFO] [stderr] --> src/zeek/zeek_search_params.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::types::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stderr] --> src/zeek/zeek_search_params.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/ip2location.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc` and `Mutex` [INFO] [stderr] --> src/ip2location.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::{Arc,Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::zeek::zeek_log_proto::ZeekProtocol` [INFO] [stderr] --> src/ip2location.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::zeek::zeek_log_proto::ZeekProtocol; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::zeek::zeek_log::SummaryData` [INFO] [stderr] --> src/ip2location.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::zeek::zeek_log::SummaryData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::types::helpers::print_type_of` [INFO] [stderr] --> src/ip2location.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::types::helpers::print_type_of; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/zeek/zeek_log.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::{Read, Write, BufReader, BufRead}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `proto_type_set` is assigned to, but never used [INFO] [stderr] --> src/zeek/zeek_log.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | let mut proto_type_set = false; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_proto_type_set` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `fields_set` is assigned to, but never used [INFO] [stderr] --> src/zeek/zeek_log.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | let mut fields_set = false; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_fields_set` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/zeek/zeek_log.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | let mut count: usize = 0; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/zeek/zeek_log.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | let mut s = String::new(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `proto_type_set` is never read [INFO] [stderr] --> src/zeek/zeek_log.rs:124:25 [INFO] [stderr] | [INFO] [stderr] 124 | proto_type_set = true; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `fields_set` is never read [INFO] [stderr] --> src/zeek/zeek_log.rs:140:25 [INFO] [stderr] | [INFO] [stderr] 140 | fields_set = true; // enables the data insertions [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `data` is never read [INFO] [stderr] --> src/zeek/zeek_log.rs:173:33 [INFO] [stderr] | [INFO] [stderr] 173 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `data` is never read [INFO] [stderr] --> src/zeek/zeek_log.rs:200:33 [INFO] [stderr] | [INFO] [stderr] 200 | let mut data: Vec<&str> = Vec::<&str>::new(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | let mut count: usize = 0; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | let mut s = String::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | let mut d = GzDecoder::new(file); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | let mut d = GzDecoder::new(file); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:181:29 [INFO] [stderr] | [INFO] [stderr] 181 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:208:29 [INFO] [stderr] | [INFO] [stderr] 208 | let mut iter = std::iter::zip(&fields,&data); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proto` [INFO] [stderr] --> src/zeek/zeek_log.rs:336:14 [INFO] [stderr] | [INFO] [stderr] 336 | for (proto, protovalue) in &self.raw [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proto` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timefield` [INFO] [stderr] --> src/zeek/zeek_log.rs:338:18 [INFO] [stderr] | [INFO] [stderr] 338 | for (timefield, timevalue) in protovalue.iter() [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timefield` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:334:13 [INFO] [stderr] | [INFO] [stderr] 334 | let mut map: HashMap = HashMap::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/zeek/zeek_log.rs:418:21 [INFO] [stderr] | [INFO] [stderr] 418 | let mut count = 0; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/zeek/zeek_log.rs:422:21 [INFO] [stderr] | [INFO] [stderr] 422 | for (ip,val) in arc_data.lock().unwrap().iter_mut() [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:433:25 [INFO] [stderr] | [INFO] [stderr] 433 | let mut arc_ip2locresponse = Arc::new(Mutex::new(IP2LocationResponse::new())); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zeek/zeek_log.rs:418:17 [INFO] [stderr] | [INFO] [stderr] 418 | let mut count = 0; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/zeek/zeek_search_params.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 46 | (None, None, None) => return 0, [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] 47 | (None, None, Some(_end)) => return 1, [INFO] [stderr] | ------------------------ matches some of the same values [INFO] [stderr] 48 | (None, Some(_log), None) => return 2, [INFO] [stderr] | ------------------------ matches some of the same values [INFO] [stderr] 49 | (None, Some(_log), Some(_end)) => return 3, [INFO] [stderr] | ------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 54 | _ => return 8 // value should not be greater than 7. [INFO] [stderr] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_ip` [INFO] [stderr] --> src/zeek/zeek_search_params.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | (Some(src_ip), None, None) => return 4, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_ip` [INFO] [stderr] --> src/zeek/zeek_search_params.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | (Some(src_ip), None, Some(_end)) => return 5, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_ip` [INFO] [stderr] --> src/zeek/zeek_search_params.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | (Some(src_ip), Some(_log), None) => return 6, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_ip` [INFO] [stderr] --> src/zeek/zeek_search_params.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | (Some(src_ip), Some(_log), Some(_end)) => return 7, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip` [INFO] [stderr] [INFO] [stderr] warning: associated function `check_date_format` is never used [INFO] [stderr] --> src/zeek/zeek_search_params.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 34 | impl<'a> ZeekSearchParams<'a> [INFO] [stderr] | ----------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 96 | fn check_date_format(p: &'a Path) -> bool [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/zeek/zeek_log.rs:455:17 [INFO] [stderr] | [INFO] [stderr] 455 | handle.join(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 455 | let _ = handle.join(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `log-analysis` (lib) generated 41 warnings (run `cargo fix --lib -p log-analysis` to apply 21 suggestions) [INFO] [stderr] warning: `log-analysis` (lib test) generated 41 warnings (41 duplicates) [INFO] [stderr] warning: unused imports: `types::error::Error`, `types::helpers::print_type_of`, and `zeek::zeek_log_proto::ZeekProtocol` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | zeek::zeek_log_proto::ZeekProtocol, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | types::error::Error, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | types::helpers::print_type_of, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude::*` [INFO] [stderr] --> src/main.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | use ratatui::{prelude::*, widgets::canvas::*}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ratatui::symbols::scrollbar` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use ratatui::symbols::scrollbar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `KeyEvent` [INFO] [stderr] --> src/main.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | crossterm::event::{self, KeyCode, KeyEvent, KeyEventKind}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc` and `Mutex` [INFO] [stderr] --> src/main.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | use std::sync::{Arc,Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Tab_0_Focus` should have an upper camel case name [INFO] [stderr] --> src/main.rs:42:6 [INFO] [stderr] | [INFO] [stderr] 42 | enum Tab_0_Focus [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0Focus` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Tab_0_InfoState` should have an upper camel case name [INFO] [stderr] --> src/main.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | struct Tab_0_InfoState [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Tab0InfoState` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stderr] --> src/main.rs:765:19 [INFO] [stderr] | [INFO] [stderr] 765 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stderr] --> src/main.rs:770:19 [INFO] [stderr] | [INFO] [stderr] 770 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stderr] --> src/main.rs:775:19 [INFO] [stderr] | [INFO] [stderr] 775 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stderr] --> src/main.rs:780:19 [INFO] [stderr] | [INFO] [stderr] 780 | frame.set_cursor(cursor_x,cursor_y); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BufRead` [INFO] [stderr] --> src/main.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | use std::io::{self, BufRead}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:395:29 [INFO] [stderr] | [INFO] [stderr] 395 | ... _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/main.rs:395:29 [INFO] [stderr] | [INFO] [stderr] 383 | ... MenuFocus::IpInput => { [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 386 | ... MenuFocus::StartInput => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 389 | ... MenuFocus::EndInput => { [INFO] [stderr] | ------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 392 | ... MenuFocus::BaseDirInput => { [INFO] [stderr] | ----------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 395 | ... _ => {} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:406:29 [INFO] [stderr] | [INFO] [stderr] 406 | ... _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/main.rs:406:29 [INFO] [stderr] | [INFO] [stderr] 402 | ... MenuFocus::IpInput => state.ip.push(c), [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] 403 | ... MenuFocus::StartInput => state.start_date.push(c), [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] 404 | ... MenuFocus::EndInput => state.end_date.push(c), [INFO] [stderr] | ------------------- matches some of the same values [INFO] [stderr] 405 | ... MenuFocus::BaseDirInput => state.base_dir.push(c), [INFO] [stderr] | ----------------------- matches some of the same values [INFO] [stderr] 406 | ... _ => {} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip_input` [INFO] [stderr] --> src/main.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | let mut ip_input = String::new(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_date` [INFO] [stderr] --> src/main.rs:282:37 [INFO] [stderr] | [INFO] [stderr] 282 | ... let end_date: &str = &end.format("%Y-%m-%d").to_string(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:292:37 [INFO] [stderr] | [INFO] [stderr] 292 | ... let res = main_log.search(¶ms); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from_log_data` [INFO] [stderr] --> src/main.rs:320:49 [INFO] [stderr] | [INFO] [stderr] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_log_data` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | let mut ip_input = String::new(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | let mut list_state = ListState::default(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:320:45 [INFO] [stderr] | [INFO] [stderr] 320 | ... let mut from_log_data = curr_log.summary.clone(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `list_state` [INFO] [stderr] --> src/main.rs:439:36 [INFO] [stderr] | [INFO] [stderr] 439 | app_mode: &AppMode, list_state: &ListState) [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip2location_data` [INFO] [stderr] --> src/main.rs:511:17 [INFO] [stderr] | [INFO] [stderr] 511 | let ip2location_data = match data.get_ip2location_data() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip2location_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `some_para` [INFO] [stderr] --> src/main.rs:543:17 [INFO] [stderr] | [INFO] [stderr] 543 | let some_para = Paragraph::new(String::from("placeholder")) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_para` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:782:9 [INFO] [stderr] | [INFO] [stderr] 782 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/main.rs:782:9 [INFO] [stderr] | [INFO] [stderr] 762 | MenuFocus::IpInput => { [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 767 | MenuFocus::StartInput => { [INFO] [stderr] | --------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 772 | MenuFocus::EndInput => { [INFO] [stderr] | ------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 777 | MenuFocus::BaseDirInput => { [INFO] [stderr] | ----------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 782 | _ => {} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] [INFO] [stderr] warning: fields `input_text` and `ip2loc_info` are never read [INFO] [stderr] --> src/main.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 61 | struct AppState<'a> [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 66 | input_text: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | ip2loc_info: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `types::error::Error`, `types::helpers::print_type_of`, and `zeek::zeek_log_proto::ZeekProtocol` [INFO] [stderr] --> tests/zeek_search.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | zeek::zeek_log_proto::ZeekProtocol, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | types::error::Error, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | types::helpers::print_type_of, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> tests/zeek_search.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> tests/zeek_search.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | let res = log.search(¶ms); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `log-analysis` (bin "log-analysis") generated 26 warnings (run `cargo fix --bin "log-analysis"` to apply 8 suggestions) [INFO] [stderr] warning: `log-analysis` (bin "log-analysis" test) generated 26 warnings (26 duplicates) [INFO] [stderr] warning: `log-analysis` (test "zeek_search") generated 3 warnings (run `cargo fix --test "zeek_search"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/log_analysis-484d440de5190c97) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/log_analysis-6dcbe62b2dd867c5) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/header.rs (/opt/rustwide/target/debug/deps/header-6c65efc46a69916e) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_new ... ok [INFO] [stdout] test test_add_field_entry ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/ip2location.rs (/opt/rustwide/target/debug/deps/ip2location-f4b16f71447beea6) [INFO] [stdout] [INFO] [stderr] Running tests/zeek_search.rs (/opt/rustwide/target/debug/deps/zeek_search-3eb95f7353559460) [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_create_log ... ok [INFO] [stdout] test test_search_params ... ok [INFO] [stderr] error: test failed, to rerun pass `--test zeek_search` [INFO] [stdout] test _write_to_file ... FAILED [INFO] [stdout] test test_search_date ... FAILED [INFO] [stdout] test test_flate2 ... FAILED [INFO] [stdout] test test_search_ip ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- _write_to_file stdout ---- [INFO] [stdout] [INFO] [stdout] thread '_write_to_file' panicked at tests/zeek_search.rs:73:49: [INFO] [stdout] should be able to create the file.: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f30e869b342 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f30e869b342 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f30e869b342 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f30e869b342 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f30e86c1153 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f30e86c1153 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5f30e86980b3 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f30e86980b3 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f30e869b192 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f30e869ca9c - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5f30e869c8f2 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5f30e8650a54 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5f30e8650a54 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f30e869d47b - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5f30e869d47b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5f30e869d24a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5f30e869b839 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5f30e869cedd - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5f30e86bf9d0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f30e86bfd76 - core::result::unwrap_failed::hfbbd3c78a73fea3d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x5f30e8615f75 - core::result::Result::expect::hf497b8339cf73e00 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1119:23 [INFO] [stdout] 21: 0x5f30e8615f75 - zeek_search::_write_to_file::hf11456eef457911e [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:73:49 [INFO] [stdout] 22: 0x5f30e8615f75 - zeek_search::_write_to_file::{{closure}}::h17e7f1ab849d9ed0 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:70:20 [INFO] [stdout] 23: 0x5f30e8615f75 - core::ops::function::FnOnce::call_once::hc06e4d3ca69e1baf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f30e865618b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5f30e865618b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5f30e86553ce - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5f30e86553ce - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5f30e86553ce - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5f30e86553ce - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5f30e86553ce - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5f30e86553ce - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5f30e86553ce - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5f30e8618f74 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5f30e8618f74 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5f30e861c91a - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5f30e861c91a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5f30e861c91a - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5f30e861c91a - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5f30e861c91a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x5f30e86a03d7 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x76d277f43aa4 - [INFO] [stdout] 46: 0x76d277fd0a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_search_date stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_search_date' panicked at tests/zeek_search.rs:160:5: [INFO] [stdout] assertion failed: res.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f30e869b342 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f30e869b342 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f30e869b342 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f30e869b342 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f30e86c1153 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f30e86c1153 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5f30e86980b3 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f30e86980b3 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f30e869b192 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f30e869ca9c - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5f30e869c8f2 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5f30e8650a54 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5f30e8650a54 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f30e869d47b - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5f30e869d47b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5f30e869d216 - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x5f30e869b839 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5f30e869cedd - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5f30e86bf9d0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f30e86bfa3c - core::panicking::panic::hd2a569f4f37f7e10 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5f30e8614f98 - zeek_search::test_search_date::hdde6b47d1a629414 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:160:5 [INFO] [stdout] 21: 0x5f30e8614f98 - zeek_search::test_search_date::{{closure}}::he1764141e35a9a0b [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:149:22 [INFO] [stdout] 22: 0x5f30e8614f98 - core::ops::function::FnOnce::call_once::h06fc614f1b262658 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f30e865618b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f30e865618b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x5f30e86553ce - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x5f30e86553ce - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5f30e86553ce - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5f30e86553ce - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5f30e86553ce - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f30e86553ce - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x5f30e86553ce - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x5f30e8618f74 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x5f30e8618f74 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5f30e861c91a - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5f30e861c91a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x5f30e861c91a - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x5f30e861c91a - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5f30e861c91a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 42: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5f30e86a03d7 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 44: 0x76d277f43aa4 - [INFO] [stdout] 45: 0x76d277fd0a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_flate2 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_flate2' panicked at tests/zeek_search.rs:28:26: [INFO] [stdout] conn file should exist: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f30e869b342 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f30e869b342 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f30e869b342 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f30e869b342 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f30e86c1153 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f30e86c1153 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5f30e86980b3 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f30e86980b3 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f30e869b192 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f30e869ca9c - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5f30e869c8f2 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5f30e8650a54 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5f30e8650a54 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f30e869d47b - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5f30e869d47b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5f30e869d24a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5f30e869b839 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5f30e869cedd - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5f30e86bf9d0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f30e86bfd76 - core::result::unwrap_failed::hfbbd3c78a73fea3d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x5f30e86156c6 - core::result::Result::expect::hf497b8339cf73e00 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1119:23 [INFO] [stdout] 21: 0x5f30e86156c6 - zeek_search::test_flate2::hc81c7f13578f7a78 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:28:26 [INFO] [stdout] 22: 0x5f30e86156c6 - zeek_search::test_flate2::{{closure}}::h9f607dce05a34827 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:25:17 [INFO] [stdout] 23: 0x5f30e86156c6 - core::ops::function::FnOnce::call_once::h59e9468cea9f33ae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f30e865618b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5f30e865618b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5f30e86553ce - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5f30e86553ce - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5f30e86553ce - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5f30e86553ce - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5f30e86553ce - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5f30e86553ce - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5f30e86553ce - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5f30e8618f74 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5f30e8618f74 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5f30e861c91a - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5f30e861c91a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5f30e861c91a - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5f30e861c91a - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5f30e861c91a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x5f30e86a03d7 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x76d277f43aa4 - [INFO] [stdout] 46: 0x76d277fd0a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_search_ip stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_search_ip' panicked at tests/zeek_search.rs:200:5: [INFO] [stdout] assertion failed: res.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f30e869b342 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f30e869b342 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f30e869b342 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f30e869b342 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f30e86c1153 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f30e86c1153 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5f30e86980b3 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f30e86980b3 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f30e869b192 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f30e869ca9c - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5f30e869c8f2 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5f30e8650a54 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5f30e8650a54 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f30e869d47b - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5f30e869d47b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5f30e869d216 - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x5f30e869b839 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5f30e869cedd - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5f30e86bf9d0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f30e86bfa3c - core::panicking::panic::hd2a569f4f37f7e10 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5f30e861545e - zeek_search::test_search_ip::he66cf0fc6d96d7cd [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:200:5 [INFO] [stdout] 21: 0x5f30e861545e - zeek_search::test_search_ip::{{closure}}::h5660f8daaf56be9a [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:190:20 [INFO] [stdout] 22: 0x5f30e861545e - core::ops::function::FnOnce::call_once::h32960b811d173879 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f30e865618b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f30e865618b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x5f30e86553ce - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x5f30e86553ce - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5f30e86553ce - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5f30e86553ce - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5f30e86553ce - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f30e86553ce - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x5f30e86553ce - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x5f30e8618f74 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x5f30e8618f74 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5f30e861c91a - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5f30e861c91a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x5f30e861c91a - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x5f30e861c91a - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5f30e861c91a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5f30e861c91a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 42: 0x5f30e86a03d7 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5f30e86a03d7 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 44: 0x76d277f43aa4 - [INFO] [stdout] 45: 0x76d277fd0a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] _write_to_file [INFO] [stdout] test_flate2 [INFO] [stdout] test_search_date [INFO] [stdout] test_search_ip [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6bdef9cad790258e2e8d055da30a9a44501ecca23e70bfd911fde3e2419cdbb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bdef9cad790258e2e8d055da30a9a44501ecca23e70bfd911fde3e2419cdbb1", kill_on_drop: false }` [INFO] [stdout] 6bdef9cad790258e2e8d055da30a9a44501ecca23e70bfd911fde3e2419cdbb1