[INFO] fetching crate actix-modsecurity 0.1.2... [INFO] testing actix-modsecurity-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate actix-modsecurity 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate actix-modsecurity 0.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-modsecurity 0.1.2 [INFO] tweaked toml for crates.io crate actix-modsecurity 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate actix-modsecurity 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate actix-modsecurity 0.1.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded modsecurity v0.1.4 [INFO] [stderr] Downloaded modsecurity-sys v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9520d52477dfad87fda4e47b9cb57d53e8f80a417ba8cd1013fac9128220015b [INFO] running `Command { std: "docker" "start" "-a" "9520d52477dfad87fda4e47b9cb57d53e8f80a417ba8cd1013fac9128220015b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9520d52477dfad87fda4e47b9cb57d53e8f80a417ba8cd1013fac9128220015b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9520d52477dfad87fda4e47b9cb57d53e8f80a417ba8cd1013fac9128220015b", kill_on_drop: false }` [INFO] [stdout] 9520d52477dfad87fda4e47b9cb57d53e8f80a417ba8cd1013fac9128220015b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3bf14f868eb9824c430ca27437e05054aeb8c569a6f2335df32b319cac7fcbb [INFO] running `Command { std: "docker" "start" "-a" "b3bf14f868eb9824c430ca27437e05054aeb8c569a6f2335df32b319cac7fcbb", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling modsecurity-sys v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling modsecurity v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-modsecurity v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modsecurity.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn transaction(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn transaction(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.68s [INFO] running `Command { std: "docker" "inspect" "b3bf14f868eb9824c430ca27437e05054aeb8c569a6f2335df32b319cac7fcbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3bf14f868eb9824c430ca27437e05054aeb8c569a6f2335df32b319cac7fcbb", kill_on_drop: false }` [INFO] [stdout] b3bf14f868eb9824c430ca27437e05054aeb8c569a6f2335df32b319cac7fcbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a53f9c87ed912c77510e2596d3b72c909d8ce62958a2566cf88ebfb9295f4f87 [INFO] running `Command { std: "docker" "start" "-a" "a53f9c87ed912c77510e2596d3b72c909d8ce62958a2566cf88ebfb9295f4f87", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-modsecurity v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modsecurity.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn transaction(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn transaction(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modsecurity.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn transaction(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn transaction(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.09s [INFO] running `Command { std: "docker" "inspect" "a53f9c87ed912c77510e2596d3b72c909d8ce62958a2566cf88ebfb9295f4f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53f9c87ed912c77510e2596d3b72c909d8ce62958a2566cf88ebfb9295f4f87", kill_on_drop: false }` [INFO] [stdout] a53f9c87ed912c77510e2596d3b72c909d8ce62958a2566cf88ebfb9295f4f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7173682e9522cda8c9ecf2bf56d2e1f0a4559df0adc2f536ea21e007af9f28c [INFO] running `Command { std: "docker" "start" "-a" "f7173682e9522cda8c9ecf2bf56d2e1f0a4559df0adc2f536ea21e007af9f28c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/modsecurity.rs:108:24 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn transaction(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | pub fn transaction(&self) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `actix-modsecurity` (lib) generated 1 warning (run `cargo fix --lib -p actix-modsecurity` to apply 1 suggestion) [INFO] [stderr] warning: `actix-modsecurity` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_modsecurity-87d137125aa3e079) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/client.rs (/opt/rustwide/target/debug/deps/client-2bce5e55725ca9e7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 2025-11-11T07:29:22.619753Z  WARN actix_modsecurity::modsecurity: missing client-address. cannot scan connection [INFO] [stdout] 2025-11-11T07:29:22.620112Z  WARN actix_modsecurity::modsecurity: missing client-address. cannot scan connection [INFO] [stdout] 2025-11-11T07:29:22.620238Z ERROR actix_modsecurity::modsecurity: [client ] ModSecurity: Access denied with code 401 (phase 1). Matched "Operator `Rx' with parameter `admin' against variable `REQUEST_URI' (Value: `/admin' ) [file "<>"] [line "4"] [id "1"] [rev ""] [msg ""] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname ""] [uri "/admin"] [unique_id "176284616228.783466"] [ref "o1,5v4,6"] [INFO] [stdout] 2025-11-11T07:29:22.620390Z  WARN actix_modsecurity::modsecurity: missing client-address. cannot scan connection [INFO] [stdout] 2025-11-11T07:29:22.620593Z ERROR actix_modsecurity::modsecurity: [client ] ModSecurity: Access denied with code 403 (phase 1). Matched "Operator `StrEq' with parameter `22' against variable `REQUEST_HEADERS:x-client-port' (Value: `22' ) [file "<>"] [line "6"] [id "1234567"] [rev ""] [msg "Blocking SSH port"] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname ""] [uri "/"] [unique_id "176284616227.517527"] [ref "v30,2"] [INFO] [stdout] test test_middleware ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-5a237b0ed2364e89) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests actix_modsecurity [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/modsecurity.rs - modsecurity::ModSecurity::add_rules_file (line 69) - compile ... ok [INFO] [stdout] test src/factory.rs - factory::Middleware (line 20) ... ok [INFO] [stdout] test src/modsecurity.rs - modsecurity::ModSecurity::add_rules (line 54) ... ok [INFO] [stdout] test src/lib.rs - (line 5) ... ok [INFO] [stdout] test src/modsecurity.rs - modsecurity::ModSecurity::middleware (line 123) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.19s; merged doctests compilation took 1.08s [INFO] running `Command { std: "docker" "inspect" "f7173682e9522cda8c9ecf2bf56d2e1f0a4559df0adc2f536ea21e007af9f28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7173682e9522cda8c9ecf2bf56d2e1f0a4559df0adc2f536ea21e007af9f28c", kill_on_drop: false }` [INFO] [stdout] f7173682e9522cda8c9ecf2bf56d2e1f0a4559df0adc2f536ea21e007af9f28c