-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcE-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleICEBreaker-Cleanup-CrewHelping to "clean up" bugs with minimal examples and bisectionsHelping to "clean up" bugs with minimal examples and bisectionsP-criticalCritical priorityCritical priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
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
A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcE-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleICEBreaker-Cleanup-CrewHelping to "clean up" bugs with minimal examples and bisectionsHelping to "clean up" bugs with minimal examples and bisectionsP-criticalCritical priorityCritical priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.