Update to Abstract 0.25 #37
check.yml
on: pull_request
stable / fmt
9s
nightly / doc
4m 56s
ubuntu / stable / features
5m 45s
Matrix: clippy
Matrix: msrv
Annotations
17 errors and 4 warnings
stable / fmt
Process completed with exit code 1.
|
ubuntu / 1.72.0
Process completed with exit code 101.
|
the following explicit lifetimes could be elided: 'a:
packages/ibcmail/src/server/api.rs#L60
error: the following explicit lifetimes could be elided: 'a
--> packages/ibcmail/src/server/api.rs:60:6
|
60 | impl<'a, T: ServerInterface> MailServer<'a, T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
60 - impl<'a, T: ServerInterface> MailServer<'a, T> {
60 + impl<T: ServerInterface> MailServer<'_, T> {
|
|
the following explicit lifetimes could be elided: 'a:
packages/ibcmail/src/server/api.rs#L38
error: the following explicit lifetimes could be elided: 'a
--> packages/ibcmail/src/server/api.rs:38:6
|
38 | impl<'a, T: ServerInterface> MailServer<'a, T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
38 - impl<'a, T: ServerInterface> MailServer<'a, T> {
38 + impl<T: ServerInterface> MailServer<'_, T> {
|
|
the following explicit lifetimes could be elided: 'a:
packages/ibcmail/src/client/api.rs#L32
error: the following explicit lifetimes could be elided: 'a
--> packages/ibcmail/src/client/api.rs:32:6
|
32 | impl<'a, T: ClientInterface> MailClient<'a, T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
32 - impl<'a, T: ClientInterface> MailClient<'a, T> {
32 + impl<T: ClientInterface> MailClient<'_, T> {
|
|
elided lifetime has a name:
packages/ibcmail/src/server/api.rs#L20
error: elided lifetime has a name
--> packages/ibcmail/src/server/api.rs:20:63
|
20 | fn mail_server<'a>(&'a self, deps: Deps<'a>) -> MailServer<Self> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
|
elided lifetime has a name:
packages/ibcmail/src/client/api.rs#L14
error: elided lifetime has a name
--> packages/ibcmail/src/client/api.rs:14:63
|
14 | fn mail_client<'a>(&'a self, deps: Deps<'a>) -> MailClient<Self> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
|
= note: `-D elided-named-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(elided_named_lifetimes)]`
|
beta / clippy
Clippy had exited with the 101 exit code
|
function `update_ibc_host` is never used:
tests/src/bin/full_demo.rs#L112
error: function `update_ibc_host` is never used
--> tests/src/bin/full_demo.rs:112:4
|
112 | fn update_ibc_host<Env: CwEnv>(vc: &Registry<Env>) -> anyhow::Result<()> {
| ^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
unused variable: `app`:
tests/src/bin/full_demo.rs#L88
error: unused variable: `app`
--> tests/src/bin/full_demo.rs:88:9
|
88 | let app = dst_acc.application::<ClientInterface<_>>()?;
| ^^^ help: if this is intentional, prefix it with an underscore: `_app`
|
unused variable: `src_client`:
tests/src/bin/full_demo.rs#L75
error: unused variable: `src_client`
--> tests/src/bin/full_demo.rs:75:9
|
75 | let src_client = src_acc.application::<ClientInterface<_>>()?;
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_client`
|
unused variable: `app`:
tests/src/bin/full_demo.rs#L73
error: unused variable: `app`
--> tests/src/bin/full_demo.rs:73:9
|
73 | let app = src_acc.application::<ClientInterface<_>>()?;
| ^^^ help: if this is intentional, prefix it with an underscore: `_app`
|
unused variable: `rt`:
tests/src/bin/full_demo.rs#L31
error: unused variable: `rt`
--> tests/src/bin/full_demo.rs:31:9
|
31 | let rt = Runtime::new()?;
| ^^ help: if this is intentional, prefix it with an underscore: `_rt`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
unused import: `std::registry::QueryMsgFns`:
tests/src/bin/demo.rs#L4
error: unused import: `std::registry::QueryMsgFns`
--> tests/src/bin/demo.rs:4:5
|
4 | std::registry::QueryMsgFns,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
unused import: `environment::TxHandler`:
tests/src/bin/approve.rs#L16
error: unused import: `environment::TxHandler`
--> tests/src/bin/approve.rs:16:5
|
16 | environment::TxHandler,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
stable / clippy
Clippy had exited with the 101 exit code
|
ubuntu / stable / features
Process completed with exit code 1.
|
beta / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
beta / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|