Merge pull request #7 from marcplustwo/main #16
build.yml
on: push
static-analysis
30s
build
1m 45s
Annotations
17 warnings
the borrowed expression implements the required traits:
src/lib.rs#L234
warning: the borrowed expression implements the required traits
--> src/lib.rs:234:48
|
234 | .make_json_request(self.client.get(&format!(
| ________________________________________________^
235 | | "https://api.notion.com/v1/blocks/{block_id}/children",
236 | | block_id = block_id.as_id()
237 | | )))
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
help: change this to
|
234 ~ .make_json_request(self.client.get(format!(
235 + "https://api.notion.com/v1/blocks/{block_id}/children",
236 + block_id = block_id.as_id()
237 ~ )))
|
|
the borrowed expression implements the required traits:
src/lib.rs#L216
warning: the borrowed expression implements the required traits
--> src/lib.rs:216:27
|
216 | .post(&format!(
| ___________________________^
217 | | "https://api.notion.com/v1/databases/{database_id}/query",
218 | | database_id = database.as_id()
219 | | ))
| |_____________________^
|
= 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
|
216 ~ .post(format!(
217 + "https://api.notion.com/v1/databases/{database_id}/query",
218 + database_id = database.as_id()
219 ~ ))
|
|
static-analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
static-analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, Swatinem/rust-cache@v1.2.0, 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/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, Swatinem/rust-cache@v1.2.0, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The `save-state` 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/
|
build
The `save-state` 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/
|
build
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/
|
build:
tests/workspace_search.rs#L10
use of deprecated method `rusticnotion::NotionApi::list_databases`: This method is deprecated. Please use `search()` with a filter on databases instead.
|
build
`rusticnotion` (test "workspace_search") generated 1 warning
|
build:
tests/workspace_search.rs#L10
use of deprecated method `rusticnotion::NotionApi::list_databases`: This method is deprecated. Please use `search()` with a filter on databases instead.
|
build
`rusticnotion` (test "workspace_search") generated 1 warning
|
build:
src/models/text.rs#L67
this URL is not a hyperlink
|
build:
src/lib.rs#L20
redundant explicit link target
|
build:
src/lib.rs#L129
redundant explicit link target
|
build
`rusticnotion` (lib doc) generated 3 warnings (run `cargo fix --lib -p rusticnotion` to apply 1 suggestion)
|