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

nightly regression: "overflow evaluating the requirement <Self as query_dsl::limit_dsl::LimitDsl>::Output" #2270

Closed
masonk opened this issue Jan 16, 2020 · 5 comments

Comments

@masonk
Copy link

masonk commented Jan 16, 2020

After upgrading to the latest 1-15-2020 nightly, I can't compile diesel 1.4.3. even in a perfectly clean repo with the following Cargo.toml:

[package]
name = "diesel-test"
version = "0.1.0"
authors = ["Mason Kramer <mason@masonkramer.net>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
diesel = "1.4.3"

This regression happened sometime between 19bd93467 2019-12-18 and 3291ae339 2020-01-15.

The error is:

error[E0275]: overflow evaluating the requirement `<Self as query_dsl::limit_dsl::LimitDsl>::Output

@masonk
Copy link
Author

masonk commented Jan 16, 2020

I bisected this

cargo install cargo-bisect-rustc
cargo bisect-rustc --start=2019-12-18

The first occurrence of this was today's nightly, nightly-2020-01-15.

Bisect is looking for the exact commit to rustc that causes this; I will post in the morning what it found.

@masonk
Copy link
Author

masonk commented Jan 16, 2020

Bisect was able to find 6d0bb91bcba33a70fae4b0c663fb4403ed78f071 as the culprit, but it's a rollup.

@humb1t
Copy link

humb1t commented Jan 16, 2020

Confirm this issue on ARM64bit compilation via nightly-2020-01-15:

overflow evaluating the requirement `<Self as query_dsl::limit_dsl::LimitDsl>::Output`

@weiznich
Copy link
Member

As the issue guide lines say: That's not a issue on the current stable release, therefore I close this issue. Nightly is not a officially supported target for diesel, it's expected that things break there.
Please open a issue at rustc repository, as this is clearly a rustc issue.

@weiznich
Copy link
Member

Someone else already has this reported in rust-lang/rust#68264

shenriotpro added a commit to OpenRailAssociation/osrd that referenced this issue Oct 24, 2023
…ere)

It looks like a weird issue with nightly rust and diesel, see for
instance diesel-rs/diesel#2270
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants