tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.52k stars 2.58k forks source link

[bug] Upgraded to tauri v2, warp reported an error! #11587

Closed luoqiz closed 2 weeks ago

luoqiz commented 2 weeks ago

Describe the bug

error[E0275]: overflow evaluating the requirement `pin_project::__private::AlwaysUnpin<'_, (PhantomData<warp::filter::and::And<warp::filter::and::And<Exact<warp::path::internal::Opaque<...>>, ...>, ...>>, ...)>: Unpin`
     |
     = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`wcf_client_rust_lib`)
note: required because it appears within the type `__AndFuture<'_, And<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\and.rs:40:12
     |
40   | pub struct AndFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^
     = note: required for `AndFuture<And<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, AndFuture<And<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ..., ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\and.rs:46:6
     |
46   | enum State<T, TE, U: Filter> {
     |      ^^^^^
     = note: required for `State<AndFuture<And<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ..., ...>` to implement `Unpin`     
note: required because it appears within the type `__AndFuture<'_, And<And<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>`   
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\and.rs:40:12
     |
40   | pub struct AndFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^
     = note: required for `AndFuture<And<And<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, AndFuture<And<And<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\and_then.rs:49:6
     |
49   | enum State<T, F>
     |      ^^^^^
     = note: required for `State<AndFuture<And<And<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__AndThenFuture<'_, And<And<And<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\and_then.rs:37:12
     |
37   | pub struct AndThenFuture<T, F>
     |            ^^^^^^^^^^^^^
     = note: required for `AndThenFuture<And<And<And<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Map<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Map<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Map<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Map<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Map<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Map<And<Exact<Opaque<&str>>, FilterFn<{closure@method_is<...>::{closure#0}}>>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>` 
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>` to implement `Unpin`        
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>` to implement `Unpin` 
note: required because it appears within the type `__State<'_, Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, FilterFn<...>>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Map<And<Exact<Opaque<...>>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Map<And<Exact<Opaque<&str>>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Map<And<Exact<...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Map<And<Exact<...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Map<And<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Map<And<Exact<...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Map<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Map<And<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Map<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Map<And<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Map<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Map<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Map<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__State<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:50:6
     |
50   | enum State<T: Filter, U: Filter> {
     |      ^^^^^
     = note: required for `State<Or<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__EitherFuture<'_, Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\or.rs:43:12
     |
43   | pub struct EitherFuture<T: Filter, U: Filter> {
     |            ^^^^^^^^^^^^
     = note: required for `EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>` to implement `Unpin`
note: required because it appears within the type `__FilteredFuture<'_, EitherFuture<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\warp-0.3.7\src\filter\service.rs:108:12
     |
108  | pub struct FilteredFuture<F> {
     |            ^^^^^^^^^^^^^^
     = note: required for `FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>>` to implement `Unpin`
     = note: required because it appears within the type `(FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>, ...>>, ...)`
note: required because it appears within the type `__Origin<'_, FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\hyper-0.14.31\src\proto\h2\server.rs:395:1
     |
395  | / pin_project! {
396  | |     #[project = H2StreamStateProj]
397  | |     enum H2StreamState<F, B>
398  | |     where
...    |
410  | |     }
411  | | }
     | |_^
     = note: required for `H2StreamState<FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>>, ...>` to implement `Unpin`
note: required because it appears within the type `__Origin<'_, FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\hyper-0.14.31\src\proto\h2\server.rs:383:1
     |
383  | / pin_project! {
384  | |     #[allow(missing_debug_implementations)]
385  | |     pub struct H2Stream<F, B>
386  | |     where
...    |
392  | |     }
393  | | }
     | |_^
     = note: required for `H2Stream<FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>, ...>>, ...>` to implement `Unpin`
note: required because it appears within the type `Stage<H2Stream<FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>>, ...>>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.41.0\src\runtime\task\core.rs:202:17        
     |
202  | pub(super) enum Stage<T: Future> {
     |                 ^^^^^
note: required because it appears within the type `UnsafeCell<Stage<H2Stream<FilteredFuture<EitherFuture<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>>, ...>>>`
    --> C:\Users\Administrator\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\cell.rs:2060:12   
     |
2060 | pub struct UnsafeCell<T: ?Sized> {
     |            ^^^^^^^^^^
note: required because it appears within the type `UnsafeCell<Stage<H2Stream<FilteredFuture<EitherFuture<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>>, ...>>>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.41.0\src\loom\std\unsafe_cell.rs:2:19       
     |
2    | pub(crate) struct UnsafeCell<T>(std::cell::UnsafeCell<T>);
     |                   ^^^^^^^^^^
note: required because it appears within the type `CoreStage<H2Stream<FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>>, ...>>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.41.0\src\runtime\task\core.rs:126:19        
     |
126  | pub(super) struct CoreStage<T: Future> {
     |                   ^^^^^^^^^
note: required because it appears within the type `Core<H2Stream<FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.41.0\src\runtime\task\core.rs:137:19        
     |
137  | pub(super) struct Core<T: Future, S> {
     |                   ^^^^
note: required because it appears within the type `Cell<H2Stream<FilteredFuture<EitherFuture<Or<Or<Or<Or<Or<..., ...>, ...>, ...>, ...>, ...>, ...>>, ...>, ...>`
    --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.41.0\src\runtime\task\core.rs:115:19        
     |
115  | pub(super) struct Cell<T: Future, S> {
     |                   ^^^^
     = note: the full name for the type has been written to 'D:\project\wcf-client-rust\src-tauri\target\debug\deps\wcf_client_rust_lib.long-type-4859914694348276290.txt'

...............................................................
     = note: consider using `--verbose` to print the full type name to the console
     = note: the full name for the type has been written to 'D:\project\wcf-client-rust\src-tauri\target\debug\deps\wcf_client_rust_lib.long-type-14577750402346250408.txt'
     = note: consider using `--verbose` to print the full type name to the console
     = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 130.0.2849.56
    ✔ MSVC: Visual Studio Enterprise 2022
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.17.0
    - pnpm: 9.11.0
    - npm: 10.9.0

[-] Packages
    - tauri 🦀: 2.0.6
    - tauri-build 🦀: 2.0.2
    - wry 🦀: 0.46.3
    - tao 🦀: 0.30.5
    - tauri-cli 🦀: 1.6.4
    - @tauri-apps/api : 2.0.3
    - @tauri-apps/cli : 2.0.5

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

Stack trace

No response

Additional context

No response

FabianLars commented 2 weeks ago

tbh i don't see how that could be Tauri's fault. Try deleting the ~/.cargo/registry/ folder and the project's target folder and try again. If it still happens, please try provide a minimal production project, or at least some code or anything really that we can use to triage this ourselves...