Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: error[E0275]: overflow evaluating the requirement (related to pin-project) #134709

Open
cuviper opened this issue Dec 23, 2024 · 1 comment
Labels
C-bug Category: This is a bug. I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. regression-from-stable-to-beta Performance or correctness regression from stable to beta.
Milestone

Comments

@cuviper
Copy link
Member

cuviper commented Dec 23, 2024

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`
[...]
  1. 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 #134138.

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

@cuviper cuviper added C-bug Category: This is a bug. regression-untriaged Untriaged performance or correctness regression. labels Dec 23, 2024
@rustbot rustbot added I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. regression-from-stable-to-beta Performance or correctness regression from stable to beta. and removed regression-untriaged Untriaged performance or correctness regression. labels Dec 23, 2024
@compiler-errors
Copy link
Member

Interestingly, the mousse regression seems to bisect to 7660aed / #132173.

@cuviper cuviper added this to the 1.84.0 milestone Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. regression-from-stable-to-beta Performance or correctness regression from stable to beta.
Projects
None yet
Development

No branches or pull requests

3 participants