Fix CI #14
Annotations
10 errors and 15 warnings
redundant pattern matching, consider using `is_err()`:
crates/relayer/src/chain.rs#L69
error: redundant pattern matching, consider using `is_err()`
--> crates/relayer/src/chain.rs:69:17
|
69 | assert!(matches!(parse("hello-world"), Err(_)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `parse("hello-world").is_err()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
= note: `#[deny(clippy::redundant_pattern_matching)]` implied by `#[deny(warnings)]`
|
this `if` branch is empty:
crates/relayer/src/chain/cosmos.rs#L572
error: this `if` branch is empty
--> crates/relayer/src/chain/cosmos.rs:572:9
|
572 | if prove {}
| ^^^^^^^^^^^ help: you can remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
= note: `#[deny(clippy::needless_if)]` implied by `#[deny(warnings)]`
|
this `if` branch is empty:
crates/relayer/src/chain/cosmos.rs#L572
error: this `if` branch is empty
--> crates/relayer/src/chain/cosmos.rs:572:9
|
572 | if prove {}
| ^^^^^^^^^^^ help: you can remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
= note: `#[deny(clippy::needless_if)]` implied by `#[deny(warnings)]`
|
unnecessary hashes around raw string literal:
crates/relayer/src/error.rs#L764
error: unnecessary hashes around raw string literal
--> crates/relayer/src/error.rs:764:20
|
764 | Regex::new(r#"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"#)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_raw_string_hashes)]` implied by `#[deny(warnings)]`
|
unnecessary hashes around raw string literal:
crates/relayer/src/error.rs#L764
error: unnecessary hashes around raw string literal
--> crates/relayer/src/error.rs:764:20
|
764 | Regex::new(r#"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"#)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_raw_string_hashes)]` implied by `#[deny(warnings)]`
|
redundant pattern matching, consider using `is_err()`:
crates/relayer/src/chain.rs#L69
error: redundant pattern matching, consider using `is_err()`
--> crates/relayer/src/chain.rs:69:17
|
69 | assert!(matches!(parse("hello-world"), Err(_)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `parse("hello-world").is_err()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
= note: `#[deny(clippy::redundant_pattern_matching)]` implied by `#[deny(warnings)]`
|
this `if` branch is empty:
crates/relayer/src/chain/cosmos.rs#L572
error: this `if` branch is empty
--> crates/relayer/src/chain/cosmos.rs:572:9
|
572 | if prove {}
| ^^^^^^^^^^^ help: you can remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
= note: `#[deny(clippy::needless_if)]` implied by `#[deny(warnings)]`
|
this `if` branch is empty:
crates/relayer/src/chain/cosmos.rs#L572
error: this `if` branch is empty
--> crates/relayer/src/chain/cosmos.rs:572:9
|
572 | if prove {}
| ^^^^^^^^^^^ help: you can remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
= note: `#[deny(clippy::needless_if)]` implied by `#[deny(warnings)]`
|
unnecessary hashes around raw string literal:
crates/relayer/src/error.rs#L764
error: unnecessary hashes around raw string literal
--> crates/relayer/src/error.rs:764:20
|
764 | Regex::new(r#"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"#)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_raw_string_hashes)]` implied by `#[deny(warnings)]`
|
unnecessary hashes around raw string literal:
crates/relayer/src/error.rs#L764
error: unnecessary hashes around raw string literal
--> crates/relayer/src/error.rs:764:20
|
764 | Regex::new(r#"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"#)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"account sequence mismatch, expected (?P<expected>\d+), got (?P<got>\d+)"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_raw_string_hashes)]` implied by `#[deny(warnings)]`
|
cargo-doc
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/
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
output filename collision.
|
cargo-doc
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/
|
cargo-doc
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/
|
cargo-doc
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/
|
cargo-doc
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/
|