[INFO] fetching crate actix-request-reply-cache 0.1.7... [INFO] testing actix-request-reply-cache-0.1.7 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate actix-request-reply-cache 0.1.7 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate actix-request-reply-cache 0.1.7 [INFO] finished tweaking crates.io crate actix-request-reply-cache 0.1.7 [INFO] tweaked toml for crates.io crate actix-request-reply-cache 0.1.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate actix-request-reply-cache 0.1.7 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 187 packages to latest compatible versions [INFO] [stderr] Adding redis v0.30.0 (available: v0.32.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b0fe772f325fd4ac979f867c0e74e78450df62738d079f9be2456dc5e427e2b [INFO] running `Command { std: "docker" "start" "-a" "6b0fe772f325fd4ac979f867c0e74e78450df62738d079f9be2456dc5e427e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b0fe772f325fd4ac979f867c0e74e78450df62738d079f9be2456dc5e427e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b0fe772f325fd4ac979f867c0e74e78450df62738d079f9be2456dc5e427e2b", kill_on_drop: false }` [INFO] [stdout] 6b0fe772f325fd4ac979f867c0e74e78450df62738d079f9be2456dc5e427e2b [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=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78eecb4d572b2cde1cec540fd69d950e5003f8b5753ebd4a19be52a8fdf514e2 [INFO] running `Command { std: "docker" "start" "-a" "78eecb4d572b2cde1cec540fd69d950e5003f8b5753ebd4a19be52a8fdf514e2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling redis v0.30.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-request-reply-cache v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.61s [INFO] running `Command { std: "docker" "inspect" "78eecb4d572b2cde1cec540fd69d950e5003f8b5753ebd4a19be52a8fdf514e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78eecb4d572b2cde1cec540fd69d950e5003f8b5753ebd4a19be52a8fdf514e2", kill_on_drop: false }` [INFO] [stdout] 78eecb4d572b2cde1cec540fd69d950e5003f8b5753ebd4a19be52a8fdf514e2 [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=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aae011b9e9f89c64812e955c6d04f23ae6798246bb90b7aaae0f402d14508f8 [INFO] running `Command { std: "docker" "start" "-a" "8aae011b9e9f89c64812e955c6d04f23ae6798246bb90b7aaae0f402d14508f8", kill_on_drop: false }` [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-request-reply-cache v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.33s [INFO] running `Command { std: "docker" "inspect" "8aae011b9e9f89c64812e955c6d04f23ae6798246bb90b7aaae0f402d14508f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aae011b9e9f89c64812e955c6d04f23ae6798246bb90b7aaae0f402d14508f8", kill_on_drop: false }` [INFO] [stdout] 8aae011b9e9f89c64812e955c6d04f23ae6798246bb90b7aaae0f402d14508f8 [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=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d3bee46c1883ebb7ac169deef425e75438845e5907ed58fcf192b88d9919d5f [INFO] running `Command { std: "docker" "start" "-a" "2d3bee46c1883ebb7ac169deef425e75438845e5907ed58fcf192b88d9919d5f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_request_reply_cache-d54d91ccc682269a) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_cacheable_methods ... ok [INFO] [stdout] test tests::test_builder_custom_values ... ok [INFO] [stdout] test tests::test_cache_key_with_body ... ok [INFO] [stdout] test tests::test_custom_cache_key ... ok [INFO] [stdout] test tests::test_cached_response_serialization ... ok [INFO] [stdout] test tests::test_predicate_with_path_patterns ... ok [INFO] [stdout] test tests::test_predicate_with_headers ... ok [INFO] [stdout] test tests::test_builder_custom_predicate ... ok [INFO] [stderr] Doc-tests actix_request_reply_cache [INFO] [stdout] test tests::test_builder_default_values ... ok [INFO] [stdout] test tests::test_cache_key_generation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - RedisCacheMiddlewareBuilder::cache_if (line 197) ... FAILED [INFO] [stdout] test src/lib.rs - RedisCacheMiddlewareBuilder::with_cache_key (line 236) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - RedisCacheMiddlewareBuilder::cache_if (line 197) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `builder` in this scope [INFO] [stdout] --> src/lib.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | builder.cache_if(|ctx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | return ctx.body.get("role").and_then(|r| r.as_str()) != Some("admin"); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 216 | return ctx.body.get("role").and_then(|r: /* Type */| r.as_str()) != Some("admin"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RedisCacheMiddlewareBuilder::with_cache_key (line 236) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `builder` in this scope [INFO] [stdout] --> src/lib.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | builder.with_cache_key(|ctx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0277]: `RedisCacheMiddleware` is not a future [INFO] [stdout] --> src/lib.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .await; [INFO] [stdout] | ^^^^^ `RedisCacheMiddleware` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `RedisCacheMiddleware` [INFO] [stdout] = note: RedisCacheMiddleware must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `RedisCacheMiddleware` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 36 - .await; [INFO] [stdout] 36 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let cache = RedisCacheMiddlewareBuilder::new("redis://127.0.0.1:6379") [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | .wrap(cache.clone()) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cache` an explicit type [INFO] [stdout] | [INFO] [stdout] 29 | let cache: /* Type */ = RedisCacheMiddlewareBuilder::new("redis://127.0.0.1:6379") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - RedisCacheMiddlewareBuilder::cache_if (line 197) [INFO] [stdout] src/lib.rs - RedisCacheMiddlewareBuilder::with_cache_key (line 236) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2d3bee46c1883ebb7ac169deef425e75438845e5907ed58fcf192b88d9919d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3bee46c1883ebb7ac169deef425e75438845e5907ed58fcf192b88d9919d5f", kill_on_drop: false }` [INFO] [stdout] 2d3bee46c1883ebb7ac169deef425e75438845e5907ed58fcf192b88d9919d5f