[INFO] cloning repository https://github.com/yoozzeek/actix-csrf-middleware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yoozzeek/actix-csrf-middleware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoozzeek%2Factix-csrf-middleware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoozzeek%2Factix-csrf-middleware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b472a8d90e8721b67cf77eb90d02267f568b095 [INFO] testing yoozzeek/actix-csrf-middleware against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoozzeek%2Factix-csrf-middleware" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yoozzeek/actix-csrf-middleware [INFO] finished tweaking git repo https://github.com/yoozzeek/actix-csrf-middleware [INFO] tweaked toml for git repo https://github.com/yoozzeek/actix-csrf-middleware written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yoozzeek/actix-csrf-middleware on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yoozzeek/actix-csrf-middleware 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded clap v4.5.40 [INFO] [stderr] Downloaded clap_builder v4.5.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 219cb1090e6a7be72c84ddb2977ad74f0d4581b2cc3a9a2a96f5b95bb4d537a9 [INFO] running `Command { std: "docker" "start" "-a" "219cb1090e6a7be72c84ddb2977ad74f0d4581b2cc3a9a2a96f5b95bb4d537a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "219cb1090e6a7be72c84ddb2977ad74f0d4581b2cc3a9a2a96f5b95bb4d537a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219cb1090e6a7be72c84ddb2977ad74f0d4581b2cc3a9a2a96f5b95bb4d537a9", kill_on_drop: false }` [INFO] [stdout] 219cb1090e6a7be72c84ddb2977ad74f0d4581b2cc3a9a2a96f5b95bb4d537a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f60f8fa27d39ba296b9e277312b29c4600fc9b23aebde4771e0e95f91ea0a482 [INFO] running `Command { std: "docker" "start" "-a" "f60f8fa27d39ba296b9e277312b29c4600fc9b23aebde4771e0e95f91ea0a482", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [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 futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling zstd v0.13.3 [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 icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-csrf-middleware v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `true_token` [INFO] [stdout] --> src/lib.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | true_token, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `true_token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "f60f8fa27d39ba296b9e277312b29c4600fc9b23aebde4771e0e95f91ea0a482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60f8fa27d39ba296b9e277312b29c4600fc9b23aebde4771e0e95f91ea0a482", kill_on_drop: false }` [INFO] [stdout] f60f8fa27d39ba296b9e277312b29c4600fc9b23aebde4771e0e95f91ea0a482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4441d125f7cd7a0eca3a32eaf4b9b322a1d58ab4c3b8eafabcf0805b1d77cc68 [INFO] running `Command { std: "docker" "start" "-a" "4441d125f7cd7a0eca3a32eaf4b9b322a1d58ab4c3b8eafabcf0805b1d77cc68", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling actix-multipart-derive v0.7.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling proptest v1.7.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 serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-multipart v0.7.2 [INFO] [stderr] Compiling actix-csrf-middleware v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `true_token` [INFO] [stdout] --> src/lib.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | true_token, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `true_token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `DEFAULT_CSRF_ANON_TOKEN_KEY` [INFO] [stdout] --> tests/csrf_request_ext.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | DEFAULT_CSRF_ANON_TOKEN_KEY, DEFAULT_CSRF_TOKEN_HEADER, DEFAULT_CSRF_TOKEN_KEY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `SameSite` [INFO] [stdout] --> tests/csrf_request_ext.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | use actix_web::cookie::{time, Cookie, Key, SameSite}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [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: `CsrfMiddlewareConfig`, `CsrfPattern`, `DEFAULT_CSRF_ANON_TOKEN_KEY`, `DEFAULT_CSRF_TOKEN_FIELD`, `DEFAULT_CSRF_TOKEN_HEADER`, and `DEFAULT_CSRF_TOKEN_KEY` [INFO] [stdout] --> tests/synchronizer_token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | CsrfMiddlewareConfig, CsrfPattern, DEFAULT_CSRF_ANON_TOKEN_KEY, DEFAULT_CSRF_TOKEN_FIELD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | DEFAULT_CSRF_TOKEN_HEADER, DEFAULT_CSRF_TOKEN_KEY, DEFAULT_SESSION_ID_KEY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> tests/synchronizer_token.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_http::{Request, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::header::ContentType` [INFO] [stdout] --> tests/synchronizer_token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::http::header::ContentType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> tests/synchronizer_token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SameSite` [INFO] [stdout] --> tests/common/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_app` is never used [INFO] [stdout] --> tests/common/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn build_app( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_secret_key` is never used [INFO] [stdout] --> tests/synchronizer_token.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_secret_key() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_app` is never used [INFO] [stdout] --> tests/common/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn build_app( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_routes` is never used [INFO] [stdout] --> tests/common/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn configure_routes(cfg: &mut web::ServiceConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_app` is never used [INFO] [stdout] --> tests/common/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn build_app( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_app` is never used [INFO] [stdout] --> tests/common/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn build_app( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `true_token` [INFO] [stdout] --> src/lib.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | true_token, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `true_token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> tests/common/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn test_key() -> Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "4441d125f7cd7a0eca3a32eaf4b9b322a1d58ab4c3b8eafabcf0805b1d77cc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4441d125f7cd7a0eca3a32eaf4b9b322a1d58ab4c3b8eafabcf0805b1d77cc68", kill_on_drop: false }` [INFO] [stdout] 4441d125f7cd7a0eca3a32eaf4b9b322a1d58ab4c3b8eafabcf0805b1d77cc68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b9549543085992e1cfff2718df4f1650ca4d5dcd33aaee8287dca93db8e6c42 [INFO] running `Command { std: "docker" "start" "-a" "6b9549543085992e1cfff2718df4f1650ca4d5dcd33aaee8287dca93db8e6c42", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `true_token` [INFO] [stderr] --> src/lib.rs:596:17 [INFO] [stderr] | [INFO] [stderr] 596 | true_token, [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `true_token: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `actix-csrf-middleware` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `SameSite` [INFO] [stderr] --> tests/common/mod.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | use actix_web::cookie::{Cookie, Key, SameSite}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_key` is never used [INFO] [stderr] --> tests/common/mod.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn test_key() -> Key { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CsrfMiddlewareConfig`, `CsrfPattern`, `DEFAULT_CSRF_ANON_TOKEN_KEY`, `DEFAULT_CSRF_TOKEN_FIELD`, `DEFAULT_CSRF_TOKEN_HEADER`, and `DEFAULT_CSRF_TOKEN_KEY` [INFO] [stderr] --> tests/synchronizer_token.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | CsrfMiddlewareConfig, CsrfPattern, DEFAULT_CSRF_ANON_TOKEN_KEY, DEFAULT_CSRF_TOKEN_FIELD, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | DEFAULT_CSRF_TOKEN_HEADER, DEFAULT_CSRF_TOKEN_KEY, DEFAULT_SESSION_ID_KEY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `StatusCode` [INFO] [stderr] --> tests/synchronizer_token.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | use actix_http::{Request, StatusCode}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::http::header::ContentType` [INFO] [stderr] --> tests/synchronizer_token.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use actix_web::http::header::ContentType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::*` [INFO] [stderr] --> tests/synchronizer_token.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use common::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_secret_key` is never used [INFO] [stderr] --> tests/synchronizer_token.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn get_secret_key() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_key` is never used [INFO] [stderr] --> tests/common/mod.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn test_key() -> Key { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_app` is never used [INFO] [stderr] --> tests/common/mod.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn build_app( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `configure_routes` is never used [INFO] [stderr] --> tests/common/mod.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn configure_routes(cfg: &mut web::ServiceConfig) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DEFAULT_CSRF_ANON_TOKEN_KEY` [INFO] [stderr] --> tests/csrf_request_ext.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | DEFAULT_CSRF_ANON_TOKEN_KEY, DEFAULT_CSRF_TOKEN_HEADER, DEFAULT_CSRF_TOKEN_KEY, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Key` and `SameSite` [INFO] [stderr] --> tests/csrf_request_ext.rs:15:39 [INFO] [stderr] | [INFO] [stderr] 15 | use actix_web::cookie::{time, Cookie, Key, SameSite}; [INFO] [stderr] | ^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `actix-csrf-middleware` (test "security_a02_crypto_failures") generated 2 warnings (run `cargo fix --test "security_a02_crypto_failures"` to apply 1 suggestion) [INFO] [stderr] warning: `actix-csrf-middleware` (test "security_a03_injection") generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `actix-csrf-middleware` (test "core_common") generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `actix-csrf-middleware` (test "synchronizer_token") generated 9 warnings (1 duplicate) (run `cargo fix --test "synchronizer_token"` to apply 4 suggestions) [INFO] [stderr] warning: `actix-csrf-middleware` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `actix-csrf-middleware` (test "csrf_request_ext") generated 5 warnings (3 duplicates) (run `cargo fix --test "csrf_request_ext"` to apply 2 suggestions) [INFO] [stderr] warning: `actix-csrf-middleware` (test "limits_and_skip") generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `actix-csrf-middleware` (test "security_a01_access_control") generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `actix-csrf-middleware` (test "double_submit_cookie") generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `actix-csrf-middleware` (test "security_origin") generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_csrf_middleware-632c05983f0ba70c) [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/core_common.rs (/opt/rustwide/target/debug/deps/core_common-6e0a46e34029235c) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test param_token_format_double ... ok [INFO] [stdout] test param_invalid_json_double ... ok [INFO] [stdout] test param_multipart_disabled_double ... ok [INFO] [stdout] test param_custom_header_double ... ok [INFO] [stdout] test param_rotation_double ... ok [INFO] [stdout] test param_custom_form_double ... ok [INFO] [stdout] test param_invalid_form_double ... ok [INFO] [stdout] test param_invalid_header_double ... ok [INFO] [stdout] test param_valid_form_double ... ok [INFO] [stdout] test param_valid_json_double ... ok [INFO] [stdout] test param_multipart_enabled_double ... ok [INFO] [stdout] test param_valid_header_double ... ok [INFO] [stdout] test param_token_uniqueness_double ... ok [INFO] [stdout] test param_missing_token_double ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Running tests/csrf_request_ext.rs (/opt/rustwide/target/debug/deps/csrf_request_ext-39aef851c6518943) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test rotates_token_via_request_ext_double_submit_cookie ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/double_submit_cookie.rs (/opt/rustwide/target/debug/deps/double_submit_cookie-a219a8362e0975c8) [INFO] [stdout] running 11 tests [INFO] [stdout] test custom_config_cookie_name ... ok [INFO] [stdout] test handles_large_chunked_body ... ok [INFO] [stdout] test custom_config_form_field_name ... ok [INFO] [stdout] test custom_config_header_name ... ok [INFO] [stdout] test authorized_endpoint_rejects_anon_token ... ok [INFO] [stdout] test handles_malformed_json_body ... ok [INFO] [stdout] test test_double_submit_cookie_behavior ... ok [INFO] [stdout] test token_refresh_on_successful_mutation ... ok [INFO] [stdout] test instant_rotation_on_login ... ok [INFO] [stdout] test token_should_be_unforgeable ... ok [INFO] [stdout] test double_submit_cookie_token_rotation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/limits_and_skip.rs (/opt/rustwide/target/debug/deps/limits_and_skip-cf1b5a20bafe94ad) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test skip_for_bypasses_csrf_validation_on_custom_route ... ok [INFO] [stdout] test returns_413_when_body_exceeds_limit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/property_hmac.rs (/opt/rustwide/target/debug/deps/property_hmac-44b6d5e18001c3c9) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test prop_auth_roundtrip ... ok [INFO] [stdout] test prop_token_format ... ok [INFO] [stdout] test prop_cross_class_rejected ... ok [INFO] [stdout] test prop_cross_secret_rejected ... ok [INFO] [stdout] test prop_anon_roundtrip ... ok [INFO] [stdout] test prop_cross_session_rejected ... ok [INFO] [stdout] test prop_malformed_tokens_rejected ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] Running tests/security_a01_access_control.rs (/opt/rustwide/target/debug/deps/security_a01_access_control-8708d9249048e4d8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test a01_method_override_double ... ok [INFO] [stdout] test a01_privilege_escalation_double ... ok [INFO] [stdout] test a01_token_endpoint_access_double ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/security_a02_crypto_failures.rs (/opt/rustwide/target/debug/deps/security_a02_crypto_failures-f4033f451e1fba4c) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_hmac_timing_attack_resistance ... ok [INFO] [stdout] test test_key_reuse_vulnerability ... ok [INFO] [stdout] test test_empty_secret_key_handling ... ok [INFO] [stdout] test test_token_format_information_disclosure ... ok [INFO] [stdout] test test_malformed_token_injection ... ok [INFO] [stdout] test test_token_entropy_analysis ... ok [INFO] [stdout] test test_weak_secret_key_detection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Running tests/security_a03_injection.rs (/opt/rustwide/target/debug/deps/security_a03_injection-226aa199d2ec88c0) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_command_injection_in_csrf_token_double ... ok [INFO] [stdout] test test_null_byte_injection_double ... ok [INFO] [stdout] test test_sql_injection_in_csrf_token_double ... ok [INFO] [stdout] test test_nosql_injection_in_json_csrf_double ... ok [INFO] [stdout] test test_ldap_injection_in_csrf_token_double ... ok [INFO] [stdout] test test_header_injection_csrf_double ... ok [INFO] [stdout] test test_path_traversal_injection_double ... ok [INFO] [stdout] test test_xss_injection_in_csrf_forms_double ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/security_origin.rs (/opt/rustwide/target/debug/deps/security_origin-b89230b7a40f09aa) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test enforce_origin_blocks_disallowed_origin_double_submit ... ok [INFO] [stdout] test enforce_origin_uses_referer_when_origin_absent_double_submit ... ok [INFO] [stdout] test enforce_origin_allows_allowed_origin_double_submit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/synchronizer_token.rs (/opt/rustwide/target/debug/deps/synchronizer_token-f212cefcc3f21dfb) [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_csrf_middleware [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" "6b9549543085992e1cfff2718df4f1650ca4d5dcd33aaee8287dca93db8e6c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9549543085992e1cfff2718df4f1650ca4d5dcd33aaee8287dca93db8e6c42", kill_on_drop: false }` [INFO] [stdout] 6b9549543085992e1cfff2718df4f1650ca4d5dcd33aaee8287dca93db8e6c42