Repository: rust
Issue: regression: error[E0275]: overflow evaluating the requirement (related to `pin-project`)
Labels: T-compiler,regression-from-stable-to-beta,C-bug,I-prioritize,E-needs-investigation

These look similar, but feel free to split the issue if they have distinct causes.

1. https://crater-reports.s3.amazonaws.com/beta-1.84.0-4-retry2/beta-2024-12-08/gh/ethereum-mousse.mousse/log.txt

```
[INFO] [stdout] error[E0275]: overflow evaluating the requirement `(PhantomData<warp::filters::any::AnyFut>, PhantomData<()>, PhantomData<Exact<...>>): Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`http_api`)
[INFO] [stdout]     = note: required for `AlwaysUnpin<'_, (PhantomData<AnyFut>, PhantomData<()>, ...)>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AnyFut, (), Exact<Opaque<__StaticPath>>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AnyFut, (), Exact<Opaque<__StaticPath>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, Any, Exact<Opaque<__StaticPath>>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<Any, Exact<Opaque<__StaticPath>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), Exact<...>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, And<Any, Exact<Opaque<__StaticPath>>>, Exact<...>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.0/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<And<Any, Exact<Opaque<__StaticPath>>>, Exact<Opaque<...>>>` to implement `Unpin`
[...]
```

2. https://crater-reports.s3.amazonaws.com/beta-1.84.0-4-retry2/beta-2024-12-08/gh/vagicc.diesel-demo/log.txt

```
[INFO] [stdout] error[E0275]: overflow evaluating the requirement `pin_project::__private::AlwaysUnpin<'_, (PhantomData<warp::filters::any::Any>, PhantomData<Exact<warp::path::internal::Opaque<...>>>)>: Unpin`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`diesel_demo`)
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, Any, Exact<Opaque<__StaticPath>>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<Any, Exact<Opaque<__StaticPath>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AndFuture<Any, Exact<Opaque<__StaticPath>>>, (), Exact<...>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__AndFuture<'_, And<Any, Exact<Opaque<__StaticPath>>>, Exact<...>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  | pub struct AndFuture<T: Filter, U: Filter> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     = note: required for `AndFuture<And<Any, Exact<Opaque<__StaticPath>>>, Exact<Opaque<...>>>` to implement `Unpin`
[INFO] [stdout] note: required because it appears within the type `__State<'_, AndFuture<And<Any, Exact<Opaque<...>>>, ...>, ..., ...>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.1/src/filter/and.rs:46:6
[INFO] [stdout]     |
[INFO] [stdout] 46  | enum State<T, TE, U: Filter> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout]     = note: required for `State<AndFuture<And<Any, Exact<Opaque<__StaticPath>>>, ...>, ..., ...>` to implement `Unpin`
[...]
```

### Version it worked on

It most recently worked on: 1.83.0

### Version with regression

Using rustc 1.84.0-beta.4 in crater https://github.com/rust-lang/rust/issues/134138.

@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged