Skip to content

build(deps): bump redis from 0.26.1 to 0.27.2 #245

build(deps): bump redis from 0.26.1 to 0.27.2

build(deps): bump redis from 0.26.1 to 0.27.2 #245

Triggered via push September 17, 2024 05:46
Status Failure
Total duration 1m 1s
Artifacts

clippy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
the method `exists` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied: src/main.rs#L43
error[E0599]: the method `exists` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied --> src/cache.rs:43:13 | 43 | con.exists(&key).await.map_err(anyhow::Error::from) | ^^^^^^ | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.26.1/src/aio/multiplexed_connection.rs:412:1 | 412 | pub struct MultiplexedConnection { | -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.8.5/src/api.rs:407:1 | 407 | pub struct PooledConnection<'a, M> | ---------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | = note: the following trait bounds were not satisfied: `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::aio::ConnectionLike` which is required by `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::AsyncCommands` `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` which is required by `bb8_redis::redis::aio::MultiplexedConnection: redis::AsyncCommands` = help: items from traits can only be used if the trait is in scope help: trait `AsyncCommands` which provides `exists` is implemented but not in scope; perhaps you want to import it | 1 + use bb8_redis::redis::AsyncCommands; |
the method `get` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied: src/main.rs#L50
error[E0599]: the method `get` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied --> src/cache.rs:50:46 | 50 | let player: OptionalPlayerInfo = con.get(&key).await?; | ^^^ | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.26.1/src/aio/multiplexed_connection.rs:412:1 | 412 | pub struct MultiplexedConnection { | -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.8.5/src/api.rs:407:1 | 407 | pub struct PooledConnection<'a, M> | ---------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | = note: the following trait bounds were not satisfied: `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::aio::ConnectionLike` which is required by `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::AsyncCommands` `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` which is required by `bb8_redis::redis::aio::MultiplexedConnection: redis::AsyncCommands` = help: items from traits can only be used if the trait is in scope help: trait `AsyncCommands` which provides `get` is implemented but not in scope; perhaps you want to import it | 1 + use bb8_redis::redis::AsyncCommands; |
the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied: src/main.rs#L68
error[E0277]: the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied --> src/cache.rs:68:26 | 68 | .query_async(&mut *con) | ----------- ^^^^^^^^^ the trait `redis::aio::ConnectionLike` is not implemented for `bb8_redis::redis::aio::MultiplexedConnection` | | | required by a bound introduced by this call | = help: the following other types implement trait `redis::aio::ConnectionLike`: redis::aio::Connection<C> redis::aio::MultiplexedConnection note: required by a bound in `redis::Pipeline::query_async` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.2/src/pipeline.rs:183:24 | 181 | pub async fn query_async<T: FromRedisValue>( | ----------- required by a bound in this associated function 182 | &self, 183 | con: &mut impl crate::aio::ConnectionLike, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Pipeline::query_async`
the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied: src/main.rs#L65
error[E0277]: the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied --> src/cache.rs:65:9 | 65 | / redis::pipe() 66 | | .set(&key, player) 67 | | .expire(&key, 60 * 60 * 12) 68 | | .query_async(&mut *con) | |___________________________________^ the trait `redis::aio::ConnectionLike` is not implemented for `bb8_redis::redis::aio::MultiplexedConnection` | = help: the following other types implement trait `redis::aio::ConnectionLike`: redis::aio::Connection<C> redis::aio::MultiplexedConnection note: required by a bound in `redis::Pipeline::query_async` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.2/src/pipeline.rs:183:24 | 181 | pub async fn query_async<T: FromRedisValue>( | ----------- required by a bound in this associated function 182 | &self, 183 | con: &mut impl crate::aio::ConnectionLike, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Pipeline::query_async`
the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied: src/main.rs#L69
error[E0277]: the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied --> src/cache.rs:69:14 | 69 | .await | ^^^^^ the trait `redis::aio::ConnectionLike` is not implemented for `bb8_redis::redis::aio::MultiplexedConnection` | = help: the following other types implement trait `redis::aio::ConnectionLike`: redis::aio::Connection<C> redis::aio::MultiplexedConnection note: required by a bound in `redis::Pipeline::query_async` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.2/src/pipeline.rs:183:24 | 181 | pub async fn query_async<T: FromRedisValue>( | ----------- required by a bound in this associated function 182 | &self, 183 | con: &mut impl crate::aio::ConnectionLike, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Pipeline::query_async`
the method `keys` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied: src/main.rs#L76
error[E0599]: the method `keys` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied --> src/cache.rs:76:37 | 76 | let keys: Vec<String> = con.keys(format!("{PROFILE_KEY}:*").as_str()).await?; | ^^^^ | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.26.1/src/aio/multiplexed_connection.rs:412:1 | 412 | pub struct MultiplexedConnection { | -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.8.5/src/api.rs:407:1 | 407 | pub struct PooledConnection<'a, M> | ---------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | = note: the following trait bounds were not satisfied: `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::aio::ConnectionLike` which is required by `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::AsyncCommands` `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` which is required by `bb8_redis::redis::aio::MultiplexedConnection: redis::AsyncCommands` = help: items from traits can only be used if the trait is in scope help: trait `AsyncCommands` which provides `keys` is implemented but not in scope; perhaps you want to import it | 1 + use bb8_redis::redis::AsyncCommands; |
the method `mget` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied: src/main.rs#L90
error[E0599]: the method `mget` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied --> src/cache.rs:90:51 | 90 | let values: Vec<OptionalPlayerInfo> = con.mget(&keys).await?; | ^^^^ | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.26.1/src/aio/multiplexed_connection.rs:412:1 | 412 | pub struct MultiplexedConnection { | -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.8.5/src/api.rs:407:1 | 407 | pub struct PooledConnection<'a, M> | ---------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike` | = note: the following trait bounds were not satisfied: `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::aio::ConnectionLike` which is required by `bb8::PooledConnection<'_, bb8_redis::RedisConnectionManager>: redis::AsyncCommands` `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` which is required by `bb8_redis::redis::aio::MultiplexedConnection: redis::AsyncCommands` = help: items from traits can only be used if the trait is in scope help: trait `AsyncCommands` which provides `mget` is implemented but not in scope; perhaps you want to import it | 1 + use bb8_redis::redis::AsyncCommands; |
aborting due to 7 previous errors; 1 warning emitted
error: aborting due to 7 previous errors; 1 warning emitted
clippy
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
clippy
{ "rendered": "Some errors have detailed explanations: E0277, E0599.\n", "$message_type": "diagnostic", "children": [], "code": null, "level": "failure-note", "message": "Some errors have detailed explanations: E0277, E0599.", "spans": [] }
clippy
clippy-action doesn't have permissions to create Check Runs, disabling!
clippy
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
unused import: `AsyncCommands`: src/main.rs#L8
warning: unused import: `AsyncCommands` --> src/cache.rs:8:13 | 8 | use redis::{AsyncCommands, Client, ConnectionLike}; | ^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default