[INFO] cloning repository https://github.com/LakshmiSravyaVedantham/llm-guard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LakshmiSravyaVedantham/llm-guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLakshmiSravyaVedantham%2Fllm-guard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLakshmiSravyaVedantham%2Fllm-guard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5328997140edde4fe9cbc9ab40c6b5b126a05961
[INFO] testing LakshmiSravyaVedantham/llm-guard against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLakshmiSravyaVedantham%2Fllm-guard" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LakshmiSravyaVedantham/llm-guard
[INFO] finished tweaking git repo https://github.com/LakshmiSravyaVedantham/llm-guard
[INFO] tweaked toml for git repo https://github.com/LakshmiSravyaVedantham/llm-guard written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LakshmiSravyaVedantham/llm-guard on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LakshmiSravyaVedantham/llm-guard already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded instability v0.3.11
[INFO] [stderr]   Downloaded darling_macro v0.23.0
[INFO] [stderr]   Downloaded darling v0.23.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.40
[INFO] [stderr]   Downloaded darling_core v0.23.0
[INFO] [stderr]   Downloaded zerocopy v0.8.40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 727fbb3f6ba6a014491a3184d5aa97e588836090303b7faade08804764c2af87
[INFO] running `Command { std: "docker" "start" "-a" "727fbb3f6ba6a014491a3184d5aa97e588836090303b7faade08804764c2af87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "727fbb3f6ba6a014491a3184d5aa97e588836090303b7faade08804764c2af87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "727fbb3f6ba6a014491a3184d5aa97e588836090303b7faade08804764c2af87", kill_on_drop: false }`
[INFO] [stdout] 727fbb3f6ba6a014491a3184d5aa97e588836090303b7faade08804764c2af87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b7b09fdbfd0f1f0bf4309635bb3db5deb2a0ae710fcbcaaee668b0f057dd07b5
[INFO] running `Command { std: "docker" "start" "-a" "b7b09fdbfd0f1f0bf4309635bb3db5deb2a0ae710fcbcaaee668b0f057dd07b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling instability v0.3.11
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling uuid v1.22.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling clap v4.5.60
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling ratatui v0.29.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling llm-guard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/events/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct GuardEvent {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 13 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GuardEvent` 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: struct `RuleVerdict` is never constructed
[INFO] [stdout]   --> src/rules/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct RuleVerdict {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PreRequestContext` is never constructed
[INFO] [stdout]   --> src/rules/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct PreRequestContext<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostResponseContext` is never constructed
[INFO] [stdout]   --> src/rules/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct PostResponseContext<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `current_spend` is never used
[INFO] [stdout]   --> src/rules/cost_limiter.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl CostLimiter {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn current_spend(&self, session_id: &str) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_session` is never used
[INFO] [stdout]   --> src/rules/loop_detector.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl LoopDetector {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn clear_session(&self, session_id: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "b7b09fdbfd0f1f0bf4309635bb3db5deb2a0ae710fcbcaaee668b0f057dd07b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7b09fdbfd0f1f0bf4309635bb3db5deb2a0ae710fcbcaaee668b0f057dd07b5", kill_on_drop: false }`
[INFO] [stdout] b7b09fdbfd0f1f0bf4309635bb3db5deb2a0ae710fcbcaaee668b0f057dd07b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea39ee974aba0e14ade71278c06e927bf35279a569d026abc5b3b0133ec9f41d
[INFO] running `Command { std: "docker" "start" "-a" "ea39ee974aba0e14ade71278c06e927bf35279a569d026abc5b3b0133ec9f41d", kill_on_drop: false }`
[INFO] [stderr]    Compiling tempfile v3.26.0
[INFO] [stderr]    Compiling llm-guard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/events/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct GuardEvent {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 13 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GuardEvent` 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: struct `RuleVerdict` is never constructed
[INFO] [stdout]   --> src/rules/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct RuleVerdict {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PreRequestContext` is never constructed
[INFO] [stdout]   --> src/rules/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct PreRequestContext<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostResponseContext` is never constructed
[INFO] [stdout]   --> src/rules/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct PostResponseContext<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `current_spend` is never used
[INFO] [stdout]   --> src/rules/cost_limiter.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl CostLimiter {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn current_spend(&self, session_id: &str) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_session` is never used
[INFO] [stdout]   --> src/rules/loop_detector.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl LoopDetector {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn clear_session(&self, session_id: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.62s
[INFO] running `Command { std: "docker" "inspect" "ea39ee974aba0e14ade71278c06e927bf35279a569d026abc5b3b0133ec9f41d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea39ee974aba0e14ade71278c06e927bf35279a569d026abc5b3b0133ec9f41d", kill_on_drop: false }`
[INFO] [stdout] ea39ee974aba0e14ade71278c06e927bf35279a569d026abc5b3b0133ec9f41d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 73704b8f0403e23d249193d0f3d0ec0279156103f4c3a6755889d4efe4a0c2af
[INFO] running `Command { std: "docker" "start" "-a" "73704b8f0403e23d249193d0f3d0ec0279156103f4c3a6755889d4efe4a0c2af", kill_on_drop: false }`
[INFO] [stderr] warning: field `id` is never read
[INFO] [stderr]   --> src/events/mod.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct GuardEvent {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] 13 |     pub id: i64,
[INFO] [stderr]    |         ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GuardEvent` 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: struct `RuleVerdict` is never constructed
[INFO] [stderr]   --> src/rules/mod.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct RuleVerdict {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PreRequestContext` is never constructed
[INFO] [stderr]   --> src/rules/mod.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct PreRequestContext<'a> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PostResponseContext` is never constructed
[INFO] [stderr]   --> src/rules/mod.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct PostResponseContext<'a> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `current_spend` is never used
[INFO] [stderr]   --> src/rules/cost_limiter.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl CostLimiter {
[INFO] [stderr]    | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn current_spend(&self, session_id: &str) -> f64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `clear_session` is never used
[INFO] [stderr]   --> src/rules/loop_detector.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl LoopDetector {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn clear_session(&self, session_id: &str) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `llm-guard` (bin "llm-guard" test) generated 6 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/llm_guard-7a034a2b88ff681b)
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test rules::cost_limiter::tests::test_over_limit ... ok
[INFO] [stdout] test rules::cost_limiter::tests::test_under_limit ... ok
[INFO] [stdout] test rules::error_spiral::tests::test_no_spiral ... ok
[INFO] [stdout] test rules::error_spiral::tests::test_spiral_detected ... ok
[INFO] [stdout] test rules::cost_limiter::tests::test_sessions_isolated ... ok
[INFO] [stdout] test rules::loop_detector::tests::test_different_sessions_isolated ... ok
[INFO] [stdout] test rules::loop_detector::tests::test_no_loop ... ok
[INFO] [stdout] test rules::loop_detector::tests::test_loop_detected ... ok
[INFO] [stdout] test config::tests::test_parse_config ... ok
[INFO] [stdout] test rules::token_bomb::tests::test_token_bomb ... ok
[INFO] [stdout] test session::tests::test_explicit_id ... ok
[INFO] [stdout] test session::tests::test_session_grouping ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_credit_card ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_email ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_api_key ... ok
[INFO] [stdout] test events::tests::test_stats ... ok
[INFO] [stdout] test rules::token_bomb::tests::test_small_request ... ok
[INFO] [stdout] test rules::error_spiral::tests::test_reset_on_success ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_ssn ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_clean_text ... ok
[INFO] [stdout] test events::tests::test_log_and_query ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_multiple_detections ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/llm_guard-816267fb428270b2)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test rules::cost_limiter::tests::test_sessions_isolated ... ok
[INFO] [stdout] test rules::cost_limiter::tests::test_under_limit ... ok
[INFO] [stdout] test rules::error_spiral::tests::test_no_spiral ... ok
[INFO] [stdout] test config::tests::test_parse_config ... ok
[INFO] [stdout] test rules::loop_detector::tests::test_loop_detected ... ok
[INFO] [stdout] test rules::loop_detector::tests::test_different_sessions_isolated ... ok
[INFO] [stdout] test rules::loop_detector::tests::test_no_loop ... ok
[INFO] [stdout] test rules::error_spiral::tests::test_reset_on_success ... ok
[INFO] [stdout] test rules::error_spiral::tests::test_spiral_detected ... ok
[INFO] [stdout] test rules::cost_limiter::tests::test_over_limit ... ok
[INFO] [stdout] test rules::token_bomb::tests::test_token_bomb ... ok
[INFO] [stdout] test session::tests::test_session_grouping ... ok
[INFO] [stdout] test session::tests::test_explicit_id ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_email ... ok
[INFO] [stdout] test rules::token_bomb::tests::test_small_request ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_api_key ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_ssn ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_detect_credit_card ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_multiple_detections ... ok
[INFO] [stdout] test rules::sensitive_data::tests::test_clean_text ... ok
[INFO] [stdout] test events::tests::test_stats ... ok
[INFO] [stdout] test events::tests::test_log_and_query ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests llm_guard
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "73704b8f0403e23d249193d0f3d0ec0279156103f4c3a6755889d4efe4a0c2af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73704b8f0403e23d249193d0f3d0ec0279156103f4c3a6755889d4efe4a0c2af", kill_on_drop: false }`
[INFO] [stdout] 73704b8f0403e23d249193d0f3d0ec0279156103f4c3a6755889d4efe4a0c2af
