[INFO] fetching crate tide-csrf 0.1.1... [INFO] testing tide-csrf-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tide-csrf 0.1.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tide-csrf 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44ae869ad37833058160dbded968111e0a585b09767a0eb6d8930bba51c19b8f [INFO] running `Command { std: "docker" "start" "-a" "44ae869ad37833058160dbded968111e0a585b09767a0eb6d8930bba51c19b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44ae869ad37833058160dbded968111e0a585b09767a0eb6d8930bba51c19b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ae869ad37833058160dbded968111e0a585b09767a0eb6d8930bba51c19b8f", kill_on_drop: false }` [INFO] [stdout] 44ae869ad37833058160dbded968111e0a585b09767a0eb6d8930bba51c19b8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d3254456878557f7621730df3ddca8dc560f29ff666158131fd9e84daf1e76 [INFO] running `Command { std: "docker" "start" "-a" "f5d3254456878557f7621730df3ddca8dc560f29ff666158131fd9e84daf1e76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [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 bitflags v2.9.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [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 getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [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 crypto-mac v0.11.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling chacha20 v0.7.3 [INFO] [stderr] Compiling ghash v0.4.4 [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 base64 v0.12.3 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling chacha20poly1305 v0.8.2 [INFO] [stderr] Compiling hkdf v0.11.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling polling v3.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 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 async-global-executor v2.4.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [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_qs v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling value-bag-serde1 v1.11.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling log v0.4.28 [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 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 async-h1 v2.3.4 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling http-client v6.5.3 [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 24s [INFO] running `Command { std: "docker" "inspect" "f5d3254456878557f7621730df3ddca8dc560f29ff666158131fd9e84daf1e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d3254456878557f7621730df3ddca8dc560f29ff666158131fd9e84daf1e76", kill_on_drop: false }` [INFO] [stdout] f5d3254456878557f7621730df3ddca8dc560f29ff666158131fd9e84daf1e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef814be753470e7e287426b8ce20938c0788bba03ca860a2ea1deb354756158 [INFO] running `Command { std: "docker" "start" "-a" "fef814be753470e7e287426b8ce20938c0788bba03ca860a2ea1deb354756158", 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 6.60s [INFO] running `Command { std: "docker" "inspect" "fef814be753470e7e287426b8ce20938c0788bba03ca860a2ea1deb354756158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef814be753470e7e287426b8ce20938c0788bba03ca860a2ea1deb354756158", kill_on_drop: false }` [INFO] [stdout] fef814be753470e7e287426b8ce20938c0788bba03ca860a2ea1deb354756158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8af9adb2a371c64edb28569eca5746000685a2a58c99d7b10dfc3bb1af25ebab [INFO] running `Command { std: "docker" "start" "-a" "8af9adb2a371c64edb28569eca5746000685a2a58c99d7b10dfc3bb1af25ebab", 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.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tide_csrf-2f07cce7c2d63372) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::middleware_ignores_non_form_bodies ... ok [INFO] [stdout] test tests::middleware_rejects_short_token ... ok [INFO] [stdout] test tests::middleware_allows_different_generation_cookies_and_tokens ... ok [INFO] [stdout] test tests::middleware_validates_token_in_alternate_header ... ok [INFO] [stdout] test tests::middleware_rejects_mismatched_token ... ok [INFO] [stdout] test tests::middleware_adds_csrf_cookie_sets_request_token ... ok [INFO] [stdout] test tests::middleware_validates_token_in_header ... ok [INFO] [stdout] test tests::middleware_exposes_csrf_request_extensions ... ok [INFO] [stdout] test tests::middleware_validates_token_in_form ... ok [INFO] [stdout] test tests::middleware_validates_token_in_alternate_query ... ok [INFO] [stdout] test tests::middleware_validates_token_in_query ... ok [INFO] [stdout] test tests::middleware_rejects_invalid_base64_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.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8af9adb2a371c64edb28569eca5746000685a2a58c99d7b10dfc3bb1af25ebab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af9adb2a371c64edb28569eca5746000685a2a58c99d7b10dfc3bb1af25ebab", kill_on_drop: false }` [INFO] [stdout] 8af9adb2a371c64edb28569eca5746000685a2a58c99d7b10dfc3bb1af25ebab