Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Update Rust crate chrono to 0.4.37 #1006

Update Rust crate chrono to 0.4.37

Update Rust crate chrono to 0.4.37 #1006

Triggered via push March 27, 2024 13:33
Status Failure
Total duration 1m 30s
Artifacts

lint_code.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 22 warnings
Lint codebase
failed to push some refs to 'https://github.com/Dirout/dokkoo'
Lint codebase
Process completed with exit code 1.
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
assigning the result of `ToOwned::to_owned()` may be inefficient: src/lib.rs#L745
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/lib.rs:745:3 | 745 | frontmatter = "empty: true".to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `"empty: true".clone_into(&mut frontmatter)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `#[warn(clippy::assigning_clones)]` on by default
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)
the item `TryFrom` is imported redundantly: src/lib.rs#L36
warning: the item `TryFrom` is imported redundantly --> src/lib.rs:36:5 | 36 | use std::convert::TryFrom; | ^^^^^^^^^^^^^^^^^^^^^ --> /rustc/47ecded3525392b77843534bed69b4302f9af8d2/library/std/src/prelude/mod.rs:129:13 | = note: the item `TryFrom` is already defined here | = note: `#[warn(unused_imports)]` on by default
Lint codebase
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint codebase
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/
Lint codebase
`/home/runner/work/dokkoo/dokkoo/.cargo/config` is deprecated in favor of `config.toml`
Lint codebase
`/home/runner/work/dokkoo/dokkoo/.cargo/config` is deprecated in favor of `config.toml`
Lint codebase
unused manifest key: registries
Lint codebase: src/lib.rs#L36
the item `TryFrom` is imported redundantly
Lint codebase: src/lib.rs#L61
this function has too many arguments (19/7)
Lint codebase: src/lib.rs#L212
this function has too many arguments (10/7)
Lint codebase
`dokkoo` (lib) generated 3 warnings
Lint codebase: src/main.rs#L160
called `unwrap` on `ignore_output_folder` after checking its variant with `is_ok`
Lint codebase: src/main.rs#L166
called `unwrap` on `ignore_git_folder` after checking its variant with `is_ok`
Lint codebase
`dokkoo` (bin "dokkoo" test) generated 2 warnings
Lint codebase
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/
Lint codebase
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/
Lint codebase
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/
Lint codebase
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/