[INFO] fetching crate tower-csrf 0.1.0... [INFO] testing tower-csrf-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate tower-csrf 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tower-csrf 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tower-csrf 0.1.0 [INFO] tweaked toml for crates.io crate tower-csrf 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-csrf 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tower-csrf 0.1.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 341e4518fd631f89da8f17c4e6d184c1892eb1adefc7e0e83b426f79fde8ef55 [INFO] running `Command { std: "docker" "start" "-a" "341e4518fd631f89da8f17c4e6d184c1892eb1adefc7e0e83b426f79fde8ef55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "341e4518fd631f89da8f17c4e6d184c1892eb1adefc7e0e83b426f79fde8ef55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341e4518fd631f89da8f17c4e6d184c1892eb1adefc7e0e83b426f79fde8ef55", kill_on_drop: false }` [INFO] [stdout] 341e4518fd631f89da8f17c4e6d184c1892eb1adefc7e0e83b426f79fde8ef55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12e027a7aaf35e933378975c9296a57afecdafec662778c1b0ac85c4f40eff31 [INFO] running `Command { std: "docker" "start" "-a" "12e027a7aaf35e933378975c9296a57afecdafec662778c1b0ac85c4f40eff31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [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 thiserror-impl v2.0.14 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [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_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties 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 tower-csrf v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.32s [INFO] running `Command { std: "docker" "inspect" "12e027a7aaf35e933378975c9296a57afecdafec662778c1b0ac85c4f40eff31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e027a7aaf35e933378975c9296a57afecdafec662778c1b0ac85c4f40eff31", kill_on_drop: false }` [INFO] [stdout] 12e027a7aaf35e933378975c9296a57afecdafec662778c1b0ac85c4f40eff31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad5d758f0bd6b3688e3b26ebc8e4fdfef3fc194530487fd8af5a2f02905e4162 [INFO] running `Command { std: "docker" "start" "-a" "ad5d758f0bd6b3688e3b26ebc8e4fdfef3fc194530487fd8af5a2f02905e4162", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tower-test v0.4.0 [INFO] [stderr] Compiling tower-csrf v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.51s [INFO] running `Command { std: "docker" "inspect" "ad5d758f0bd6b3688e3b26ebc8e4fdfef3fc194530487fd8af5a2f02905e4162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5d758f0bd6b3688e3b26ebc8e4fdfef3fc194530487fd8af5a2f02905e4162", kill_on_drop: false }` [INFO] [stdout] ad5d758f0bd6b3688e3b26ebc8e4fdfef3fc194530487fd8af5a2f02905e4162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 756a0bd10c1061663dce18f2483ebd292f01a376903f9686629e155c2123fe97 [INFO] running `Command { std: "docker" "start" "-a" "756a0bd10c1061663dce18f2483ebd292f01a376903f9686629e155c2123fe97", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_csrf-e646af229c69231b) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] 2025-10-02T06:43:17.531962Z DEBUG tower_csrf: added insecure bypass [INFO] [stdout] 2025-10-02T06:43:17.531978Z DEBUG tower_csrf: added trusted origin origin=https://trusted.example [INFO] [stdout] 2025-10-02T06:43:17.532053Z DEBUG tower_csrf: added insecure bypass [INFO] [stdout] 2025-10-02T06:43:17.532200Z TRACE verify{uri=/}: tower_csrf: request passed: safe method [INFO] [stdout] 2025-10-02T06:43:17.532204Z TRACE verify{uri=/}:is_exempt{uri=/}: tower_csrf: request passed: trusted origin [INFO] [stdout] 2025-10-02T06:43:17.532266Z TRACE verify{uri=/}: tower_csrf: request passed: sec-fetch-site is same-origin or none [INFO] [stdout] 2025-10-02T06:43:17.532298Z TRACE verify{uri=/}:is_exempt{uri=/}: tower_csrf: request passed: trusted origin [INFO] [stdout] 2025-10-02T06:43:17.532392Z TRACE verify{uri=/}: tower_csrf: request passed: neither sec-fetch-site nor origin header (same-origin or not a browser request) [INFO] [stdout] test tests::test_url_path_normalization ... ok [INFO] [stdout] test tests::test_middleware_debug_trait ... ok [INFO] [stdout] test tests::test_middleware_trusted_origin_bypass ... ok [INFO] [stdout] 2025-10-02T06:43:17.532825Z TRACE verify{uri=https://example.com/bypass}:is_exempt{uri=https://example.com/bypass}: tower_csrf: request passed: bypassed [INFO] [stdout] 2025-10-02T06:43:17.533034Z TRACE verify{uri=https://example.com/bypass}:is_exempt{uri=https://example.com/bypass}: tower_csrf: request passed: bypassed [INFO] [stdout] 2025-10-02T06:43:17.532490Z TRACE verify{uri=/}: tower_csrf: request passed: origin is same as host - [INFO] [stdout] test tests::test_middleware_bypass ... ok [INFO] [stdout] 2025-10-02T06:43:17.534775Z TRACE verify{uri=/}: tower_csrf: request passed: safe method [INFO] [stdout] 2025-10-02T06:43:17.534878Z TRACE verify{uri=/}: tower_csrf: request passed: safe method [INFO] [stdout] 2025-10-02T06:43:17.534996Z TRACE verify{uri=/}: tower_csrf: request passed: safe method [INFO] [stdout] test tests::test_middleware_sec_fetch_site ... ok [INFO] [stdout] 2025-10-02T06:43:17.551122Z DEBUG tower_csrf: added trusted origin origin=https://example.com [INFO] [stdout] test tests::test_layer_add_trusted_origin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/csrf.rs (/opt/rustwide/target/debug/deps/csrf-a8d66fd0ddd7b515) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_bar_endpoint_returns_csrf_error ... ok [INFO] [stderr] Doc-tests tower_csrf [INFO] [stdout] test test_bar_endpoint_succeeds_with_trusted_origin ... ok [INFO] [stdout] test test_foo_endpoint_returns_foo ... 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] [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" "756a0bd10c1061663dce18f2483ebd292f01a376903f9686629e155c2123fe97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756a0bd10c1061663dce18f2483ebd292f01a376903f9686629e155c2123fe97", kill_on_drop: false }` [INFO] [stdout] 756a0bd10c1061663dce18f2483ebd292f01a376903f9686629e155c2123fe97