More updates. #205
Annotations
15 warnings
use of a fallible conversion when an infallible one could be used:
src/site/weasyl.rs#L233
warning: use of a fallible conversion when an infallible one could be used
--> src/site/weasyl.rs:233:14
|
233 | .try_into()
| ______________^
234 | | .expect("sha256 was wrong length");
| |______________________________________________^ help: use: `into()`
|
= 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:
src/site/twitter.rs#L1041
warning: use of a fallible conversion when an infallible one could be used
--> src/site/twitter.rs:1041:10
|
1041 | .try_into()
| __________^
1042 | | .expect("sha256 was wrong length");
| |__________________________________________^ help: use: `into()`
|
= 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:
src/site/twitter.rs#L476
warning: use of a fallible conversion when an infallible one could be used
--> src/site/twitter.rs:476:14
|
476 | .try_into()
| ______________^
477 | | .expect("sha256 was wrong length");
| |______________________________________________^ help: use: `into()`
|
= 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:
src/site/reddit.rs#L355
warning: use of a fallible conversion when an infallible one could be used
--> src/site/reddit.rs:355:24
|
355 | sha.finalize().try_into().expect("sha256 was wrong length"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `into()`
|
= 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:
src/site/flist.rs#L322
warning: use of a fallible conversion when an infallible one could be used
--> src/site/flist.rs:322:10
|
322 | .try_into()
| __________^
323 | | .expect("sha256 was wrong length");
| |__________________________________________^ help: use: `into()`
|
= 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:
src/site/deviantart.rs#L309
warning: use of a fallible conversion when an infallible one could be used
--> src/site/deviantart.rs:309:10
|
309 | .try_into()
| __________^
310 | | .expect("sha256 was wrong length");
| |__________________________________________^ help: use: `into()`
|
= 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:
src/site/bsky.rs#L141
warning: use of a fallible conversion when an infallible one could be used
--> src/site/bsky.rs:141:14
|
141 | .try_into()
| ______________^
142 | | .expect("sha256 was wrong length");
| |______________________________________________^ help: use: `into()`
|
= 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:
src/common.rs#L534
warning: use of a fallible conversion when an infallible one could be used
--> src/common.rs:534:14
|
534 | .try_into()
| ______________^
535 | | .expect("sha256 hash was wrong size");
| |_________________________________________________^ help: use: `into()`
|
= 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:
src/admin.rs#L102
warning: use of a fallible conversion when an infallible one could be used
--> src/admin.rs:102:26
|
102 | sha256: Some(sha.try_into().expect("sha256 was wrong length")),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `into()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default
|
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, Swatinem/rust-cache@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_check
The `save-state` 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_check
The `save-state` 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_check
The `save-state` 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_check
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/
|