Tower #296
CI.yml
on: pull_request
Matrix: check
clippy
1m 59s
Matrix: test
Annotations
10 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`
|
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
|
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/
|