Skip to content

chore(deps) Update Tauri CLI #4694

chore(deps) Update Tauri CLI

chore(deps) Update Tauri CLI #4694

GitHub Actions / cli failed Aug 16, 2023 in 0s

cli

4 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 4
Warning 0
Note 0
Help 0

Versions

  • rustc 1.71.1 (eb26296b5 2023-08-03)
  • cargo 1.71.1 (7f1d04c00 2023-07-29)
  • clippy 0.1.71 (eb26296 2023-08-03)

Annotations

Check failure on line 79 in src/helpers/web_dev_server.rs

See this annotation in the file changed.

@github-actions github-actions / cli

the trait bound `axum::Router<_, _>: axum::handler::Handler<_, _, _>` is not satisfied

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`

Check failure on line 79 in src/helpers/web_dev_server.rs

See this annotation in the file changed.

@github-actions github-actions / cli

the trait bound `axum::Router<_, _>: axum::handler::Handler<_, _, _>` is not satisfied

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`

Check failure on line 78 in src/helpers/web_dev_server.rs

See this annotation in the file changed.

@github-actions github-actions / cli

mismatched types

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 {
    |            ^^^^

Check failure on line 78 in src/helpers/web_dev_server.rs

See this annotation in the file changed.

@github-actions github-actions / cli

mismatched types

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 {
    |            ^^^^