Skip to content

Tracks ibc-rs changes up to v0.49.1 #437

Tracks ibc-rs changes up to v0.49.1

Tracks ibc-rs changes up to v0.49.1 #437

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Jan 4, 2024 in 1s

clippy

14 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 14
Warning 0
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 165 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:165:34
    |
165 |             "upgrade".to_owned().try_into().unwrap()
    |                                  ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 153 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:153:34
    |
153 |             "staking".to_owned().try_into().unwrap()
    |                                  ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 141 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:141:30
    |
141 |             "gov".to_owned().try_into().unwrap()
    |                              ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 129 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:129:31
    |
129 |             "auth".to_owned().try_into().unwrap()
    |                               ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 117 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:117:30
    |
117 |             "ibc".to_owned().try_into().unwrap()
    |                              ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 105 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:105:31
    |
105 |             "bank".to_owned().try_into().unwrap()
    |                               ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
    = note: `#[deny(clippy::unnecessary_fallible_conversions)]` implied by `#[deny(warnings)]`

Check failure on line 165 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:165:34
    |
165 |             "upgrade".to_owned().try_into().unwrap()
    |                                  ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 153 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:153:34
    |
153 |             "staking".to_owned().try_into().unwrap()
    |                                  ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 141 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:141:30
    |
141 |             "gov".to_owned().try_into().unwrap()
    |                              ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 129 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:129:31
    |
129 |             "auth".to_owned().try_into().unwrap()
    |                               ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 117 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:117:30
    |
117 |             "ibc".to_owned().try_into().unwrap()
    |                              ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 105 in crates/app/src/modules/context.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used
   --> crates/app/src/modules/context.rs:105:31
    |
105 |             "bank".to_owned().try_into().unwrap()
    |                               ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
    = note: `#[deny(clippy::unnecessary_fallible_conversions)]` implied by `#[deny(warnings)]`

Check failure on line 7 in crates/app/src/modules/ibc/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `client_contexts::*`

error: unused import: `client_contexts::*`
 --> crates/app/src/modules/ibc/mod.rs:7:9
  |
7 | pub use client_contexts::*;
  |         ^^^^^^^^^^^^^^^^^^
  |
note: the lint level is defined here
 --> crates/app/src/lib.rs:3:5
  |
3 |     warnings,
  |     ^^^^^^^^
  = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`

Check failure on line 7 in crates/app/src/modules/ibc/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `client_contexts::*`

error: unused import: `client_contexts::*`
 --> crates/app/src/modules/ibc/mod.rs:7:9
  |
7 | pub use client_contexts::*;
  |         ^^^^^^^^^^^^^^^^^^
  |
note: the lint level is defined here
 --> crates/app/src/lib.rs:3:5
  |
3 |     warnings,
  |     ^^^^^^^^
  = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`