[INFO] cloning repository https://github.com/savovs/juniper-schema [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/savovs/juniper-schema" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavovs%2Fjuniper-schema", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavovs%2Fjuniper-schema'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1a3aca39c71d43d78ca4c564a2da95cd19331e6 [INFO] checking savovs/juniper-schema against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavovs%2Fjuniper-schema" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/savovs/juniper-schema [INFO] finished tweaking git repo https://github.com/savovs/juniper-schema [INFO] tweaked toml for git repo https://github.com/savovs/juniper-schema written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/savovs/juniper-schema on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/savovs/juniper-schema already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded juniper-from-schema-code-gen v0.5.2 [INFO] [stderr] Downloaded hermit-abi v0.1.10 [INFO] [stderr] Downloaded juniper_codegen v0.14.2 [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded juniper-from-schema v0.5.2 [INFO] [stderr] Downloaded juniper v0.14.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 491ba1161aad0672f957ab5153fbd2dd6aee6a870b289ea8f46fe026d499a100 [INFO] running `Command { std: "docker" "start" "-a" "491ba1161aad0672f957ab5153fbd2dd6aee6a870b289ea8f46fe026d499a100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "491ba1161aad0672f957ab5153fbd2dd6aee6a870b289ea8f46fe026d499a100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491ba1161aad0672f957ab5153fbd2dd6aee6a870b289ea8f46fe026d499a100", kill_on_drop: false }` [INFO] [stdout] 491ba1161aad0672f957ab5153fbd2dd6aee6a870b289ea8f46fe026d499a100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18f5fca354ef35bb862c33f21d86dc3d16069bc2d1e1dfdb2c711ca2c1df3abd [INFO] running `Command { std: "docker" "start" "-a" "18f5fca354ef35bb862c33f21d86dc3d16069bc2d1e1dfdb2c711ca2c1df3abd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Checking juniper v0.14.2 [INFO] [stderr] Compiling juniper-from-schema-code-gen v0.5.2 [INFO] [stderr] Checking juniper-from-schema v0.5.2 [INFO] [stderr] Checking merge-schemas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `super::Post`, `super::Mutation` [INFO] [stdout] --> src/gql/post/post_test.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Query, Post, Mutation, Schema}; [INFO] [stdout] | ^^^^ ^^^^^^^^ no `Mutation` in `gql::post` [INFO] [stdout] | | [INFO] [stdout] | no `Post` in `gql::post` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::gql::Mutation [INFO] [stdout] crate::gql::user::Mutation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/gql/post/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | graphql_schema_from_file!("src/gql/post/post_schema.gql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `graphql_schema_from_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/gql/post/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl QueryFields for Query { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootNode` in this scope [INFO] [stdout] --> src/gql/post/mod.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub type Schema = RootNode<'static, Query, juniper::EmptyMutation>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::gql::juniper::RootNode; [INFO] [stdout] | [INFO] [stdout] 1 + use juniper::RootNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MutationFields` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl MutationFields for Mutation { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Executor` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn field_noop(&self, _executor: &Executor<'_, Context>) -> FieldResult<&bool> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::gql::juniper::Executor; [INFO] [stdout] | [INFO] [stdout] 1 + use juniper::Executor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldResult` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | fn field_noop(&self, _executor: &Executor<'_, Context>) -> FieldResult<&bool> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 1 + use crate::gql::juniper::FieldResult; [INFO] [stdout] | [INFO] [stdout] 1 + use juniper::FieldResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let user = User { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `field_latest_posts` has 2 parameters but the declaration in trait `post::QueryFields::field_latest_posts` has 3 [INFO] [stdout] --> src/gql/post/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | graphql_schema_from_file!("src/gql/post/post_schema.gql"); [INFO] [stdout] | --------------------------------------------------------- trait requires 3 parameters [INFO] [stdout] ... [INFO] [stdout] 13 | / &self, [INFO] [stdout] 14 | | _executor: &juniper::Executor<'_, Context>, [INFO] [stdout] | |______________________________________________^ expected 3 parameters, found 2 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/gql/post/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | graphql_schema_from_file!("src/gql/post/post_schema.gql"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `graphql_schema_from_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/gql/post/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl QueryFields for Query { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `juniper::EmptyMutation` [INFO] [stdout] --> src/gql/post/post_test.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | &Schema::new(Query, juniper::EmptyMutation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/juniper-0.14.2/src/types/scalars.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct EmptyMutation { [INFO] [stdout] | --------------------------- `juniper::EmptyMutation` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootNode` in this scope [INFO] [stdout] --> src/gql/post/mod.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub type Schema = RootNode<'static, Query, juniper::EmptyMutation>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::gql::juniper::RootNode; [INFO] [stdout] | [INFO] [stdout] 1 + use juniper::RootNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0405, E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MutationFields` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl MutationFields for Mutation { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Executor` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn field_noop(&self, _executor: &Executor<'_, Context>) -> FieldResult<&bool> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::gql::juniper::Executor; [INFO] [stdout] | [INFO] [stdout] 1 + use juniper::Executor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldResult` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | fn field_noop(&self, _executor: &Executor<'_, Context>) -> FieldResult<&bool> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 1 + use crate::gql::juniper::FieldResult; [INFO] [stdout] | [INFO] [stdout] 1 + use juniper::FieldResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> src/gql/user/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let user = User { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `juniper::EmptyMutation` [INFO] [stdout] --> src/gql/user/user_test.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | &Schema::new(Query, juniper::EmptyMutation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/juniper-0.14.2/src/types/scalars.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct EmptyMutation { [INFO] [stdout] | --------------------------- `juniper::EmptyMutation` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutation` [INFO] [stdout] --> src/gql/user/user_test.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Query, Mutation, Schema}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `merge-schemas` (bin "merge-schemas") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0050]: method `field_latest_posts` has 2 parameters but the declaration in trait `post::QueryFields::field_latest_posts` has 3 [INFO] [stdout] --> src/gql/post/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | graphql_schema_from_file!("src/gql/post/post_schema.gql"); [INFO] [stdout] | --------------------------------------------------------- trait requires 3 parameters [INFO] [stdout] ... [INFO] [stdout] 13 | / &self, [INFO] [stdout] 14 | | _executor: &juniper::Executor<'_, Context>, [INFO] [stdout] | |______________________________________________^ expected 3 parameters, found 2 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0405, E0412, E0422, E0423, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `merge-schemas` (bin "merge-schemas" test) due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18f5fca354ef35bb862c33f21d86dc3d16069bc2d1e1dfdb2c711ca2c1df3abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f5fca354ef35bb862c33f21d86dc3d16069bc2d1e1dfdb2c711ca2c1df3abd", kill_on_drop: false }` [INFO] [stdout] 18f5fca354ef35bb862c33f21d86dc3d16069bc2d1e1dfdb2c711ca2c1df3abd