[INFO] fetching crate juniper-from-schema-code-gen 0.5.2... [INFO] testing juniper-from-schema-code-gen-0.5.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate juniper-from-schema-code-gen 0.5.2 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate juniper-from-schema-code-gen 0.5.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 256 packages to latest compatible versions [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [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.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47360e2a6f18f8a4b2586f31128bfe781b6c58dec2ad1a61e265bf078d4b0ce9 [INFO] running `Command { std: "docker" "start" "-a" "47360e2a6f18f8a4b2586f31128bfe781b6c58dec2ad1a61e265bf078d4b0ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47360e2a6f18f8a4b2586f31128bfe781b6c58dec2ad1a61e265bf078d4b0ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47360e2a6f18f8a4b2586f31128bfe781b6c58dec2ad1a61e265bf078d4b0ce9", kill_on_drop: false }` [INFO] [stdout] 47360e2a6f18f8a4b2586f31128bfe781b6c58dec2ad1a61e265bf078d4b0ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09c0c4020cb227771be2f6c6da7b48b318b63c9dfa8ab3a8a6951e0ca1d470c4 [INFO] running `Command { std: "docker" "start" "-a" "09c0c4020cb227771be2f6c6da7b48b318b63c9dfa8ab3a8a6951e0ca1d470c4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [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" "09c0c4020cb227771be2f6c6da7b48b318b63c9dfa8ab3a8a6951e0ca1d470c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c0c4020cb227771be2f6c6da7b48b318b63c9dfa8ab3a8a6951e0ca1d470c4", kill_on_drop: false }` [INFO] [stdout] 09c0c4020cb227771be2f6c6da7b48b318b63c9dfa8ab3a8a6951e0ca1d470c4