ci: Use more sophisticated cache action #50
Merged
Annotations
4 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/trigger.rs#L50
[clippy] reported by reviewdog 🐶
warning: fields `force_envs` and `deps` are never read
--> src/trigger.rs:56:5
|
50 | pub struct Trigger {
| ------- fields in this struct
...
56 | force_envs: Vec<OsEnv>,
| ^^^^^^^^^^
...
59 | deps: Vec<String>,
| ^^^^
|
= note: `Trigger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
Raw Output:
src/trigger.rs:50:12:w:warning: fields `force_envs` and `deps` are never read
--> src/trigger.rs:56:5
|
50 | pub struct Trigger {
| ------- fields in this struct
...
56 | force_envs: Vec<OsEnv>,
| ^^^^^^^^^^
...
59 | deps: Vec<String>,
| ^^^^
|
= note: `Trigger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
__END__
|
src/bin/usysconf/pathtimes.rs#L12
[clippy] reported by reviewdog 🐶
warning: field `map` is never read
--> src/bin/usysconf/pathtimes.rs:13:5
|
12 | pub struct PathTimes {
| --------- field in this struct
13 | map: HashMap<Path, Mtime>,
| ^^^
|
= note: `#[warn(dead_code)]` on by default
Raw Output:
src/bin/usysconf/pathtimes.rs:12:12:w:warning: field `map` is never read
--> src/bin/usysconf/pathtimes.rs:13:5
|
12 | pub struct PathTimes {
| --------- field in this struct
13 | map: HashMap<Path, Mtime>,
| ^^^
|
= note: `#[warn(dead_code)]` on by default
__END__
|
src/bin/usysconf/pathtimes.rs#L16
[clippy] reported by reviewdog 🐶
warning: associated items `new`, `update`, `get`, and `save` are never used
--> src/bin/usysconf/pathtimes.rs:17:12
|
16 | impl PathTimes {
| -------------- associated items in this implementation
17 | pub fn new(source: impl Read) -> Result<Self, bincode::Error> {
| ^^^
...
23 | pub fn update(&mut self, path: Path, mtime: Mtime) {
| ^^^^^^
...
27 | pub fn get(&self, path: &Path) -> Option<Mtime> {
| ^^^
...
31 | pub fn save(&mut self, writer: impl Write) -> Result<(), bincode::Error> {
| ^^^^
Raw Output:
src/bin/usysconf/pathtimes.rs:16:1:w:warning: associated items `new`, `update`, `get`, and `save` are never used
--> src/bin/usysconf/pathtimes.rs:17:12
|
16 | impl PathTimes {
| -------------- associated items in this implementation
17 | pub fn new(source: impl Read) -> Result<Self, bincode::Error> {
| ^^^
...
23 | pub fn update(&mut self, path: Path, mtime: Mtime) {
| ^^^^^^
...
27 | pub fn get(&self, path: &Path) -> Option<Mtime> {
| ^^^
...
31 | pub fn save(&mut self, writer: impl Write) -> Result<(), bincode::Error> {
| ^^^^
__END__
|
This job succeeded
Loading