Skip to content

Tower

Tower #297

Triggered via pull request August 27, 2023 12:42
@AndreyErmilovAndreyErmilov
synchronize #83
tower
Status Failure
Total duration 2m 44s
Artifacts

CI.yml

on: pull_request
Matrix: check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 16 warnings
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`
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`
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`
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
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; |
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::*; | ~~~~~~~~~~~~
clippy
Clippy had exited with the 101 exit code
check (1.60.0)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
check (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (stable)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-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/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (1.60.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check (1.60.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (1.60.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (1.60.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check (1.60.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/