[INFO] fetching crate cynic 0.15.1... [INFO] checking cynic-0.15.1 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate cynic 0.15.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate cynic 0.15.1 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cynic 0.15.1 [INFO] finished tweaking crates.io crate cynic 0.15.1 [INFO] tweaked toml for crates.io crate cynic 0.15.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate cynic 0.15.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json-decode v0.6.0 [INFO] [stderr] Downloaded cynic-proc-macros v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5782e0d98f796ffd3534a1f5b877f64a9eb7f898f74fe64865d3fc168f8eacba [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5782e0d98f796ffd3534a1f5b877f64a9eb7f898f74fe64865d3fc168f8eacba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5782e0d98f796ffd3534a1f5b877f64a9eb7f898f74fe64865d3fc168f8eacba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5782e0d98f796ffd3534a1f5b877f64a9eb7f898f74fe64865d3fc168f8eacba", kill_on_drop: false }` [INFO] [stdout] 5782e0d98f796ffd3534a1f5b877f64a9eb7f898f74fe64865d3fc168f8eacba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b1f83c21463901f76056d0790baf1339157a32fbcb990970e90a2af4f3ea979 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b1f83c21463901f76056d0790baf1339157a32fbcb990970e90a2af4f3ea979", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling graphql-parser v0.3.0 [INFO] [stderr] Compiling cynic-codegen v0.15.1 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking json-decode v0.6.0 [INFO] [stderr] Checking insta v1.8.0 [INFO] [stderr] Compiling cynic-proc-macros v0.15.1 [INFO] [stderr] Checking cynic v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] error: Could not find file: /opt/rustwide/workdir/../schemas/test_cases.graphql [INFO] [stdout] --> tests/keyword-queries.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[cynic::schema_for_derives(file = r#"../schemas/test_cases.graphql"#, module = "schema")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `cynic::schema_for_derives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/keyword-queries.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | cynic::use_schema!(r#"../schemas/test_cases.graphql"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: FileNotFound("/opt/rustwide/workdir/../schemas/test_cases.graphql") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema` [INFO] [stdout] --> tests/keyword-queries.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use super::schema; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: /opt/rustwide/workdir/../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/aliases.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | schema_path = "../schemas/starwars.schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: /opt/rustwide/workdir/../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/aliases.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | schema_path = "../schemas/starwars.schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/aliases.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | cynic::use_schema!("../schemas/starwars.schema.graphql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: FileNotFound("/opt/rustwide/workdir/../schemas/starwars.schema.graphql") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find file: /opt/rustwide/workdir/../schemas/starwars.schema.graphql [INFO] [stdout] --> tests/aliases.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | schema_path = "../schemas/starwars.schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `FilmQueryWithExplicitAlias`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/aliases.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 9 | struct FilmQueryWithExplicitAlias { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `build` not found for this [INFO] [stdout] | doesn't satisfy `<_ as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] | doesn't satisfy `FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] | doesn't satisfy `FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 34 | let operation = FilmQueryWithExplicitAlias::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `FilmQueryWithExplicitAlias` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `<&FilmQueryWithExplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `&FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `<&mut FilmQueryWithExplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&mut FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `&mut FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&mut FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/fragments.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub trait QueryFragment { [INFO] [stdout] 4 | | type SelectionSet; [INFO] [stdout] 5 | | type Arguments: FragmentArguments; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | fn fragment(context: FragmentContext) -> Self::SelectionSet; [INFO] [stdout] 8 | | fn graphql_type() -> String; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `FilmQueryWithExplicitAlias`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/aliases.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 9 | struct FilmQueryWithExplicitAlias { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `build` not found for this [INFO] [stdout] | doesn't satisfy `<_ as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] | doesn't satisfy `FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] | doesn't satisfy `FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 50 | let operation = FilmQueryWithExplicitAlias::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `FilmQueryWithExplicitAlias` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `<&FilmQueryWithExplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `&FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `<&mut FilmQueryWithExplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&mut FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] `&mut FilmQueryWithExplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&mut FilmQueryWithExplicitAlias: QueryBuilder` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/fragments.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub trait QueryFragment { [INFO] [stdout] 4 | | type SelectionSet; [INFO] [stdout] 5 | | type Arguments: FragmentArguments; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | fn fragment(context: FragmentContext) -> Self::SelectionSet; [INFO] [stdout] 8 | | fn graphql_type() -> String; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `FilmQueryWithImplicitAlias`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/aliases.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 80 | struct FilmQueryWithImplicitAlias { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `build` not found for this [INFO] [stdout] | doesn't satisfy `<_ as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] | doesn't satisfy `FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] | doesn't satisfy `FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 92 | let operation = FilmQueryWithImplicitAlias::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `FilmQueryWithImplicitAlias` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `<&FilmQueryWithImplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `&FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `<&mut FilmQueryWithImplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&mut FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `&mut FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&mut FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/fragments.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub trait QueryFragment { [INFO] [stdout] 4 | | type SelectionSet; [INFO] [stdout] 5 | | type Arguments: FragmentArguments; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | fn fragment(context: FragmentContext) -> Self::SelectionSet; [INFO] [stdout] 8 | | fn graphql_type() -> String; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `FilmQueryWithImplicitAlias`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/aliases.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 80 | struct FilmQueryWithImplicitAlias { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `build` not found for this [INFO] [stdout] | doesn't satisfy `<_ as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] | doesn't satisfy `FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] | doesn't satisfy `FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] ... [INFO] [stdout] 108 | let operation = FilmQueryWithImplicitAlias::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `FilmQueryWithImplicitAlias` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `<&FilmQueryWithImplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `&FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `<&mut FilmQueryWithImplicitAlias as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&mut FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] `&mut FilmQueryWithImplicitAlias: QueryFragment` [INFO] [stdout] which is required by `&mut FilmQueryWithImplicitAlias: QueryBuilder` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/fragments.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub trait QueryFragment { [INFO] [stdout] 4 | | type SelectionSet; [INFO] [stdout] 5 | | type Arguments: FragmentArguments; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | fn fragment(context: FragmentContext) -> Self::SelectionSet; [INFO] [stdout] 8 | | fn graphql_type() -> String; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cynic::QueryBuilder` [INFO] [stdout] --> tests/aliases.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cynic::QueryBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cynic` due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `KeywordQuery`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/keyword-queries.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | let query = queries::KeywordQuery::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `KeywordQuery` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 38 | pub struct KeywordQuery { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `build` not found for this [INFO] [stdout] | doesn't satisfy `<_ as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] | doesn't satisfy `KeywordQuery: QueryBuilder` [INFO] [stdout] | doesn't satisfy `KeywordQuery: QueryFragment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `KeywordQuery: QueryBuilder` [INFO] [stdout] `KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `KeywordQuery: QueryBuilder` [INFO] [stdout] `<&KeywordQuery as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&KeywordQuery: QueryBuilder` [INFO] [stdout] `&KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `&KeywordQuery: QueryBuilder` [INFO] [stdout] `<&mut KeywordQuery as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&mut KeywordQuery: QueryBuilder` [INFO] [stdout] `&mut KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `&mut KeywordQuery: QueryBuilder` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/fragments.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub trait QueryFragment { [INFO] [stdout] 4 | | type SelectionSet; [INFO] [stdout] 5 | | type Arguments: FragmentArguments; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | fn fragment(context: FragmentContext) -> Self::SelectionSet; [INFO] [stdout] 8 | | fn graphql_type() -> String; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `build` exists for struct `KeywordQuery`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/keyword-queries.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | let query = queries::KeywordQuery::build(()); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `KeywordQuery` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 38 | pub struct KeywordQuery { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `build` not found for this [INFO] [stdout] | doesn't satisfy `<_ as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] | doesn't satisfy `KeywordQuery: QueryBuilder` [INFO] [stdout] | doesn't satisfy `KeywordQuery: QueryFragment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `KeywordQuery: QueryBuilder` [INFO] [stdout] `KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `KeywordQuery: QueryBuilder` [INFO] [stdout] `<&KeywordQuery as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&KeywordQuery: QueryBuilder` [INFO] [stdout] `&KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `&KeywordQuery: QueryBuilder` [INFO] [stdout] `<&mut KeywordQuery as QueryFragment>::SelectionSet = SelectionSet<'_, _, _>` [INFO] [stdout] which is required by `&mut KeywordQuery: QueryBuilder` [INFO] [stdout] `&mut KeywordQuery: QueryFragment` [INFO] [stdout] which is required by `&mut KeywordQuery: QueryBuilder` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/fragments.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub trait QueryFragment { [INFO] [stdout] 4 | | type SelectionSet; [INFO] [stdout] 5 | | type Arguments: FragmentArguments; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | fn fragment(context: FragmentContext) -> Self::SelectionSet; [INFO] [stdout] 8 | | fn graphql_type() -> String; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cynic::QueryBuilder` [INFO] [stdout] --> tests/keyword-queries.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use cynic::QueryBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryBuilder` [INFO] [stdout] --> tests/keyword-queries.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | use cynic::{GraphQlResponse, QueryBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0b1f83c21463901f76056d0790baf1339157a32fbcb990970e90a2af4f3ea979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1f83c21463901f76056d0790baf1339157a32fbcb990970e90a2af4f3ea979", kill_on_drop: false }` [INFO] [stdout] 0b1f83c21463901f76056d0790baf1339157a32fbcb990970e90a2af4f3ea979