[INFO] cloning repository https://github.com/HectorSchreiner/mini-siem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HectorSchreiner/mini-siem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2Fmini-siem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2Fmini-siem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38ed89c4f4bd4fc50fbf553e9b2538ff5f5fb08a [INFO] checking HectorSchreiner/mini-siem against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2Fmini-siem" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HectorSchreiner/mini-siem [INFO] finished tweaking git repo https://github.com/HectorSchreiner/mini-siem [INFO] tweaked toml for git repo https://github.com/HectorSchreiner/mini-siem written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HectorSchreiner/mini-siem on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HectorSchreiner/mini-siem 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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.1 [INFO] [stderr] Downloaded tonic-prost-build v0.14.2 [INFO] [stderr] Downloaded prost v0.14.1 [INFO] [stderr] Downloaded tonic-prost v0.14.2 [INFO] [stderr] Downloaded kanal v0.1.1 [INFO] [stderr] Downloaded prost-derive v0.14.1 [INFO] [stderr] Downloaded tonic-build v0.14.2 [INFO] [stderr] Downloaded pulldown-cmark-to-cmark v21.1.0 [INFO] [stderr] Downloaded prost-types v0.14.1 [INFO] [stderr] Downloaded prost-build v0.14.1 [INFO] [stderr] Downloaded tonic v0.14.2 [INFO] [stderr] Downloaded sysinfo v0.37.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa47f35efb755502d56ee90afae55a05fe74cf7c637ec32ab5a17e54b1950b5b [INFO] running `Command { std: "docker" "start" "-a" "fa47f35efb755502d56ee90afae55a05fe74cf7c637ec32ab5a17e54b1950b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa47f35efb755502d56ee90afae55a05fe74cf7c637ec32ab5a17e54b1950b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa47f35efb755502d56ee90afae55a05fe74cf7c637ec32ab5a17e54b1950b5b", kill_on_drop: false }` [INFO] [stdout] fa47f35efb755502d56ee90afae55a05fe74cf7c637ec32ab5a17e54b1950b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 398abd5baedfa05b9f4ecd083b530b9915482a89b09b3cf5a876ef9ee610c012 [INFO] running `Command { std: "docker" "start" "-a" "398abd5baedfa05b9f4ecd083b530b9915482a89b09b3cf5a876ef9ee610c012", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking kanal v0.1.1 [INFO] [stderr] Compiling zmij v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking sysinfo v0.37.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v21.1.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tonic-build v0.14.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling tonic-prost-build v0.14.2 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking axum v0.8.7 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.14.2 [INFO] [stderr] Checking tonic-prost v0.14.2 [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> common/src/elasticlog.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, NaiveDateTime, Utc}; [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: `tracing::info` [INFO] [stdout] --> common/src/elasticlog.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> common/src/elasticlog.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, NaiveDateTime, Utc}; [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: `tracing::info` [INFO] [stdout] --> common/src/elasticlog.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking processor v0.1.0 (/opt/rustwide/workdir/processor) [INFO] [stderr] Checking ingestor v0.1.0 (/opt/rustwide/workdir/ingestor) [INFO] [stderr] Checking agent v0.1.0 (/opt/rustwide/workdir/agent) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> agent/src/domains/client.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | proto::log_service_client::{self, LogServiceClient}, [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: `Date` [INFO] [stdout] --> agent/src/domains/system_log.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogMessageRequest` and `log_service_client::LogServiceClient` [INFO] [stdout] --> agent/src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{moggable::Moggable, proto::{LogMessageRequest, log_service_client::LogServiceClient}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_log::GenericLog` [INFO] [stdout] --> agent/src/main.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::domains::{client::AgentClient, generic_log::GenericLog, system_log::SystemLog}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> agent/src/domains/client.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | proto::log_service_client::{self, LogServiceClient}, [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: `Date` [INFO] [stdout] --> agent/src/domains/system_log.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogMessageRequest` and `log_service_client::LogServiceClient` [INFO] [stdout] --> agent/src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{moggable::Moggable, proto::{LogMessageRequest, log_service_client::LogServiceClient}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_log::GenericLog` [INFO] [stdout] --> agent/src/main.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::domains::{client::AgentClient, generic_log::GenericLog, system_log::SystemLog}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> agent/src/domains/system_log.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> agent/src/domains/system_log.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> ingestor/src/domains/server.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, net::{IpAddr, SocketAddr}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogMessageRequest`, `LogServiceClient`, `elasticlog::ElasticLog`, `moggable::Moggable`, and `self` [INFO] [stdout] --> ingestor/src/domains/client.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{elasticlog::ElasticLog, moggable::Moggable, proto::{LogBatchRequest, LogMessageRequest, batch_service_client::BatchServiceClient, log_service_client::{self, LogServiceClient}}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> processor/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::info; [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: `tracing_subscriber` [INFO] [stdout] --> processor/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::async_trait` [INFO] [stdout] --> processor/src/adapters/session/redis.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogBatchRequest` and `log_service_server::LogService` [INFO] [stdout] --> processor/src/application/batch.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use common::proto::{self, LogBatchRequest, LogMessageResponse, batch_service_server::BatchService, log_service_server::LogService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> processor/src/application/batch.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, instrument, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> processor/src/application/server.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | elasticlog::{self, ElasticLog}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> processor/src/application/server.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> processor/src/application/server.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, net::SocketAddr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `server` and `transport::Channel` [INFO] [stdout] --> processor/src/application/server.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use tonic::{server, transport::Channel}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> ingestor/src/domains/server.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, net::{IpAddr, SocketAddr}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogMessageRequest`, `LogServiceClient`, `elasticlog::ElasticLog`, `moggable::Moggable`, and `self` [INFO] [stdout] --> ingestor/src/domains/client.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{elasticlog::ElasticLog, moggable::Moggable, proto::{LogBatchRequest, LogMessageRequest, batch_service_client::BatchServiceClient, log_service_client::{self, LogServiceClient}}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> processor/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::info; [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: `tracing_subscriber` [INFO] [stdout] --> processor/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::async_trait` [INFO] [stdout] --> processor/src/adapters/session/redis.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogBatchRequest` and `log_service_server::LogService` [INFO] [stdout] --> processor/src/application/batch.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use common::proto::{self, LogBatchRequest, LogMessageResponse, batch_service_server::BatchService, log_service_server::LogService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> processor/src/application/batch.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, instrument, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> processor/src/application/server.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | elasticlog::{self, ElasticLog}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> processor/src/application/server.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> processor/src/application/server.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, net::SocketAddr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `server` and `transport::Channel` [INFO] [stdout] --> processor/src/application/server.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use tonic::{server, transport::Channel}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `moggable::Moggable` [INFO] [stdout] --> agent/src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{moggable::Moggable, proto::{LogMessageRequest, log_service_client::LogServiceClient}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `moggable::Moggable` [INFO] [stdout] --> agent/src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{moggable::Moggable, proto::{LogMessageRequest, log_service_client::LogServiceClient}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericLog` is never constructed [INFO] [stdout] --> agent/src/domains/generic_log.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GenericLog { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericLogBuilder` is never constructed [INFO] [stdout] --> agent/src/domains/generic_log.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct GenericLogBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `log_type`, `message`, `field`, `timestamp`, and `build` are never used [INFO] [stdout] --> agent/src/domains/generic_log.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl GenericLogBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn log_type(mut self, log_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn message(mut self, msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn field(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn timestamp(mut self, timestamp: DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn build(self) -> GenericLog { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> agent/src/domains/generic_log.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl GenericLog { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 78 | pub fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `forward_ip` is never read [INFO] [stdout] --> agent/src/domains/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AgentClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | forward_ip: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ConversionError` is never constructed [INFO] [stdout] --> agent/src/domains/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum ClientServiceError { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | ConversionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientServiceError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericLog` is never constructed [INFO] [stdout] --> agent/src/domains/generic_log.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GenericLog { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericLogBuilder` is never constructed [INFO] [stdout] --> agent/src/domains/generic_log.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct GenericLogBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `log_type`, `message`, `field`, `timestamp`, and `build` are never used [INFO] [stdout] --> agent/src/domains/generic_log.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl GenericLogBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn log_type(mut self, log_type: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn message(mut self, msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn field(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn timestamp(mut self, timestamp: DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn build(self) -> GenericLog { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> agent/src/domains/generic_log.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl GenericLog { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 78 | pub fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `forward_ip` is never read [INFO] [stdout] --> agent/src/domains/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AgentClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | forward_ip: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ConversionError` is never constructed [INFO] [stdout] --> agent/src/domains/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum ClientServiceError { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | ConversionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientServiceError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> ingestor/src/domains/server.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let (tx, rx) = kanal::bounded_async(200); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> processor/src/adapters/rule_engine/rule_engine.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | fn evaluate_log(&self, log: &mut ElasticLog) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_state` [INFO] [stdout] --> processor/src/adapters/rule_engine/rule_engine.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | session_state: &mut SessionState, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> ingestor/src/domains/server.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let (tx, rx) = kanal::bounded_async(200); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> processor/src/adapters/session/redis.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | async fn save_session(&self, session: &SessionState) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> processor/src/adapters/session/redis.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_session(&self, key: &SessionKey) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> processor/src/adapters/rule_engine/rule_engine.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | fn evaluate_log(&self, log: &mut ElasticLog) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_state` [INFO] [stdout] --> processor/src/adapters/rule_engine/rule_engine.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | session_state: &mut SessionState, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> processor/src/application/batch.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> processor/src/adapters/session/redis.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | async fn save_session(&self, session: &SessionState) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> processor/src/adapters/session/redis.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_session(&self, key: &SessionKey) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> processor/src/application/batch.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestorApp` is never constructed [INFO] [stdout] --> ingestor/src/application/app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct IngestorApp { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `run` are never used [INFO] [stdout] --> ingestor/src/application/app.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl IngestorApp { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 9 | pub fn new(batch_size: usize, batch_timeout: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestorServer` is never constructed [INFO] [stdout] --> ingestor/src/domains/server.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IngestorServer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `serve` and `new` are never used [INFO] [stdout] --> ingestor/src/domains/server.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl IngestorServer { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 16 | pub async fn serve(master_address: SocketAddr) -> Result<(), Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn new( ingestor_address: SocketAddr, processor_address: SocketAddr) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestorClient` is never constructed [INFO] [stdout] --> ingestor/src/domains/client.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IngestorClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IngestorClientError` is never used [INFO] [stdout] --> ingestor/src/domains/client.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum IngestorClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_batch` are never used [INFO] [stdout] --> ingestor/src/domains/client.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl IngestorClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn new(forward_ip: String) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn send_batch(&mut self, batch: LogBatchRequest) -> Result<(), IngestorClientError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestorApp` is never constructed [INFO] [stdout] --> ingestor/src/application/app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct IngestorApp { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `run` are never used [INFO] [stdout] --> ingestor/src/application/app.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl IngestorApp { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 9 | pub fn new(batch_size: usize, batch_timeout: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestorServer` is never constructed [INFO] [stdout] --> ingestor/src/domains/server.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IngestorServer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `serve` and `new` are never used [INFO] [stdout] --> ingestor/src/domains/server.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl IngestorServer { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 16 | pub async fn serve(master_address: SocketAddr) -> Result<(), Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn new( ingestor_address: SocketAddr, processor_address: SocketAddr) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestorClient` is never constructed [INFO] [stdout] --> ingestor/src/domains/client.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IngestorClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IngestorClientError` is never used [INFO] [stdout] --> ingestor/src/domains/client.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum IngestorClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_batch` are never used [INFO] [stdout] --> ingestor/src/domains/client.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl IngestorClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn new(forward_ip: String) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn send_batch(&mut self, batch: LogBatchRequest) -> Result<(), IngestorClientError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> processor/src/domains/sessionizer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | log: ElasticLog, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> processor/src/domains/sessionizer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | log: ElasticLog, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Redis` is never constructed [INFO] [stdout] --> processor/src/adapters/session/redis.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Redis {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_risk_state` is never used [INFO] [stdout] --> processor/src/domains/sessionizer.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl SessionState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn calculate_risk_state(&mut self, rule_engine: &impl RuleEngine) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment`, `get`, `set`, and `clear` are never used [INFO] [stdout] --> processor/src/domains/sessionizer.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl SessionCounter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn increment(&mut self, key: &str, amount: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn set(&mut self, key: &str, value: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn clear(&mut self, key: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> processor/src/domains/sessionizer.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl SessionTag { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new(tag: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluate_state` and `evaluate_log` are never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait RuleEngine { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 6 | fn evaluate_state(&self, session_state: &mut SessionState) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | fn evaluate_log(&self, log: &mut ElasticLog) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RiskScoreEngine` is never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait RiskScoreEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RiskScoreError` is never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum RiskScoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl RiskScore { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(score: u8) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Redis` is never constructed [INFO] [stdout] --> processor/src/adapters/session/redis.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Redis {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_risk_state` is never used [INFO] [stdout] --> processor/src/domains/sessionizer.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl SessionState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn calculate_risk_state(&mut self, rule_engine: &impl RuleEngine) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment`, `get`, `set`, and `clear` are never used [INFO] [stdout] --> processor/src/domains/sessionizer.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl SessionCounter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn increment(&mut self, key: &str, amount: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn set(&mut self, key: &str, value: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn clear(&mut self, key: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> processor/src/domains/sessionizer.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl SessionTag { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new(tag: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluate_state` and `evaluate_log` are never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait RuleEngine { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 6 | fn evaluate_state(&self, session_state: &mut SessionState) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | fn evaluate_log(&self, log: &mut ElasticLog) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RiskScoreEngine` is never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait RiskScoreEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RiskScoreError` is never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum RiskScoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> processor/src/domains/rule_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl RiskScore { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(score: u8) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.53s [INFO] running `Command { std: "docker" "inspect" "398abd5baedfa05b9f4ecd083b530b9915482a89b09b3cf5a876ef9ee610c012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398abd5baedfa05b9f4ecd083b530b9915482a89b09b3cf5a876ef9ee610c012", kill_on_drop: false }` [INFO] [stdout] 398abd5baedfa05b9f4ecd083b530b9915482a89b09b3cf5a876ef9ee610c012