[INFO] cloning repository https://github.com/tanguc/bleep-ai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanguc/bleep-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanguc%2Fbleep-ai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanguc%2Fbleep-ai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d16b6c22eadc2050e259bf972742fc5868642919 [INFO] checking tanguc/bleep-ai against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanguc%2Fbleep-ai" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tanguc/bleep-ai [INFO] finished tweaking git repo https://github.com/tanguc/bleep-ai [INFO] tweaked toml for git repo https://github.com/tanguc/bleep-ai written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanguc/bleep-ai on toolchain 65b20a97de33e9e59992793a144aef2950c48c76 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tanguc/bleep-ai 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1 [INFO] running `Command { std: "docker" "start" "1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking iri-string v0.7.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Checking hashlink v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking fpe v0.6.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling aws-lc-sys v0.39.1 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.37.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling asn1-rs-derive v0.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling ts-rs-macros v10.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking asn1-rs v0.7.1 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking der-parser v10.0.0 [INFO] [stderr] Checking ts-rs v10.1.0 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tracing-appender v0.2.4 [INFO] [stderr] Checking x509-parser v0.18.1 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking moka v0.12.15 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking compression-codecs v0.4.37 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rcgen v0.14.7 [INFO] [stderr] Checking tokio-graceful v0.2.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking bleep-events v0.1.0 (/opt/rustwide/workdir/crates/bleep-events) [INFO] [stderr] Checking async-compression v0.4.41 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking serde-jsonlines v0.7.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking rusqlite v0.39.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking hyper-tungstenite v0.19.0 [INFO] [stderr] Checking hudsucker v0.24.0 (https://github.com/tanguc/hudsucker.git?tag=0.24.0%2Bbleep.1#c18141d3) [INFO] [stderr] Checking bleep-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `aho_corasick::AhoCorasick` [INFO] [stdout] --> src/detection/mod.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | use aho_corasick::AhoCorasick; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block_indent` is never read [INFO] [stdout] --> src/rule_pipeline.rs:981:35 [INFO] [stdout] | [INFO] [stdout] 981 | let mut block_indent: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 1074 | block_indent = base_indent + 2; // block scalar body is indented 2 more [INFO] [stdout] | ------------------------------ `block_indent` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block_indent` is never read [INFO] [stdout] --> src/rule_pipeline.rs:981:35 [INFO] [stdout] | [INFO] [stdout] 981 | let mut block_indent: usize = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 1074 | block_indent = base_indent + 2; // block scalar body is indented 2 more [INFO] [stdout] | ------------------------------ `block_indent` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Category`, `Confidence`, `NormalizedRule`, and `ReplacementType` [INFO] [stdout] --> tests/content_router_invariants.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | use bleep_gateway::types::rule::{Category, Confidence, NormalizedRule, ReplacementType}; [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::sync::Arc` [INFO] [stdout] --> tests/content_router_invariants.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size_bytes` is never read [INFO] [stdout] --> src/bin/bench_detect.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 509 | struct BenchResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 510 | size_label: &'static str, [INFO] [stdout] 511 | size_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size_bytes` is never read [INFO] [stdout] --> src/bin/bench_detect.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 509 | struct BenchResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 510 | size_label: &'static str, [INFO] [stdout] 511 | size_bytes: usize, [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 import: `Redaction` [INFO] [stdout] --> tests/replacement_integration.rs:5:79 [INFO] [stdout] | [INFO] [stdout] 5 | use bleep_gateway::replacement::{apply, deanonymize, json_replace, replacers, Redaction}; [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: `aho_corasick::AhoCorasick` [INFO] [stdout] --> src/detection/mod.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | use aho_corasick::AhoCorasick; [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: `env::temp_dir` [INFO] [stdout] --> src/logging.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::temp_dir, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs_extra::file::write_all` [INFO] [stdout] --> src/logging.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fs_extra::file::write_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/proxy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging::log_entry` [INFO] [stdout] --> src/proxy.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{logging::log_entry, types}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/proxy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Proxy` [INFO] [stdout] --> src/proxy.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use reqwest::Proxy; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/proxy.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rule::*` [INFO] [stdout] --> src/types/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use rule::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env::temp_dir` [INFO] [stdout] --> src/logging.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::temp_dir, path::PathBuf}; [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: `fs_extra::file::write_all` [INFO] [stdout] --> src/logging.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fs_extra::file::write_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/proxy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging::log_entry` [INFO] [stdout] --> src/proxy.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{logging::log_entry, types}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> src/proxy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Proxy` [INFO] [stdout] --> src/proxy.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use reqwest::Proxy; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/proxy.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rule::*` [INFO] [stdout] --> src/types/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use rule::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HandlerFailed` is never constructed [INFO] [stdout] --> src/content_router/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum RouterError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 27 | DecompressionFailed(String), [INFO] [stdout] 28 | HandlerFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterError` has a derived impl for the trait `Debug`, but this is 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: trait `ContentHandler` is never used [INFO] [stdout] --> src/content_router/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait ContentHandler: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deanonymize_body` is never used [INFO] [stdout] --> src/content_router/mod.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn deanonymize_body( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCLUSIONS` is never used [INFO] [stdout] --> src/content_router/headers.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const EXCLUSIONS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_headers` is never used [INFO] [stdout] --> src/content_router/headers.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn scan_headers(headers: &mut http::HeaderMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_scan_header` is never used [INFO] [stdout] --> src/content_router/headers.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn should_scan_header(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_authorization_header` is never used [INFO] [stdout] --> src/content_router/headers.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn scan_authorization_header( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_raw_header_value` is never used [INFO] [stdout] --> src/content_router/headers.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn scan_raw_header_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_compressed` is never used [INFO] [stdout] --> src/detection/mod.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn scan_compressed(body: &[u8], content_encoding: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confidence_meets` is never used [INFO] [stdout] --> src/detection/mod.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn confidence_meets(match_conf: &Confidence, threshold: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confidence_meets_severity` is never used [INFO] [stdout] --> src/detection/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn confidence_meets_severity(severity: &str, threshold: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `confidence_boost` is never read [INFO] [stdout] --> src/detection/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub confidence_boost: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `len` is never used [INFO] [stdout] --> src/dictionary.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn len() -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_confidence` is never read [INFO] [stdout] --> src/hudsucker.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 163 | struct LogHandler { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 167 | min_confidence: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogHandler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_entry` is never used [INFO] [stdout] --> src/logging.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn log_entry(content: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_streaming_request` is never used [INFO] [stdout] --> src/proxy.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn is_streaming_request(body: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_pretty_print` is never used [INFO] [stdout] --> src/proxy.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn debug_pretty_print(data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyReqBuf` is never constructed [INFO] [stdout] --> src/proxy.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ProxyReqBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, `to_bytes`, and `to_string` are never used [INFO] [stdout] --> src/proxy.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl ProxyReqBuf { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn append(&mut self, chunk: &Bytes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn to_bytes(&self) -> Bytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proxy_handler` is never used [INFO] [stdout] --> src/proxy.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn proxy_handler( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Response` is never constructed [INFO] [stdout] --> src/stats/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 70 | Request, [INFO] [stdout] 71 | Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` 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 `AppState` is never constructed [INFO] [stdout] --> src/types/app.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/types/app.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_replacement_type` is never used [INFO] [stdout] --> src/types/rule.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn derive_replacement_type(category: &str, subcategory: &str) -> ReplacementType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HandlerFailed` is never constructed [INFO] [stdout] --> src/content_router/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum RouterError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 27 | DecompressionFailed(String), [INFO] [stdout] 28 | HandlerFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterError` has a derived impl for the trait `Debug`, but this is 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: trait `ContentHandler` is never used [INFO] [stdout] --> src/content_router/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait ContentHandler: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deanonymize_body` is never used [INFO] [stdout] --> src/content_router/mod.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn deanonymize_body( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confidence_meets_severity` is never used [INFO] [stdout] --> src/detection/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn confidence_meets_severity(severity: &str, threshold: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `confidence_boost` is never read [INFO] [stdout] --> src/detection/types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub confidence_boost: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `len` is never used [INFO] [stdout] --> src/dictionary.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn len() -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `min_confidence` is never read [INFO] [stdout] --> src/hudsucker.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 163 | struct LogHandler { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 167 | min_confidence: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogHandler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_entry` is never used [INFO] [stdout] --> src/logging.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn log_entry(content: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_streaming_request` is never used [INFO] [stdout] --> src/proxy.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn is_streaming_request(body: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_pretty_print` is never used [INFO] [stdout] --> src/proxy.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn debug_pretty_print(data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyReqBuf` is never constructed [INFO] [stdout] --> src/proxy.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ProxyReqBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, `to_bytes`, and `to_string` are never used [INFO] [stdout] --> src/proxy.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl ProxyReqBuf { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn append(&mut self, chunk: &Bytes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn to_bytes(&self) -> Bytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proxy_handler` is never used [INFO] [stdout] --> src/proxy.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn proxy_handler( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Response` is never constructed [INFO] [stdout] --> src/stats/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 70 | Request, [INFO] [stdout] 71 | Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` 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 `AppState` is never constructed [INFO] [stdout] --> src/types/app.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogEntry` is never constructed [INFO] [stdout] --> src/types/app.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LogEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1", kill_on_drop: false }` [INFO] [stdout] 1a84bd535205b17ff93d54ac680e1e6a28041a5d1b38cfa2712f7d4b796dcca1