chore(cargo): use workspace resoilver 2 #129
Annotations
15 errors and 2 warnings
the trait bound `Ping: actix::Message` is not satisfied:
examples/examples/debug.rs#L52
error[E0277]: the trait bound `Ping: actix::Message` is not satisfied
--> examples/examples/debug.rs:52:66
|
52 | fn handle(&mut self, msg: Ping, _ctx: &mut Self::Context) -> Self::Result {
| ^^^^^^^^^^^^ the trait `actix::Message` is not implemented for `Ping`
|
= help: the following other types implement trait `actix::Message`:
std::boxed::Box<M>
std::sync::Arc<M>
note: required by a bound in `actix::Handler`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-0.13.0/src/handler.rs:19:8
|
16 | pub trait Handler<M>
| ------- required by a bound in this trait
...
19 | M: Message,
| ^^^^^^^ required by this bound in `Handler`
|
the trait bound `Ping: actix::Message` is not satisfied:
examples/examples/debug.rs#L50
error[E0277]: the trait bound `Ping: actix::Message` is not satisfied
--> examples/examples/debug.rs:50:34
|
50 | type Result = ResponseFuture<<Ping as Message>::Result>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `actix::Message` is not implemented for `Ping`
|
= help: the following other types implement trait `actix::Message`:
std::boxed::Box<M>
std::sync::Arc<M>
|
the trait bound `Ping: actix::Message` is not satisfied:
examples/examples/debug.rs#L49
error[E0277]: the trait bound `Ping: actix::Message` is not satisfied
--> examples/examples/debug.rs:49:6
|
49 | impl Handler<Ping> for UpstreamActor {
| ^^^^^^^^^^^^^ the trait `actix::Message` is not implemented for `Ping`
|
= help: the following other types implement trait `actix::Message`:
std::boxed::Box<M>
std::sync::Arc<M>
note: required by a bound in `actix::Handler`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-0.13.0/src/handler.rs:19:8
|
16 | pub trait Handler<M>
| ------- required by a bound in this trait
...
19 | M: Message,
| ^^^^^^^ required by this bound in `Handler`
|
no method named `into_cache` found for struct `Ping` in the current scope:
examples/examples/metrics.rs#L60
error[E0599]: no method named `into_cache` found for struct `Ping` in the current scope
--> examples/examples/metrics.rs:60:28
|
16 | struct Ping {
| ----------- method `into_cache` not found for this struct
...
60 | .send(Ping::new(1).into_cache(&upstream))
| ^^^^^^^^^^ method not found in `Ping`
|
failed to resolve: use of undeclared type `Cache`:
examples/examples/debug.rs#L91
error[E0433]: failed to resolve: use of undeclared type `Cache`
--> examples/examples/debug.rs:91:17
|
91 | let cache = Cache::new().await?.start();
| ^^^^^ use of undeclared type `Cache`
|
help: consider importing this struct
|
1 + use hitbox_tower::Cache;
|
|
no method named `into_cache` found for struct `Ping` in the current scope:
examples/examples/metrics.rs#L54
error[E0599]: no method named `into_cache` found for struct `Ping` in the current scope
--> examples/examples/metrics.rs:54:28
|
16 | struct Ping {
| ----------- method `into_cache` not found for this struct
...
54 | .send(Ping::new(0).into_cache(&upstream))
| ^^^^^^^^^^ method not found in `Ping`
|
no method named `into_cache` found for struct `Ping` in the current scope:
examples/examples/metrics.rs#L48
error[E0599]: no method named `into_cache` found for struct `Ping` in the current scope
--> examples/examples/metrics.rs:48:28
|
16 | struct Ping {
| ----------- method `into_cache` not found for this struct
...
48 | .send(Ping::new(0).into_cache(&upstream))
| ^^^^^^^^^^ method not found in `Ping`
|
unresolved import `actix_derive`:
examples/examples/debug.rs#L2
error[E0432]: unresolved import `actix_derive`
--> examples/examples/debug.rs:2:5
|
2 | use actix_derive::{Message, MessageResponse};
| ^^^^^^^^^^^^ use of undeclared crate or module `actix_derive`
|
failed to resolve: use of undeclared crate or module `hitbox_actix`:
examples/examples/debug.rs#L3
error[E0433]: failed to resolve: use of undeclared crate or module `hitbox_actix`
--> examples/examples/debug.rs:3:5
|
3 | use hitbox_actix::prelude::*;
| ^^^^^^^^^^^^ use of undeclared crate or module `hitbox_actix`
|
help: there is a crate or module with a similar name
|
3 | use hitbox_redis::prelude::*;
| ~~~~~~~~~~~~
|
unused import: `CachePolicy`:
examples/examples/metrics.rs#L3
error: unused import: `CachePolicy`
--> examples/examples/metrics.rs:3:33
|
3 | use hitbox::{hitbox_serializer, CachePolicy, Cacheable, CacheableResponse};
| ^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
|
unresolved import `metrics_exporter_prometheus`:
examples/examples/metrics.rs#L5
error[E0432]: unresolved import `metrics_exporter_prometheus`
--> examples/examples/metrics.rs:5:5
|
5 | use metrics_exporter_prometheus::PrometheusBuilder;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `metrics_exporter_prometheus`
|
unresolved import `hitbox_actix`:
examples/examples/metrics.rs#L4
error[E0432]: unresolved import `hitbox_actix`
--> examples/examples/metrics.rs:4:5
|
4 | use hitbox_actix::{Cache, CacheError, IntoCache};
| ^^^^^^^^^^^^ use of undeclared crate or module `hitbox_actix`
|
help: there is a crate or module with a similar name
|
4 | use hitbox_redis::{Cache, CacheError, IntoCache};
| ~~~~~~~~~~~~
|
unresolved import `actix_derive`:
examples/examples/metrics.rs#L2
error[E0432]: unresolved import `actix_derive`
--> examples/examples/metrics.rs:2:5
|
2 | use actix_derive::MessageResponse;
| ^^^^^^^^^^^^ use of undeclared crate or module `actix_derive`
|
unresolved imports `hitbox::hitbox_serializer`, `hitbox::Cacheable`:
examples/examples/metrics.rs#L3
error[E0432]: unresolved imports `hitbox::hitbox_serializer`, `hitbox::Cacheable`
--> examples/examples/metrics.rs:3:14
|
3 | use hitbox::{hitbox_serializer, CachePolicy, Cacheable, CacheableResponse};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ no `Cacheable` in the root
| |
| no `hitbox_serializer` in the root
|
= help: consider importing one of these items instead:
crate::CachePolicy::Cacheable
hitbox::CachePolicy::Cacheable
hitbox::predicate::PredicateResult::Cacheable
|
security_audit
Critical vulnerabilities were found, marking check as failed
|
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
security_audit
1 vulnerabilities found!
|