Closed
Description
Trying to compile wundergraph_example
with recent nightly's or the current beta ( rustc 1.46.0-beta.2 (6f959902b 2020-07-23
) compiler fails with the attached error message. The compilation suceeds without warning using the latest stable (rustc 1.45.0 (5c1f21c3b 2020-07-13)
) release.
Error message
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation<Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_wrapper<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_inner<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation<Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation<Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation<Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_wrapper<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_wrapper<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_wrapper<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_inner<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_inner<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0275]: overflow evaluating the requirement `<<Hero_table as diesel::query_builder::AsQuery>::Query as diesel::query_dsl::boxed_dsl::BoxedDsl<'_, DB>>::Output`
--> wundergraph_example/src/mutations.rs:73:1
|
73 | / wundergraph::mutation_object! {
74 | | /// Global mutation object for the schema
75 | | Mutation {
76 | | Hero(insert = NewHero, update = HeroChangeset,),
... |
81 | | }
82 | | }
| |_^
|
= note: required because of the requirements on the impl of `wundergraph::query_builder::mutations::HandleUpdate<hero::Hero, mutations::HeroChangeset, DB, Ctx>` for `Hero_table`
= note: required because of the requirements on the impl of `juniper::GraphQLType<wundergraph::scalar::WundergraphScalarValue>` for `mutations::Mutation_inner<'a, Ctx>`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 12 previous errors
For more information about this error, try `rustc --explain E0275`.
error: could not compile `wundergraph_example`.
cargo bisect-rustc
found that the regression happened in nightly-2020-06-21
Metadata
Metadata
Assignees
Labels
Area: Trait systemCategory: This is a bug.Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleHelping to "clean up" bugs with minimal examples and bisectionsCritical priorityRelevant to the compiler team, which will review and decide on the PR/issue.Performance or correctness regression from stable to beta.