[INFO] fetching crate tide-csrf 0.1.1... [INFO] testing tide-csrf-0.1.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate tide-csrf 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate tide-csrf 0.1.1 [INFO] finished tweaking crates.io crate tide-csrf 0.1.1 [INFO] tweaked toml for crates.io crate tide-csrf 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tide-csrf 0.1.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 257 packages to latest compatible versions [INFO] [stderr] Adding csrf v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hkdf v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8771680acc2a3556d19ac95abc0f3b1801bd60f5473f553e4705b19d3a196b40 [INFO] running `Command { std: "docker" "start" "-a" "8771680acc2a3556d19ac95abc0f3b1801bd60f5473f553e4705b19d3a196b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8771680acc2a3556d19ac95abc0f3b1801bd60f5473f553e4705b19d3a196b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8771680acc2a3556d19ac95abc0f3b1801bd60f5473f553e4705b19d3a196b40", kill_on_drop: false }` [INFO] [stdout] 8771680acc2a3556d19ac95abc0f3b1801bd60f5473f553e4705b19d3a196b40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b10357598d5e3662c457c0b4c0ea9fc0b9c6ff881f20213fb861991a11f815d [INFO] running `Command { std: "docker" "start" "-a" "1b10357598d5e3662c457c0b4c0ea9fc0b9c6ff881f20213fb861991a11f815d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling chacha20 v0.7.3 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling async-dup v1.2.4 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling chacha20poly1305 v0.8.2 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling hkdf v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 polling v3.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_fmt v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling value-bag-serde1 v1.11.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling femme v2.2.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling csrf v0.4.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling async-h1 v2.3.4 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling tide-csrf v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "1b10357598d5e3662c457c0b4c0ea9fc0b9c6ff881f20213fb861991a11f815d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b10357598d5e3662c457c0b4c0ea9fc0b9c6ff881f20213fb861991a11f815d", kill_on_drop: false }` [INFO] [stdout] 1b10357598d5e3662c457c0b4c0ea9fc0b9c6ff881f20213fb861991a11f815d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb6980dfd20d68ca3dfd6272d287dcb6382ca2635c48c84fd3fb9ca3541d2803 [INFO] running `Command { std: "docker" "start" "-a" "bb6980dfd20d68ca3dfd6272d287dcb6382ca2635c48c84fd3fb9ca3541d2803", kill_on_drop: false }` [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling tide-testing v0.1.3 [INFO] [stderr] Compiling tide-csrf v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:817:29 [INFO] [stdout] | [INFO] [stdout] 817 | fn get_csrf_cookie(res: &Response) -> Option { [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] 817 | fn get_csrf_cookie(res: &Response) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "bb6980dfd20d68ca3dfd6272d287dcb6382ca2635c48c84fd3fb9ca3541d2803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb6980dfd20d68ca3dfd6272d287dcb6382ca2635c48c84fd3fb9ca3541d2803", kill_on_drop: false }` [INFO] [stdout] bb6980dfd20d68ca3dfd6272d287dcb6382ca2635c48c84fd3fb9ca3541d2803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c224589e6adf670a8f981ad7558d04a36d1d868388f11a55b091d5d453fa9711 [INFO] running `Command { std: "docker" "start" "-a" "c224589e6adf670a8f981ad7558d04a36d1d868388f11a55b091d5d453fa9711", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:817:29 [INFO] [stderr] | [INFO] [stderr] 817 | fn get_csrf_cookie(res: &Response) -> Option { [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] 817 | fn get_csrf_cookie(res: &Response) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tide-csrf` (lib test) generated 1 warning (run `cargo fix --lib -p tide-csrf --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tide_csrf-c6ceaab0235324fe) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::middleware_exposes_csrf_request_extensions ... ok [INFO] [stdout] test tests::middleware_adds_csrf_cookie_sets_request_token ... ok [INFO] [stdout] test tests::middleware_validates_token_in_alternate_header ... ok [INFO] [stdout] test tests::middleware_rejects_invalid_base64_token ... ok [INFO] [stdout] test tests::middleware_rejects_mismatched_token ... ok [INFO] [stdout] test tests::middleware_ignores_non_form_bodies ... ok [INFO] [stdout] test tests::middleware_validates_token_in_alternate_query ... ok [INFO] [stdout] test tests::middleware_allows_different_generation_cookies_and_tokens ... ok [INFO] [stdout] test tests::middleware_validates_token_in_form ... ok [INFO] [stdout] test tests::middleware_validates_token_in_query ... ok [INFO] [stdout] test tests::middleware_validates_token_in_header ... ok [INFO] [stdout] test tests::middleware_rejects_short_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests tide_csrf [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 35) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c224589e6adf670a8f981ad7558d04a36d1d868388f11a55b091d5d453fa9711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c224589e6adf670a8f981ad7558d04a36d1d868388f11a55b091d5d453fa9711", kill_on_drop: false }` [INFO] [stdout] c224589e6adf670a8f981ad7558d04a36d1d868388f11a55b091d5d453fa9711