build(deps): bump bb8-redis from 0.18.0 to 0.20.0 #358
Annotations
9 errors and 1 warning
Run auguwu/[email protected]:
src/main.rs#L40
error[E0599]: the method `exists` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied
--> src/cache.rs:40:13
|
40 | con.exists(&key).await.map_err(anyhow::Error::from)
| ^^^^^^
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/multiplexed_connection.rs:406:1
|
406 | pub struct MultiplexedConnection {
| -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.9.0/src/api.rs:419:1
|
419 | 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;
|
|
Run auguwu/[email protected]:
src/main.rs#L47
error[E0599]: the method `get` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied
--> src/cache.rs:47:46
|
47 | let player: OptionalPlayerInfo = con.get(&key).await?;
| ^^^
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/multiplexed_connection.rs:406:1
|
406 | pub struct MultiplexedConnection {
| -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.9.0/src/api.rs:419:1
|
419 | 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;
|
|
Run auguwu/[email protected]:
src/main.rs#L67
error[E0277]: the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied because the trait comes from a different crate version
--> src/cache.rs:67:26
|
67 | .query_async(&mut *con)
| ^^^^^^^^^ the trait `redis::aio::ConnectionLike` is not implemented for `bb8_redis::redis::aio::MultiplexedConnection`
|
note: there are multiple different versions of crate `redis` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.6/src/aio/mod.rs:67:1
|
67 | pub trait ConnectionLike {
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: src/cache.rs:5:5
|
5 | use bb8_redis::RedisConnectionManager;
| --------- one version of crate `redis` is used here, as a dependency of crate `bb8_redis`
6 | use redis::{AsyncCommands, Client, ConnectionLike, FromRedisValue};
| ----- one version of crate `redis` is used here, as a direct dependency of the current crate
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/multiplexed_connection.rs:406:1
|
406 | pub struct MultiplexedConnection {
| -------------------------------- this type doesn't implement the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.6/src/aio/multiplexed_connection.rs:418:1
|
418 | pub struct MultiplexedConnection {
| -------------------------------- this type implements the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/pubsub.rs:52:1
|
52 | / pin_project! {
53 | | /// The stream part of a split async Pubsub.
54 | | ///
55 | | /// The sink is used to subscribe and unsubscribe from
... |
67 | | }
68 | | }
| |_- this is the found trait
= note: two types coming from two different versions of the same crate are different types even if they look the same
= help: you can use `cargo tree` to explore your dependency tree
|
Run auguwu/[email protected]:
src/main.rs#L64
error[E0277]: the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied because the trait comes from a different crate version
--> src/cache.rs:64:9
|
64 | / redis::pipe()
65 | | .set(&key, player)
66 | | .expire(&key, 60 * 60 * hours)
67 | | .query_async(&mut *con)
| |___________________________________^ the trait `redis::aio::ConnectionLike` is not implemented for `bb8_redis::redis::aio::MultiplexedConnection`
|
note: there are multiple different versions of crate `redis` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.6/src/aio/mod.rs:67:1
|
67 | pub trait ConnectionLike {
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: src/cache.rs:5:5
|
5 | use bb8_redis::RedisConnectionManager;
| --------- one version of crate `redis` is used here, as a dependency of crate `bb8_redis`
6 | use redis::{AsyncCommands, Client, ConnectionLike, FromRedisValue};
| ----- one version of crate `redis` is used here, as a direct dependency of the current crate
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/multiplexed_connection.rs:406:1
|
406 | pub struct MultiplexedConnection {
| -------------------------------- this type doesn't implement the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.6/src/aio/multiplexed_connection.rs:418:1
|
418 | pub struct MultiplexedConnection {
| -------------------------------- this type implements the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/pubsub.rs:52:1
|
52 | / pin_project! {
53 | | /// The stream part of a split async Pubsub.
54 | | ///
55 | | /// The sink is used to subscribe and unsubscribe from
... |
67 | | }
68 | | }
| |_- this is the found trait
= note: two types coming from two different versions of the same crate are different types even if they look the same
= help: you can use `cargo tree` to explore your dependency tree
|
Run auguwu/[email protected]:
src/main.rs#L68
error[E0277]: the trait bound `bb8_redis::redis::aio::MultiplexedConnection: redis::aio::ConnectionLike` is not satisfied because the trait comes from a different crate version
--> src/cache.rs:68:14
|
68 | .await
| ^^^^^ the trait `redis::aio::ConnectionLike` is not implemented for `bb8_redis::redis::aio::MultiplexedConnection`
|
note: there are multiple different versions of crate `redis` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.6/src/aio/mod.rs:67:1
|
67 | pub trait ConnectionLike {
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: src/cache.rs:5:5
|
5 | use bb8_redis::RedisConnectionManager;
| --------- one version of crate `redis` is used here, as a dependency of crate `bb8_redis`
6 | use redis::{AsyncCommands, Client, ConnectionLike, FromRedisValue};
| ----- one version of crate `redis` is used here, as a direct dependency of the current crate
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/multiplexed_connection.rs:406:1
|
406 | pub struct MultiplexedConnection {
| -------------------------------- this type doesn't implement the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.6/src/aio/multiplexed_connection.rs:418:1
|
418 | pub struct MultiplexedConnection {
| -------------------------------- this type implements the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/pubsub.rs:52:1
|
52 | / pin_project! {
53 | | /// The stream part of a split async Pubsub.
54 | | ///
55 | | /// The sink is used to subscribe and unsubscribe from
... |
67 | | }
68 | | }
| |_- this is the found trait
= note: two types coming from two different versions of the same crate are different types even if they look the same
= help: you can use `cargo tree` to explore your dependency tree
|
Run auguwu/[email protected]:
src/main.rs#L75
error[E0599]: the method `keys` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied
--> src/cache.rs:75:37
|
75 | let keys: Vec<String> = con.keys(format!("{PROFILE_KEY}:*").as_str()).await?;
| ^^^^
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/multiplexed_connection.rs:406:1
|
406 | pub struct MultiplexedConnection {
| -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.9.0/src/api.rs:419:1
|
419 | 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;
|
|
Run auguwu/[email protected]:
src/main.rs#L89
error[E0599]: the method `mget` exists for struct `PooledConnection<'_, RedisConnectionManager>`, but its trait bounds were not satisfied
--> src/cache.rs:89:51
|
89 | let values: Vec<OptionalPlayerInfo> = con.mget(&keys).await?;
| ^^^^
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-0.28.1/src/aio/multiplexed_connection.rs:406:1
|
406 | pub struct MultiplexedConnection {
| -------------------------------- doesn't satisfy `_: AsyncCommands` or `_: ConnectionLike`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bb8-0.9.0/src/api.rs:419:1
|
419 | 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;
|
|
Run auguwu/[email protected]
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
|
Run auguwu/[email protected]
{
"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": []
}
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading