Feat/create issue v2 buttondown #89
test.yml
on: pull_request
test-node
38s
test-rust
1m 49s
Annotations
9 warnings
|
this function has too many arguments (9/7):
functions/create-issue/src/template.rs#L100
warning: this function has too many arguments (9/7)
--> functions/create-issue/src/template.rs:100:5
|
100 | / pub fn render_newsletter(
101 | | &self,
102 | | issue_number: u32,
103 | | quote: &Quote,
... |
109 | | sponsor: Option<&Sponsor>,
110 | | ) -> Result<String> {
| |_______________________^
|
= 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
|
|
manual implementation of an assign operation:
functions/create-issue/src/datetime_utils.rs#L31
warning: manual implementation of an assign operation
--> functions/create-issue/src/datetime_utils.rs:31:9
|
31 | target = target + Duration::days(1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `target += Duration::days(1)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
= note: `#[warn(clippy::assign_op_pattern)]` on by default
|
|
field `url` is never read:
functions/fetch-quote/src/models.rs#L27
warning: field `url` is never read
--> functions/fetch-quote/src/models.rs:27:9
|
23 | pub struct InputQuote {
| ---------- field in this struct
...
27 | pub url: String,
| ^^^
|
|
fields `id` and `url` are never read:
functions/fetch-quote/src/models.rs#L15
warning: fields `id` and `url` are never read
--> functions/fetch-quote/src/models.rs:15:9
|
14 | pub struct Author {
| ------ fields in this struct
15 | pub id: String,
| ^^
...
19 | pub url: String,
| ^^^
|
|
fields `all`, `first`, `last`, and `url_prefix` are never read:
functions/fetch-quote/src/models.rs#L6
warning: fields `all`, `first`, `last`, and `url_prefix` are never read
--> functions/fetch-quote/src/models.rs:6:9
|
4 | pub struct Stats {
| ----- fields in this struct
5 | pub total: u32,
6 | pub all: String,
| ^^^
7 | pub first: String,
| ^^^^^
8 | pub last: String,
| ^^^^
9 | #[serde(rename = "urlPrefix")]
10 | pub url_prefix: String,
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
|
test-rust
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/
|
|
test-rust
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/
|
|
test-rust
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/
|
|
test-rust
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/
|