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

Update Rust crate serde_yaml to 0.9.0 #325

Update Rust crate serde_yaml to 0.9.0

Update Rust crate serde_yaml to 0.9.0 #325

Triggered via push May 5, 2024 11:17
Status Failure
Total duration 1m 49s
Artifacts

gh-pages.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
Publish
Process completed with exit code 101.
the loop variable `i` is used to index `repositories`: src/main.rs#L116
warning: the loop variable `i` is used to index `repositories` --> src/main.rs:116:14 | 116 | for i in 0..repositories.len() { | ^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop = note: `#[warn(clippy::needless_range_loop)]` on by default help: consider using an iterator and enumerate() | 116 | for (i, <item>) in repositories.iter().enumerate() { | ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unneeded late initialization: src/main.rs#L87
warning: unneeded late initialization --> src/main.rs:87:13 | 87 | let open_issues_count; | ^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init help: declare `open_issues_count` here | 88 | let open_issues_count = match repository.has_issues.unwrap() { | +++++++++++++++++++++++ help: remove the assignments from the `match` arms | 90 ~ repository.open_issues_count.unwrap() 91 | } 92 | false => { 93 ~ 0 | help: add a semicolon after the `match` expression | 95 | }; | +
unneeded late initialization: src/main.rs#L77
warning: unneeded late initialization --> src/main.rs:77:13 | 77 | let description; | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init help: declare `description` here | 78 | let description = match repository.description { | +++++++++++++++++ help: remove the assignments from the `match` arms | 80 ~ gh_description 81 | } 82 | None => { 83 ~ String::new() | help: add a semicolon after the `match` expression | 85 | }; | +
unneeded late initialization: src/main.rs#L39
warning: unneeded late initialization --> src/main.rs:39:5 | 39 | let octocrab; | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init = note: `#[warn(clippy::needless_late_init)]` on by default help: declare `octocrab` here | 40 | let octocrab = match fs::read_to_string("./token.txt") { | ++++++++++++++ help: remove the assignments from the `match` arms | 42 ~ octocrab::OctocrabBuilder::new() 43 | .personal_token(fs::read_to_string("./token.txt").unwrap()) 44 | .build() 45 ~ .unwrap() 46 | } 47 | Err(_) => { 48 ~ octocrab::OctocrabBuilder::new().build().unwrap() | help: add a semicolon after the `match` expression | 50 | }; | +
Publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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/.
Publish
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/
Publish
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/
Publish
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/
Publish
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/
Publish
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/
Publish
unused manifest key: registries