[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsavovs%2Fjuniper-schema" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/savovs/juniper-schema on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/savovs/juniper-schema already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded juniper-from-schema v0.5.2 [INFO] [stderr] Downloaded juniper-from-schema-code-gen v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5097f2fb42a4ca1d70a0b5d04c2cb7001d6a61ced8bb66c699dec78e821fca1b [INFO] running `Command { std: "docker" "start" "-a" "5097f2fb42a4ca1d70a0b5d04c2cb7001d6a61ced8bb66c699dec78e821fca1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5097f2fb42a4ca1d70a0b5d04c2cb7001d6a61ced8bb66c699dec78e821fca1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5097f2fb42a4ca1d70a0b5d04c2cb7001d6a61ced8bb66c699dec78e821fca1b", kill_on_drop: false }` [INFO] [stdout] 5097f2fb42a4ca1d70a0b5d04c2cb7001d6a61ced8bb66c699dec78e821fca1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ac0a1b412cc8b682c4e4747f5c579df44fdf414118a01ceda0d6ef611905aa [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" "73ac0a1b412cc8b682c4e4747f5c579df44fdf414118a01ceda0d6ef611905aa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.68 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Checking uuid v0.7.4 [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 proc-macro2 v1.0.10 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.3 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] [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] 11 | impl QueryFields for Query { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 15 | ) -> Vec { [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/post/post_test.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | &Schema::new(Query, juniper::EmptyMutation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `juniper::EmptyMutation { phantom: val }` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 items [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 items [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 items [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] | ^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `juniper::EmptyMutation { phantom: val }` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0423, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `merge-schemas` due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 11 | impl QueryFields for Query { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 15 | ) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [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 items [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 items [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 items [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: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "73ac0a1b412cc8b682c4e4747f5c579df44fdf414118a01ceda0d6ef611905aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ac0a1b412cc8b682c4e4747f5c579df44fdf414118a01ceda0d6ef611905aa", kill_on_drop: false }` [INFO] [stdout] 73ac0a1b412cc8b682c4e4747f5c579df44fdf414118a01ceda0d6ef611905aa