Merge pull request #1 from snuna/fix/list-databases #2
build.yml
on: push
static-analysis
34s
build
1m 30s
Annotations
17 warnings
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true:
src/models/block.rs#L465
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> src/models/block.rs:465:1
|
465 | impl Into<CreateBlock> for Block {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
= note: `#[warn(clippy::from_over_into)]` on by default
help: replace the `Into` implementation with `From<models::block::Block>`
|
465 ~ impl From<Block> for CreateBlock {
466 ~ fn from(val: Block) -> Self {
467 ~ match val {
|
|
method `expect_databases` is never used:
src/models/mod.rs#L101
warning: method `expect_databases` is never used
--> src/models/mod.rs:101:19
|
83 | impl ListResponse<Object> {
| ------------------------- method in this implementation
...
101 | pub(crate) fn expect_databases(self) -> Result<ListResponse<Database>, crate::Error> {
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
static-analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, Swatinem/rust-cache@v1.2.0, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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 `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:
src/models/mod.rs#L101
method `expect_databases` is never used
|
build
`notion` (lib) generated 1 warning
|
build:
src/models/mod.rs#L101
method `expect_databases` is never used
|
build
`notion` (lib) generated 1 warning
|
build:
src/models/text.rs#L64
this URL is not a hyperlink
|
build:
src/lib.rs#L20
redundant explicit link target
|
build:
src/lib.rs#L130
redundant explicit link target
|
build
`notion` (lib doc) generated 3 warnings (run `cargo fix --lib -p notion` to apply 1 suggestion)
|