Merge pull request #210 from FrancisRussell/dependabot/github_actions… #1228
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/download-artifact@v3, ./. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Cargo clippy:
src/node/fs.rs#L330
warning: the item `JsValue` is imported redundantly
--> src/node/fs.rs:330:9
|
329 | use wasm_bindgen::prelude::*;
| ------------------------ the item `JsValue` is already imported here
330 | use wasm_bindgen::JsValue;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Cargo clippy:
src/actions/cache.rs#L4
warning: the item `Into` is imported redundantly
--> src/actions/cache.rs:4:5
|
4 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
Cargo clippy:
src/actions/tool_cache.rs#L5
warning: the item `Into` is imported redundantly
--> src/actions/tool_cache.rs:5:5
|
5 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
Cargo clippy:
src/cargo_hooks/install.rs#L54
warning: use of deprecated function `shlex::quote`: replace with `try_quote(str)?` to avoid nul byte danger
--> src/cargo_hooks/install.rs:54:39
|
54 | arg_string += &shlex::quote(arg);
| ^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Cargo clippy:
src/node/fs.rs#L257
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/node/fs.rs:257:36
|
257 | let naive = NaiveDateTime::from_timestamp_opt(secs, subsec_nanos).expect("File time out of bounds");
| ^^^^^^^^^^^^^^^^^^
|
Cargo clippy:
src/node/fs.rs#L258
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> src/node/fs.rs:258:19
|
258 | DateTime::from_utc(naive, Utc)
| ^^^^^^^^
|
Cargo clippy:
src/cargo.rs#L70
warning: method `get_installed` is never used
--> src/cargo.rs:70:18
|
53 | impl Cargo {
| ---------- method in this implementation
...
70 | pub async fn get_installed(&self) -> Result<Vec<String>, Error> {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Cargo clippy:
src/cargo_lock_hashing.rs#L32
warning: field `num_files` is never read
--> src/cargo_lock_hashing.rs:32:9
|
31 | pub struct HashInfo {
| -------- field in this struct
32 | pub num_files: usize,
| ^^^^^^^^^
|
= note: `HashInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
|
Cargo clippy:
src/cache_cargo_home.rs#L85
warning: field name starts with the struct's name
--> src/cache_cargo_home.rs:85:5
|
85 | cache_type: CacheType,
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names
note: the lint level is defined here
--> src/lib.rs:1:9
|
1 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::struct_field_names)]` implied by `#[warn(clippy::pedantic)]`
|
Cargo clippy:
src/error.rs#L11
warning: variant name ends with the enum's name
--> src/error.rs:11:5
|
11 | OptionParseError(String, String),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
The logs for this run have expired and are no longer available.
Loading