[INFO] cloning repository https://github.com/densumesh/actix-request-reply-cache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/densumesh/actix-request-reply-cache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdensumesh%2Factix-request-reply-cache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdensumesh%2Factix-request-reply-cache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c04293ebd312aa91444f4318cb776f77d946a291 [INFO] testing densumesh/actix-request-reply-cache against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdensumesh%2Factix-request-reply-cache" "/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/densumesh/actix-request-reply-cache [INFO] finished tweaking git repo https://github.com/densumesh/actix-request-reply-cache [INFO] tweaked toml for git repo https://github.com/densumesh/actix-request-reply-cache written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/densumesh/actix-request-reply-cache 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/densumesh/actix-request-reply-cache 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] Downloading crates ... [INFO] [stderr] Downloaded redis v0.30.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5354b3769b86479db433d06e0bb7c4d5dd137af8be3191632dae34e1443ef8d9 [INFO] running `Command { std: "docker" "start" "-a" "5354b3769b86479db433d06e0bb7c4d5dd137af8be3191632dae34e1443ef8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5354b3769b86479db433d06e0bb7c4d5dd137af8be3191632dae34e1443ef8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5354b3769b86479db433d06e0bb7c4d5dd137af8be3191632dae34e1443ef8d9", kill_on_drop: false }` [INFO] [stdout] 5354b3769b86479db433d06e0bb7c4d5dd137af8be3191632dae34e1443ef8d9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 287152f657d9a24f29d000dae3532d6d7c51715af0f31e74b74746ead4ea1cb3 [INFO] running `Command { std: "docker" "start" "-a" "287152f657d9a24f29d000dae3532d6d7c51715af0f31e74b74746ead4ea1cb3", kill_on_drop: false }` [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling redis v0.30.0 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling actix-request-reply-cache v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "287152f657d9a24f29d000dae3532d6d7c51715af0f31e74b74746ead4ea1cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287152f657d9a24f29d000dae3532d6d7c51715af0f31e74b74746ead4ea1cb3", kill_on_drop: false }` [INFO] [stdout] 287152f657d9a24f29d000dae3532d6d7c51715af0f31e74b74746ead4ea1cb3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba249886f4ef7db02faf8f11f2f78efb4665a9bea5bede6b665c5a27e371c849 [INFO] running `Command { std: "docker" "start" "-a" "ba249886f4ef7db02faf8f11f2f78efb4665a9bea5bede6b665c5a27e371c849", kill_on_drop: false }` [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling actix-request-reply-cache v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.19s [INFO] running `Command { std: "docker" "inspect" "ba249886f4ef7db02faf8f11f2f78efb4665a9bea5bede6b665c5a27e371c849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba249886f4ef7db02faf8f11f2f78efb4665a9bea5bede6b665c5a27e371c849", kill_on_drop: false }` [INFO] [stdout] ba249886f4ef7db02faf8f11f2f78efb4665a9bea5bede6b665c5a27e371c849 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] deca0769918a5e0d8285c036a7aa9416cd35f6c15bd8de8a57821080f1bf4de6 [INFO] running `Command { std: "docker" "start" "-a" "deca0769918a5e0d8285c036a7aa9416cd35f6c15bd8de8a57821080f1bf4de6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_request_reply_cache-8e7ab672b098a8ed) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_builder_custom_predicate ... ok [INFO] [stdout] test tests::test_cacheable_methods ... ok [INFO] [stdout] test tests::test_cache_key_with_body ... ok [INFO] [stdout] test tests::test_cached_response_serialization ... ok [INFO] [stdout] test tests::test_builder_default_values ... ok [INFO] [stdout] test tests::test_builder_custom_values ... ok [INFO] [stdout] test tests::test_predicate_with_headers ... ok [INFO] [stdout] test tests::test_predicate_with_path_patterns ... ok [INFO] [stdout] test tests::test_custom_cache_key ... 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] [stderr] Doc-tests actix_request_reply_cache [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] 3 | builder.cache_if(|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 - 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] 3 | 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] 17 | .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] 17 - .await; [INFO] [stdout] 17 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this 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.42s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "deca0769918a5e0d8285c036a7aa9416cd35f6c15bd8de8a57821080f1bf4de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deca0769918a5e0d8285c036a7aa9416cd35f6c15bd8de8a57821080f1bf4de6", kill_on_drop: false }` [INFO] [stdout] deca0769918a5e0d8285c036a7aa9416cd35f6c15bd8de8a57821080f1bf4de6