chore(deps) Update Tauri CLI #4694
Annotations
4 errors and 4 warnings
the trait bound `axum::Router<_, _>: axum::handler::Handler<_, _, _>` is not satisfied:
src/helpers/web_dev_server.rs#L72
error[E0277]: the trait bound `axum::Router<_, _>: axum::handler::Handler<_, _, _>` is not satisfied
--> src/helpers/web_dev_server.rs:72:13
|
71 | .fallback(
| -------- required by a bound introduced by this call
72 | / Router::new().nest(
73 | | "/",
74 | | get({
75 | | let state = state.clone();
... |
78 | | .handle_error(|_error| async move { StatusCode::INTERNAL_SERVER_ERROR }),
79 | | ),
| |_____________^ the trait `axum::handler::Handler<_, _, _>` is not implemented for `axum::Router<_, _>`
|
= help: the following other types implement trait `axum::handler::Handler<T, S, B>`:
<axum::handler::Layered<L, H, T, S, B, B2> as axum::handler::Handler<T, S, B2>>
<axum::routing::MethodRouter<S, B> as axum::handler::Handler<(), S, B>>
note: required by a bound in `axum::Router::<S, B>::fallback`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/mod.rs:272:12
|
270 | pub fn fallback<H, T>(mut self, handler: H) -> Self
| -------- required by a bound in this associated function
271 | where
272 | H: Handler<T, S, B>,
| ^^^^^^^^^^^^^^^^ required by this bound in `Router::<S, B>::fallback`
|
the trait bound `axum::Router<_, _>: axum::handler::Handler<_, _, _>` is not satisfied:
src/helpers/web_dev_server.rs#L72
error[E0277]: the trait bound `axum::Router<_, _>: axum::handler::Handler<_, _, _>` is not satisfied
--> src/helpers/web_dev_server.rs:72:13
|
71 | .fallback(
| -------- required by a bound introduced by this call
72 | / Router::new().nest(
73 | | "/",
74 | | get({
75 | | let state = state.clone();
... |
78 | | .handle_error(|_error| async move { StatusCode::INTERNAL_SERVER_ERROR }),
79 | | ),
| |_____________^ the trait `axum::handler::Handler<_, _, _>` is not implemented for `axum::Router<_, _>`
|
= help: the following other types implement trait `axum::handler::Handler<T, S, B>`:
<axum::handler::Layered<L, H, T, S, B, B2> as axum::handler::Handler<T, S, B2>>
<axum::routing::MethodRouter<S, B> as axum::handler::Handler<(), S, B>>
note: required by a bound in `axum::Router::<S, B>::fallback`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/mod.rs:272:12
|
270 | pub fn fallback<H, T>(mut self, handler: H) -> Self
| -------- required by a bound in this associated function
271 | where
272 | H: Handler<T, S, B>,
| ^^^^^^^^^^^^^^^^ required by this bound in `Router::<S, B>::fallback`
|
mismatched types:
src/helpers/web_dev_server.rs#L74
error[E0308]: mismatched types
--> src/helpers/web_dev_server.rs:74:15
|
72 | Router::new().nest(
| ---- arguments to this method are incorrect
73 | "/",
74 | / get({
75 | | let state = state.clone();
76 | | move |req| handler(req, state)
77 | | })
78 | | .handle_error(|_error| async move { StatusCode::INTERNAL_SERVER_ERROR }),
| |______________________________________________________________________________________^ expected `Router<_, _>`, found `MethodRouter<_, _>`
|
= note: expected struct `axum::Router<_, _>`
found struct `axum::routing::MethodRouter<_, _>`
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/mod.rs:151:12
|
151 | pub fn nest(mut self, path: &str, router: Router<S, B>) -> Self {
| ^^^^
|
mismatched types:
src/helpers/web_dev_server.rs#L74
error[E0308]: mismatched types
--> src/helpers/web_dev_server.rs:74:15
|
72 | Router::new().nest(
| ---- arguments to this method are incorrect
73 | "/",
74 | / get({
75 | | let state = state.clone();
76 | | move |req| handler(req, state)
77 | | })
78 | | .handle_error(|_error| async move { StatusCode::INTERNAL_SERVER_ERROR }),
| |______________________________________________________________________________________^ expected `Router<_, _>`, found `MethodRouter<_, _>`
|
= note: expected struct `axum::Router<_, _>`
found struct `axum::routing::MethodRouter<_, _>`
note: method defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/mod.rs:151:12
|
151 | pub fn nest(mut self, path: &str, router: Router<S, B>) -> Self {
| ^^^^
|
audit-js
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
audit-rust
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/audit-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/
|
audit-rust
2 warnings found!
|
audit-rust
Unknown warning kind unsound found, please, file a bug
|