[INFO] fetching crate juniper-from-schema-code-gen 0.5.2... [INFO] testing juniper-from-schema-code-gen-0.5.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate juniper-from-schema-code-gen 0.5.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate juniper-from-schema-code-gen 0.5.2 [INFO] finished tweaking crates.io crate juniper-from-schema-code-gen 0.5.2 [INFO] tweaked toml for crates.io crate juniper-from-schema-code-gen 0.5.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate juniper-from-schema-code-gen 0.5.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 276 packages to latest compatible versions [INFO] [stderr] Adding colored v1.9.4 (available: v3.1.1) [INFO] [stderr] Adding graphql-parser v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding juniper v0.14.2 (available: v0.17.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [INFO] [stderr] Adding version-sync v0.8.1 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-workspace-hack v1.0.0 [INFO] [stderr] Downloaded rustfmt-config_proc_macro v0.2.0 [INFO] [stderr] Downloaded semver-parser v0.9.0 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded termize v0.1.1 [INFO] [stderr] Downloaded rustc-ap-rustc_fs_util v677.0.0 [INFO] [stderr] Downloaded md-5 v0.8.0 [INFO] [stderr] Downloaded rustc-ap-rustc_arena v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_graphviz v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_serialize v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_attr v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_lexer v677.0.0 [INFO] [stderr] Downloaded ascii v0.9.3 [INFO] [stderr] Downloaded graphql-parser v0.2.3 [INFO] [stderr] Downloaded rustc-ap-rustc_feature v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_errors v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast v677.0.0 [INFO] [stderr] Downloaded combine v3.8.1 [INFO] [stderr] Downloaded rustc-ap-rustc_session v677.0.0 [INFO] [stderr] Downloaded juniper v0.14.2 [INFO] [stderr] Downloaded rustc-ap-rustc_parse v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_data_structures v677.0.0 [INFO] [stderr] Downloaded rustc-rayon v0.3.2 [INFO] [stderr] Downloaded pulldown-cmark v0.4.1 [INFO] [stderr] Downloaded rustc-ap-rustc_expand v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_target v677.0.0 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded rustc-rayon-core v0.3.2 [INFO] [stderr] Downloaded parking_lot_core v0.7.3 [INFO] [stderr] Downloaded rustc-ap-rustc_span v677.0.0 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded ena v0.14.4 [INFO] [stderr] Downloaded measureme v0.7.1 [INFO] [stderr] Downloaded juniper_codegen v0.14.2 [INFO] [stderr] Downloaded annotate-snippets v0.6.1 [INFO] [stderr] Downloaded cargo_metadata v0.8.2 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_passes v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_pretty v677.0.0 [INFO] [stderr] Downloaded annotate-snippets v0.8.0 [INFO] [stderr] Downloaded rustfmt-nightly v1.4.21 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded rustc-ap-rustc_macros v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_index v677.0.0 [INFO] [stderr] Downloaded version-sync v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e62b8171a24d4a4992b0c1ce42b9525dd7ee812121f1fa2851baefd54e73a909 [INFO] running `Command { std: "docker" "start" "-a" "e62b8171a24d4a4992b0c1ce42b9525dd7ee812121f1fa2851baefd54e73a909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e62b8171a24d4a4992b0c1ce42b9525dd7ee812121f1fa2851baefd54e73a909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e62b8171a24d4a4992b0c1ce42b9525dd7ee812121f1fa2851baefd54e73a909", kill_on_drop: false }` [INFO] [stdout] e62b8171a24d4a4992b0c1ce42b9525dd7ee812121f1fa2851baefd54e73a909 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5b717ded5540cf26e9b7b7e620d012d3abc5b8ebeedef4545dc183bc7881d5f [INFO] running `Command { std: "docker" "start" "-a" "e5b717ded5540cf26e9b7b7e620d012d3abc5b8ebeedef4545dc183bc7881d5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling juniper-from-schema-code-gen v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mutable_borrow_reservation_conflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `name` is never read [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct JuniperDirective { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 76 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JuniperDirective` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dead_code, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | fn from_directive(dir: &Directive) -> Result; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | fn from_directive(dir: &Directive) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_directive_args(args: &(String, Value)) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn from_directive_args(args: &(String, Value)) -> Option>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_directive(dir: &Directive) -> Result { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn from_directive(dir: &Directive) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_directive(dir: &Directive) -> Result { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 144 | impl_from_directive_for! { (A) } [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_from_directive_for` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn from_directive(dir: &Directive) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_directive(dir: &Directive) -> Result { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 145 | impl_from_directive_for! { (A, B) } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_from_directive_for` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn from_directive(dir: &Directive) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | fn from_directive_args((key, value): &(String, Value)) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn from_directive_args((key, value): &(String, Value)) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:209:42 [INFO] [stdout] | [INFO] [stdout] 209 | fn from_directive_args((key, value): &(String, Value)) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | fn from_directive_args((key, value): &(String, Value)) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:239:42 [INFO] [stdout] | [INFO] [stdout] 239 | fn from_directive_args((key, value): &(String, Value)) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | fn from_directive_args((key, value): &(String, Value)) -> Option>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | fn value_as_string(value: &Value) -> Result<&str, ErrorKind> { [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | fn value_as_string(value: &Value) -> Result<&str, ErrorKind<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_pass/directive_parsing.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | fn value_as_bool(value: &Value) -> Result { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | fn value_as_bool(value: &Value) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nullable_type.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | fn map(type_: &Type) -> NullableType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn map(type_: &Type) -> NullableType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nullable_type.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn map_inner(type_: &Type, inside_non_null: bool) -> NullableType { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | fn map_inner(type_: &Type, inside_non_null: bool) -> NullableType<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `juniper-from-schema-code-gen` (lib) due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e5b717ded5540cf26e9b7b7e620d012d3abc5b8ebeedef4545dc183bc7881d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b717ded5540cf26e9b7b7e620d012d3abc5b8ebeedef4545dc183bc7881d5f", kill_on_drop: false }` [INFO] [stdout] e5b717ded5540cf26e9b7b7e620d012d3abc5b8ebeedef4545dc183bc7881d5f