This repository was archived by the owner on Oct 10, 2024. It is now read-only.
Update Rust crate miette to v7 #1138
Annotations
17 warnings
called `unwrap` on `ignore_git_folder` after checking its variant with `is_ok`:
src/main.rs#L166
warning: called `unwrap` on `ignore_git_folder` after checking its variant with `is_ok`
--> src/main.rs:166:3
|
165 | if ignore_git_folder.is_ok() {
| ---------------------------- help: try: `if let Ok(..) = ignore_git_folder`
166 | ignore_git_folder.unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
|
called `unwrap` on `ignore_output_folder` after checking its variant with `is_ok`:
src/main.rs#L160
warning: called `unwrap` on `ignore_output_folder` after checking its variant with `is_ok`
--> src/main.rs:160:3
|
159 | if ignore_output_folder.is_ok() {
| ------------------------------- help: try: `if let Ok(..) = ignore_output_folder`
160 | ignore_output_folder.unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
|
unexpected `cfg` condition value: `dox`:
src/main.rs#L17
warning: unexpected `cfg` condition value: `dox`
--> src/main.rs:17:13
|
17 | #![cfg_attr(feature = "dox", feature(doc_cfg))]
| ^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `dox` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
the borrowed expression implements the required traits:
src/lib.rs#L773
warning: the borrowed expression implements the required traits
--> src/lib.rs:773:6
|
773 | / &fs::read_to_string(path)
774 | | .into_diagnostic()
775 | | .wrap_err(format!("Unable to read snippet file '{}'.", path.display()))
776 | | .unwrap(),
| |_________________________________^
|
= 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
help: change this to
|
773 ~ fs::read_to_string(path)
774 ~ .into_diagnostic()
775 ~ .wrap_err(format!("Unable to read snippet file '{}'.", path.display()))
776 ~ .unwrap(),
|
|
this function has too many arguments (10/7):
src/lib.rs#L212
warning: this function has too many arguments (10/7)
--> src/lib.rs:212:2
|
212 | Constructor,
| ^----------
| |
| _____in this derive macro expansion
| |
213 | | )]
214 | | /// Generated data regarding a Mokk file
215 | | pub struct Page {
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the derive macro `Constructor` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this function has too many arguments (19/7):
src/lib.rs#L61
warning: this function has too many arguments (19/7)
--> src/lib.rs:61:2
|
61 | Constructor,
| ^----------
| |
| _____in this derive macro expansion
| |
62 | | )]
63 | | /// A Mokk file's date-time metadata
64 | | pub struct Date {
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
= note: this warning originates in the derive macro `Constructor` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "x86_64-dokkoo.win32".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Windows (x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Windows (x86_64)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Windows (x86_64)
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/
|
Windows (x86_64)
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/
|
Windows (x86_64)
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/
|
Windows (x86_64)
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/
|
Windows (x86_64)
`D:\a\dokkoo\dokkoo\.cargo\config` is deprecated in favor of `config.toml`
|
Windows (x86_64)
unused manifest key: registries
|
Windows (x86_64):
src/main.rs#L17
unexpected `cfg` condition value: `dox`
|
Windows (x86_64)
`dokkoo` (bin "dokkoo") generated 1 warning
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
x86_64-dokkoo.win32
Expired
|
26.2 MB |
|