[INFO] cloning repository https://github.com/ryan-m-walker/gql_lsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryan-m-walker/gql_lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryan-m-walker%2Fgql_lsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryan-m-walker%2Fgql_lsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6ee7acdc00e3380fa60e61e2b8eefcf476fdf4d [INFO] checking ryan-m-walker/gql_lsp against try#2c4819a380dbddb1f2a0f4405a49fb6ed90983ae for pr-152996 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryan-m-walker%2Fgql_lsp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ryan-m-walker/gql_lsp [INFO] finished tweaking git repo https://github.com/ryan-m-walker/gql_lsp [INFO] tweaked toml for git repo https://github.com/ryan-m-walker/gql_lsp written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryan-m-walker/gql_lsp on toolchain 2c4819a380dbddb1f2a0f4405a49fb6ed90983ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ryan-m-walker/gql_lsp 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" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c6604ff79b6e9dab62a5ce86c2bbcd6cbad6ee8b1a3cdf0cf705004ee742bdb [INFO] running `Command { std: "docker" "start" "-a" "4c6604ff79b6e9dab62a5ce86c2bbcd6cbad6ee8b1a3cdf0cf705004ee742bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c6604ff79b6e9dab62a5ce86c2bbcd6cbad6ee8b1a3cdf0cf705004ee742bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6604ff79b6e9dab62a5ce86c2bbcd6cbad6ee8b1a3cdf0cf705004ee742bdb", kill_on_drop: false }` [INFO] [stdout] 4c6604ff79b6e9dab62a5ce86c2bbcd6cbad6ee8b1a3cdf0cf705004ee742bdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1201ce092b2df5701a2bb062ce7afec61317c7f65a41679300a5792be865fd66 [INFO] running `Command { std: "docker" "start" "-a" "1201ce092b2df5701a2bb062ce7afec61317c7f65a41679300a5792be865fd66", kill_on_drop: false }` [INFO] [stderr] Checking gql_lsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/visitor/mod.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::types::{Document, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/visitor/mod.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::types::{Document, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/visitor/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let visitor = Visitor::new(document); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxError` is never constructed [INFO] [stdout] --> src/errors.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct SyntaxError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokenize_block_string` is never used [INFO] [stdout] --> src/lexer/mod.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn tokenize_block_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Warning`, `Information`, and `Hint` are never constructed [INFO] [stdout] --> src/lsp/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum DiagnosticSeverity { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 3 | Error, [INFO] [stdout] 4 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | Information, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | Hint, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSeverity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range`, `severity`, and `message` are never read [INFO] [stdout] --> src/lsp/types.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Diagnostic { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | /// The range at which the message applies [INFO] [stdout] 38 | pub range: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub severity: DiagnosticSeverity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/lsp/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Diagnostic { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn print(&self, source: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SchemaExtension` is never constructed [INFO] [stdout] --> src/parser/types.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Definition { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | SchemaExtension(SchemaExtension), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecutableDirectiveLocation` is never used [INFO] [stdout] --> src/parser/types.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | pub enum ExecutableDirectiveLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parser/types.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 363 | impl ExecutableDirectiveLocation { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 364 | pub fn parse(value: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeSystemDirectiveLocation` is never used [INFO] [stdout] --> src/parser/types.rs:380:10 [INFO] [stdout] | [INFO] [stdout] 380 | pub enum TypeSystemDirectiveLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parser/types.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl TypeSystemDirectiveLocation { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 395 | pub fn parse(value: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/parser/types.rs:414:10 [INFO] [stdout] | [INFO] [stdout] 414 | pub enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visit` is never used [INFO] [stdout] --> src/visitor/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn visit(document: Document) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Visitor` is never constructed [INFO] [stdout] --> src/visitor/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/visitor/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Visitor { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(document: Document) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/visitor/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let visitor = Visitor::new(document); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxError` is never constructed [INFO] [stdout] --> src/errors.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct SyntaxError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokenize_block_string` is never used [INFO] [stdout] --> src/lexer/mod.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn tokenize_block_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Warning`, `Information`, and `Hint` are never constructed [INFO] [stdout] --> src/lsp/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum DiagnosticSeverity { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 3 | Error, [INFO] [stdout] 4 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | Information, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | Hint, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSeverity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range`, `severity`, and `message` are never read [INFO] [stdout] --> src/lsp/types.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Diagnostic { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | /// The range at which the message applies [INFO] [stdout] 38 | pub range: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub severity: DiagnosticSeverity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/lsp/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Diagnostic { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn print(&self, source: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SchemaExtension` is never constructed [INFO] [stdout] --> src/parser/types.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Definition { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | SchemaExtension(SchemaExtension), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecutableDirectiveLocation` is never used [INFO] [stdout] --> src/parser/types.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | pub enum ExecutableDirectiveLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parser/types.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 363 | impl ExecutableDirectiveLocation { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 364 | pub fn parse(value: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeSystemDirectiveLocation` is never used [INFO] [stdout] --> src/parser/types.rs:380:10 [INFO] [stdout] | [INFO] [stdout] 380 | pub enum TypeSystemDirectiveLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parser/types.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl TypeSystemDirectiveLocation { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 395 | pub fn parse(value: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/parser/types.rs:414:10 [INFO] [stdout] | [INFO] [stdout] 414 | pub enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visit` is never used [INFO] [stdout] --> src/visitor/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn visit(document: Document) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Visitor` is never constructed [INFO] [stdout] --> src/visitor/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/visitor/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Visitor { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(document: Document) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "1201ce092b2df5701a2bb062ce7afec61317c7f65a41679300a5792be865fd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1201ce092b2df5701a2bb062ce7afec61317c7f65a41679300a5792be865fd66", kill_on_drop: false }` [INFO] [stdout] 1201ce092b2df5701a2bb062ce7afec61317c7f65a41679300a5792be865fd66