Closed
Description
rustc version: rustc 1.42.0-nightly (3291ae339 2020-01-15)
.../code/diesel/diesel (master=) ✖ RUSTFLAGS="--cap-lints=warn" cargo +nightly check
Compiling proc-macro2 v1.0.7
Compiling unicode-xid v0.2.0
Compiling syn v1.0.13
Compiling byteorder v1.3.2
Compiling quote v1.0.2
Compiling diesel_derives v1.4.1 (/home/jeb/code/diesel/diesel_derives)
Checking diesel v1.4.3 (/home/jeb/code/diesel/diesel)
warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
(... trimmed many instances of this warning...)
warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
--> diesel/src/migration/errors.rs:108:43
|
108 | write!(f, "Failed with: {}", self.description())
| ^^^^^^^^^^^
error[E0275]: overflow evaluating the requirement `<Self as query_dsl::limit_dsl::LimitDsl>::Output`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0275`.
error: could not compile `diesel`.
To learn more, run the command again with --verbose.
Notably, there is no information about where the error actually is. rustc 1.42.0-nightly (31dd4f4ac 2020-01-13)
was fine. I also see a passing CI run on diesel for nightly on commit 8a87b945b27
.
EDIT: I did run this test on the master
branch of diesel, but I first discovered the problem in diesel 1.4.3
.