[INFO] fetching crate redis-cache 0.3.0... [INFO] testing redis-cache-0.3.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate redis-cache 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate redis-cache 0.3.0 [INFO] finished tweaking crates.io crate redis-cache 0.3.0 [INFO] tweaked toml for crates.io crate redis-cache 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate redis-cache 0.3.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 192 packages to latest compatible versions [INFO] [stderr] Adding redis v0.18.0 (available: v1.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.68 [INFO] [stderr] Downloaded wasm-bindgen-test-shared v0.2.118 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.68 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded minicov v0.3.8 [INFO] [stderr] Downloaded thin-vec v0.2.16 [INFO] [stderr] Downloaded casbin v2.20.0 [INFO] [stderr] Downloaded rhai v1.24.0 [INFO] [stderr] Downloaded redis v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56c13c6e6181153083e809c76aea59648943131122919a5c1106cf07241bfd32 [INFO] running `Command { std: "docker" "start" "-a" "56c13c6e6181153083e809c76aea59648943131122919a5c1106cf07241bfd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56c13c6e6181153083e809c76aea59648943131122919a5c1106cf07241bfd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c13c6e6181153083e809c76aea59648943131122919a5c1106cf07241bfd32", kill_on_drop: false }` [INFO] [stdout] 56c13c6e6181153083e809c76aea59648943131122919a5c1106cf07241bfd32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b56e71ea05b2d902847a066925ecb44b7d63726ad138bca87df08a528b5422 [INFO] running `Command { std: "docker" "start" "-a" "32b56e71ea05b2d902847a066925ecb44b7d63726ad138bca87df08a528b5422", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.5 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling value-bag v1.12.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling mini-moka v0.10.3 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling thin-vec v0.2.16 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rhai v1.24.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling redis v0.18.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling casbin v2.20.0 [INFO] [stderr] Compiling redis-cache v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `set_capacity` is not a member of trait `Cache` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn set_capacity(&mut self, cap: usize) { [INFO] [stdout] 35 | | self.cap = cap; [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ not a member of trait `Cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | fn get(&mut self, k: &K) -> Option> { [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&RedisCache<_, _>, &_) -> std::option::Option` [INFO] [stdout] found signature `fn(&mut RedisCache<_, _>, &_) -> std::option::Option>` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 - fn get(&mut self, k: &K) -> Option> { [INFO] [stdout] 38 + fn get(&self, k: &K) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `has` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | fn has(&mut self, k: &K) -> bool { [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&RedisCache<_, _>, &_) -> _` [INFO] [stdout] found signature `fn(&mut RedisCache<_, _>, &_) -> _` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 52 - fn has(&mut self, k: &K) -> bool { [INFO] [stdout] 52 + fn has(&self, k: &K) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | fn set(&mut self, k: K, v: V) { [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&RedisCache<_, _>, _, _)` [INFO] [stdout] found signature `fn(&mut RedisCache<_, _>, _, _)` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 66 - fn set(&mut self, k: K, v: V) { [INFO] [stdout] 66 + fn set(&self, k: K, v: V) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `clear` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&RedisCache<_, _>)` [INFO] [stdout] found signature `fn(&mut RedisCache<_, _>)` [INFO] [stdout] help: change the self-receiver type to match the trait [INFO] [stdout] | [INFO] [stdout] 85 - fn clear(&mut self) { [INFO] [stdout] 85 + fn clear(&self) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-cache` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "32b56e71ea05b2d902847a066925ecb44b7d63726ad138bca87df08a528b5422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b56e71ea05b2d902847a066925ecb44b7d63726ad138bca87df08a528b5422", kill_on_drop: false }` [INFO] [stdout] 32b56e71ea05b2d902847a066925ecb44b7d63726ad138bca87df08a528b5422