misc: Update flake #261
Annotations
8 warnings
the borrowed expression implements the required traits:
src/disk.rs#L55
warning: the borrowed expression implements the required traits
--> src/disk.rs:55:53
|
55 | let target = pathdiff::diff_paths(&destination, &source.parent().unwrap()).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `source.parent().unwrap()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
src/disk.rs#L55
warning: the borrowed expression implements the required traits
--> src/disk.rs:55:39
|
55 | let target = pathdiff::diff_paths(&destination, &source.parent().unwrap()).unwrap();
| ^^^^^^^^^^^^ help: change this to: `destination`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`:
src/disk.rs#L42
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> src/disk.rs:42:9
|
42 | / match fs::create_dir_all(parent) {
43 | | Err(err) => {
44 | | error!("Couldn't create folder {}: {}", parent.display(), err);
45 | | }
46 | | Ok(()) => (),
47 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
help: try
|
42 ~ if let Err(err) = fs::create_dir_all(parent) {
43 + error!("Couldn't create folder {}: {}", parent.display(), err);
44 + }
|
|
Rust project
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust project
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/
|
Rust project
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/
|
Rust project
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/
|
Rust project
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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
code-coverage-report
Expired
|
1.58 KB |
|