fix(deps): update rust crate serde to 1.0.188 #666
ci.yml
on: pull_request
Annotations
24 warnings
useless conversion to the same type: `std::net::TcpListener`:
src/server.rs#L13
warning: useless conversion to the same type: `std::net::TcpListener`
--> src/server.rs:13:47
|
13 | tokio::net::TcpListener::from_std(listener.into()).unwrap(),
| ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `listener`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
the borrowed expression implements the required traits:
src/routes/posts.rs#L52
warning: the borrowed expression implements the required traits
--> src/routes/posts.rs:52:36
|
52 | res.render(Redirect::other(&format!(
| ____________________________________^
53 | | "/posts/{}/{}",
54 | | normalized_slug, attachment_name
55 | | )));
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
help: change this to
|
52 ~ res.render(Redirect::other(format!(
53 + "/posts/{}/{}",
54 + normalized_slug, attachment_name
55 ~ )));
|
|
the borrowed expression implements the required traits:
src/routes/posts.rs#L26
warning: the borrowed expression implements the required traits
--> src/routes/posts.rs:26:40
|
26 | res.render(Redirect::permanent(&format!("/posts/{}/", normalized_slug)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("/posts/{}/", normalized_slug)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
src/blog.rs#L137
warning: the borrowed expression implements the required traits
--> src/blog.rs:137:48
|
137 | let conf_contents = fs::read_to_string(&conf_path)?;
| ^^^^^^^^^^ help: change this to: `conf_path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
check style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, 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/
|
check style
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/
|
check style
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/
|
check style
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/
|
check style
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 (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl, false)
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/
|
build (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl, false)
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 (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl, false)
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 (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl, false)
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 (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl, false)
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 (winmsvc, windows-latest, stable, x86_64-pc-windows-msvc, false)
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/
|
build (winmsvc, windows-latest, stable, x86_64-pc-windows-msvc, false)
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 (winmsvc, windows-latest, stable, x86_64-pc-windows-msvc, false)
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 (winmsvc, windows-latest, stable, x86_64-pc-windows-msvc, false)
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 (winmsvc, windows-latest, stable, x86_64-pc-windows-msvc, false)
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 (macos, macos-latest, stable, x86_64-apple-darwin, false)
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/
|
build (macos, macos-latest, stable, x86_64-apple-darwin, false)
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 (macos, macos-latest, stable, x86_64-apple-darwin, false)
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 (macos, macos-latest, stable, x86_64-apple-darwin, false)
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 (macos, macos-latest, stable, x86_64-apple-darwin, false)
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/
|