[INFO] fetching crate log-analysis 0.1.6... [INFO] testing log-analysis-0.1.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate log-analysis 0.1.6 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate log-analysis 0.1.6 [INFO] finished tweaking crates.io crate log-analysis 0.1.6 [INFO] tweaked toml for crates.io crate log-analysis 0.1.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate log-analysis 0.1.6 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate log-analysis 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f501fadb28373add1bc876fc06a0e80ed56eb59fbfe42d0a9dc08d2e05c7ea [INFO] running `Command { std: "docker" "start" "-a" "38f501fadb28373add1bc876fc06a0e80ed56eb59fbfe42d0a9dc08d2e05c7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f501fadb28373add1bc876fc06a0e80ed56eb59fbfe42d0a9dc08d2e05c7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f501fadb28373add1bc876fc06a0e80ed56eb59fbfe42d0a9dc08d2e05c7ea", kill_on_drop: false }` [INFO] [stdout] 38f501fadb28373add1bc876fc06a0e80ed56eb59fbfe42d0a9dc08d2e05c7ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eb95b7dd16e58838f1ad809121c92d8ebd3c7e497f5d3520944a840fb109f94 [INFO] running `Command { std: "docker" "start" "-a" "8eb95b7dd16e58838f1ad809121c92d8ebd3c7e497f5d3520944a840fb109f94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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: variable `proto_type_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:89:13 [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)]` (part of `#[warn(unused)]`) 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:13 [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:13 [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:13 [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)]` (part of `#[warn(unused)]`) 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: 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: `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: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: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:418:17 [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `ip_input` [INFO] [stdout] --> src/main.rs:131:9 [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)]` (part of `#[warn(unused)]`) 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:45 [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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.37s [INFO] running `Command { std: "docker" "inspect" "8eb95b7dd16e58838f1ad809121c92d8ebd3c7e497f5d3520944a840fb109f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb95b7dd16e58838f1ad809121c92d8ebd3c7e497f5d3520944a840fb109f94", kill_on_drop: false }` [INFO] [stdout] 8eb95b7dd16e58838f1ad809121c92d8ebd3c7e497f5d3520944a840fb109f94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe76cd0c6901f4cd5079fe81e8768e994132c1b1d80d6fe37e0a8d018208a51 [INFO] running `Command { std: "docker" "start" "-a" "ffe76cd0c6901f4cd5079fe81e8768e994132c1b1d80d6fe37e0a8d018208a51", 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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: variable `proto_type_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:89:13 [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)]` (part of `#[warn(unused)]`) 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:13 [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:13 [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:13 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log-analysis v0.1.6 (/opt/rustwide/workdir) [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: 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: `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: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: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:418:17 [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `ip_input` [INFO] [stdout] --> src/main.rs:131:9 [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)]` (part of `#[warn(unused)]`) 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:45 [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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: variable `proto_type_set` is assigned to, but never used [INFO] [stdout] --> src/zeek/zeek_log.rs:89:13 [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)]` (part of `#[warn(unused)]`) 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:13 [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:13 [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:13 [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)]` (part of `#[warn(unused)]`) 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: 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: `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: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: unused variable: `count` [INFO] [stdout] --> src/zeek/zeek_log.rs:418:17 [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `ip_input` [INFO] [stdout] --> src/main.rs:131:9 [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)]` (part of `#[warn(unused)]`) 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:45 [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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "ffe76cd0c6901f4cd5079fe81e8768e994132c1b1d80d6fe37e0a8d018208a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe76cd0c6901f4cd5079fe81e8768e994132c1b1d80d6fe37e0a8d018208a51", kill_on_drop: false }` [INFO] [stdout] ffe76cd0c6901f4cd5079fe81e8768e994132c1b1d80d6fe37e0a8d018208a51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9530bed606ee4d85f665779aba327ff2407089fce511c71488c2113737ed675c [INFO] running `Command { std: "docker" "start" "-a" "9530bed606ee4d85f665779aba327ff2407089fce511c71488c2113737ed675c", 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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: variable `proto_type_set` is assigned to, but never used [INFO] [stderr] --> src/zeek/zeek_log.rs:89:13 [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)]` (part of `#[warn(unused)]`) 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:13 [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:13 [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:13 [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)]` (part of `#[warn(unused)]`) 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: 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: `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: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: unused variable: `count` [INFO] [stderr] --> src/zeek/zeek_log.rs:418:17 [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 39 warnings (run `cargo fix --lib -p log-analysis` to apply 31 suggestions) [INFO] [stderr] warning: `log-analysis` (lib test) generated 39 warnings (39 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `ip_input` [INFO] [stderr] --> src/main.rs:131:9 [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)]` (part of `#[warn(unused)]`) 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:45 [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `log-analysis` (bin "log-analysis" test) generated 26 warnings (run `cargo fix --bin "log-analysis" -p log-analysis --tests` to apply 15 suggestions) [INFO] [stderr] warning: `log-analysis` (bin "log-analysis") generated 26 warnings (26 duplicates) [INFO] [stderr] warning: `log-analysis` (test "zeek_search") generated 3 warnings (run `cargo fix --test "zeek_search" -p log-analysis` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/log_analysis-f4c574e5a0842fc6) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/log_analysis-af50c7ca0e498a5a) [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] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/header.rs (/opt/rustwide/target/debug/deps/header-3530d4567ba9e15f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_add_field_entry ... ok [INFO] [stdout] test test_new ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/ip2location.rs (/opt/rustwide/target/debug/deps/ip2location-1bfbe3797a0baa1a) [INFO] [stderr] Running tests/zeek_search.rs (/opt/rustwide/target/debug/deps/zeek_search-726faff2aaff9f2d) [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 6 tests [INFO] [stdout] test test_search_params ... ok [INFO] [stdout] test test_create_log ... ok [INFO] [stdout] test _write_to_file ... FAILED [INFO] [stdout] test test_search_ip ... FAILED [INFO] [stdout] test test_search_date ... FAILED [INFO] [stdout] test test_flate2 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- _write_to_file stdout ---- [INFO] [stdout] [INFO] [stdout] thread '_write_to_file' (31) 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: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f1506fb28e2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f1506fb28e2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f1506fc307f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f1506fc307f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5f1506f7fb33 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f1506f7fb33 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f1506f8bc62 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f1506f908bf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f1506f90751 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f1506efbc5e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5f1506efbc5e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f1506f90ecf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5f1506f90ecf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f1506f90d2a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5f1506f8bd99 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f1506f7437d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f1506fcaf90 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5f1506fca516 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5f1506f3fb7e - core::result::Result::expect::hbd6a0091ae2ab540 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x5f1506ed587d - zeek_search::_write_to_file::h43b8e684123d825e [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:73:49 [INFO] [stdout] 22: 0x5f1506ed64f7 - zeek_search::_write_to_file::{{closure}}::hcfe3b0d6a2aa2989 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:70:20 [INFO] [stdout] 23: 0x5f1506ed9956 - core::ops::function::FnOnce::call_once::hb385935cd95aba76 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f1506efbaab - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5f1506efbaab - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5f1506f0fabd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5f1506f0fabd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5f1506f0fabd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5f1506f0fabd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5f1506f0fabd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5f1506f0fabd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5f1506f0fabd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5f1506ee9004 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5f1506ee9004 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5f1506eec93a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5f1506eec93a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5f1506eec93a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5f1506eec93a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5f1506eec93a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5f1506f8719f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5f1506f8719f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7b528c0f3aa4 - [INFO] [stdout] 45: 0x7b528c180a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_search_ip stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_search_ip' (35) panicked at tests/zeek_search.rs:200:5: [INFO] [stdout] assertion failed: res.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f1506fb28e2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f1506fb28e2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f1506fc307f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f1506fc307f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5f1506f7fb33 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f1506f7fb33 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f1506f8bc62 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f1506f908bf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f1506f90751 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f1506efbc5e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5f1506efbc5e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f1506f90ecf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5f1506f90ecf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f1506f90cf6 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5f1506f8bd99 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f1506f7437d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f1506fcaf90 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5f1506fcaf6c - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x5f1506ed6733 - zeek_search::test_search_ip::h0b4b3c39f5959996 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:200:5 [INFO] [stdout] 21: 0x5f1506ed6e07 - zeek_search::test_search_ip::{{closure}}::h55f7968801886ce9 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:190:20 [INFO] [stdout] 22: 0x5f1506ed98c6 - core::ops::function::FnOnce::call_once::h40403333a6f0a866 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f1506efbaab - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f1506efbaab - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5f1506f0fabd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5f1506f0fabd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5f1506f0fabd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5f1506f0fabd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5f1506f0fabd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f1506f0fabd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5f1506f0fabd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5f1506ee9004 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5f1506ee9004 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x5f1506eec93a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5f1506eec93a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5f1506eec93a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5f1506eec93a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x5f1506eec93a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f1506f8719f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x5f1506f8719f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x7b528c0f3aa4 - [INFO] [stdout] 44: 0x7b528c180a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_search_date stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_search_date' (34) panicked at tests/zeek_search.rs:160:5: [INFO] [stdout] assertion failed: res.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f1506fb28e2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f1506fb28e2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f1506fc307f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f1506fc307f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5f1506f7fb33 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f1506f7fb33 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f1506f8bc62 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f1506f908bf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f1506f90751 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f1506efbc5e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5f1506efbc5e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f1506f90ecf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5f1506f90ecf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f1506f90cf6 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5f1506f8bd99 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f1506f7437d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f1506fcaf90 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5f1506fcaf6c - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x5f1506ed72db - zeek_search::test_search_date::h47ef46efb6e16a80 [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:160:5 [INFO] [stdout] 21: 0x5f1506ed74d7 - zeek_search::test_search_date::{{closure}}::h544f27d2bc544fec [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:149:22 [INFO] [stdout] 22: 0x5f1506ed99d6 - core::ops::function::FnOnce::call_once::hefd7ca9747640253 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f1506efbaab - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f1506efbaab - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5f1506f0fabd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5f1506f0fabd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5f1506f0fabd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5f1506f0fabd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5f1506f0fabd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f1506f0fabd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5f1506f0fabd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5f1506ee9004 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5f1506ee9004 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x5f1506eec93a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5f1506eec93a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5f1506eec93a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5f1506eec93a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x5f1506eec93a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f1506f8719f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x5f1506f8719f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x7b528c0f3aa4 - [INFO] [stdout] 44: 0x7b528c180a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_flate2 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_flate2' (33) 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: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f1506fb28e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f1506fb28e2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f1506fb28e2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f1506fc307f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f1506fc307f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5f1506f7fb33 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f1506f7fb33 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f1506f8bc62 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f1506f908bf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f1506f90751 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f1506efbc5e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5f1506efbc5e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f1506f90ecf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5f1506f90ecf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f1506f90d2a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5f1506f8bd99 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f1506f7437d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f1506fcaf90 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5f1506fca516 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5f1506f3fb7e - core::result::Result::expect::hbd6a0091ae2ab540 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x5f1506ed55eb - zeek_search::test_flate2::h03dca0ddc474d5ac [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:28:26 [INFO] [stdout] 22: 0x5f1506ed57f7 - zeek_search::test_flate2::{{closure}}::he3921052ddf8177a [INFO] [stdout] at /opt/rustwide/workdir/tests/zeek_search.rs:25:17 [INFO] [stdout] 23: 0x5f1506ed9996 - core::ops::function::FnOnce::call_once::hd6bcb03e1728cfd8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f1506efbaab - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5f1506efbaab - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5f1506f0fabd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5f1506f0fabd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5f1506f0fabd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5f1506f0fabd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5f1506f0fabd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5f1506f0fabd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5f1506f0fabd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5f1506ee9004 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5f1506ee9004 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5f1506eec93a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5f1506eec93a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5f1506eec93a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5f1506eec93a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5f1506eec93a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5f1506eec93a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5f1506f8719f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5f1506f8719f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7b528c0f3aa4 - [INFO] [stdout] 45: 0x7b528c180a64 - 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.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test zeek_search` [INFO] running `Command { std: "docker" "inspect" "9530bed606ee4d85f665779aba327ff2407089fce511c71488c2113737ed675c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9530bed606ee4d85f665779aba327ff2407089fce511c71488c2113737ed675c", kill_on_drop: false }` [INFO] [stdout] 9530bed606ee4d85f665779aba327ff2407089fce511c71488c2113737ed675c