chore(cargo): update crate versions to 1.7.0 #5488
Annotations
10 errors and 5 warnings
use of a fallible conversion when an infallible one could be used:
rad/src/types/map.rs#L95
error: use of a fallible conversion when an infallible one could be used
--> rad/src/types/map.rs:95:25
|
95 | Value::try_from(key.to_string()),
| ^^^^^^^^^^^^^^^ help: use: `From::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
|
use of a fallible conversion when an infallible one could be used:
rad/src/operators/map.rs#L134
error: use of a fallible conversion when an infallible one could be used
--> rad/src/operators/map.rs:134:25
|
134 | let args = vec![Value::try_from(String::from(key)).unwrap()];
| ^^^^^^^^^^^^^^^ help: use: `From::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]`
|
accessing first element with `args.get(0)`:
rad/src/operators/array.rs#L170
error: accessing first element with `args.get(0)`
--> rad/src/operators/array.rs:170:21
|
170 | let first_arg = args.get(0).ok_or_else(wrong_args)?;
| ^^^^^^^^^^^ help: try: `args.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-D clippy::get-first` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::get_first)]`
|
use of a fallible conversion when an infallible one could be used:
rad/src/types/map.rs#L95
error: use of a fallible conversion when an infallible one could be used
--> rad/src/types/map.rs:95:25
|
95 | Value::try_from(key.to_string()),
| ^^^^^^^^^^^^^^^ help: use: `From::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]`
|
accessing first element with `args.get(0)`:
rad/src/operators/array.rs#L170
error: accessing first element with `args.get(0)`
--> rad/src/operators/array.rs:170:21
|
170 | let first_arg = args.get(0).ok_or_else(wrong_args)?;
| ^^^^^^^^^^^ help: try: `args.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-D clippy::get-first` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::get_first)]`
|
accessing first element with `input.get(0)`:
data_structures/src/chain/priority.rs#L855
error: accessing first element with `input.get(0)`
--> data_structures/src/chain/priority.rs:855:35
|
855 | assert_eq!(engine.get(0), input.get(0));
| ^^^^^^^^^^^^ help: try: `input.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-D clippy::get-first` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::get_first)]`
|
build_ubuntu
could not compile `witnet_data_structures` (lib test) due to 2 previous errors
|
build_ubuntu
could not compile `witnet_rad` (lib) due to 3 previous errors
|
build_ubuntu
could not compile `witnet_rad` (lib test) due to 4 previous errors
|
build_ubuntu
Clippy had exited with the 101 exit code
|
build_ubuntu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@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/
|
build_ubuntu
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/
|
build_ubuntu
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/
|
build_ubuntu
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/
|
build_ubuntu
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/
|