[INFO] cloning repository https://github.com/andyyu2004/gqls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andyyu2004/gqls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fgqls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fgqls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b93304d5fdc2f14f9e359c3ecd77f3823a661a5a [INFO] checking andyyu2004/gqls against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fgqls" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/andyyu2004/gqls [INFO] finished tweaking git repo https://github.com/andyyu2004/gqls [INFO] tweaked toml for git repo https://github.com/andyyu2004/gqls written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andyyu2004/gqls on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andyyu2004/gqls 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 287f7c98d15fb50d33a33cf838dcca910aebbf9603d71ef3b2acd7a80e13614a [INFO] running `Command { std: "docker" "start" "-a" "287f7c98d15fb50d33a33cf838dcca910aebbf9603d71ef3b2acd7a80e13614a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "287f7c98d15fb50d33a33cf838dcca910aebbf9603d71ef3b2acd7a80e13614a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287f7c98d15fb50d33a33cf838dcca910aebbf9603d71ef3b2acd7a80e13614a", kill_on_drop: false }` [INFO] [stdout] 287f7c98d15fb50d33a33cf838dcca910aebbf9603d71ef3b2acd7a80e13614a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1410a4e2fa4e1c49a2d3999108e9b48b3e7b82afc97b6b62e3cddeed77770fc [INFO] running `Command { std: "docker" "start" "-a" "e1410a4e2fa4e1c49a2d3999108e9b48b3e7b82afc97b6b62e3cddeed77770fc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking vfs v0.1.0 (/opt/rustwide/workdir/src/vfs) [INFO] [stderr] Compiling gqls-syntax v0.1.0 (/opt/rustwide/workdir/src/gqls-syntax) [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Checking la-arena v0.3.0 (https://github.com/rust-lang/rust-analyzer#79a4a464) [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Checking str_indices v0.4.0 [INFO] [stderr] Checking dissimilar v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking ropey v1.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking expect-test v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling tree-sitter-graphql v0.0.1 (/opt/rustwide/workdir/tree-sitter-graphql) [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking tree-sitter-traversal v0.1.2 [INFO] [stderr] Checking gqls-fixture v0.1.0 (/opt/rustwide/workdir/src/gqls-fixture) [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling salsa-macros v0.17.0-pre.2 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling tower-lsp-macros v0.6.0 [INFO] [stderr] Compiling tracing-test-macro v0.2.2 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking salsa v0.17.0-pre.2 [INFO] [stderr] Checking gqls-base-db v0.1.0 (/opt/rustwide/workdir/src/gqls-base-db) [INFO] [stderr] Checking tracing-test v0.2.2 [INFO] [stderr] Checking testing v0.1.0 (/opt/rustwide/workdir/src/testing) [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking serde v1.0.137 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking smol_str v0.1.23 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde_yaml v0.8.24 [INFO] [stderr] Checking gqls-ir v0.1.0 (/opt/rustwide/workdir/src/gqls-ir) [INFO] [stderr] Checking gqls-ty v0.1.0 (/opt/rustwide/workdir/src/gqls-ty) [INFO] [stderr] Checking gqls-db v0.1.0 (/opt/rustwide/workdir/src/gqls-db) [INFO] [stderr] Checking gqls-ide v0.1.0 (/opt/rustwide/workdir/src/gqls-ide) [INFO] [stdout] warning: unused import: `apply` [INFO] [stdout] --> src/gqls-ide/src/tests.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use apply; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queries` is never constructed [INFO] [stdout] --> src/gqls-ide/src/completions.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Queries {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RangeExt` is never used [INFO] [stdout] --> src/gqls-ide/src/edit.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait RangeExt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | diagnostic!(E0006 @ item.range, typedef_kind = kind, name = item.name), [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | let diagnostic = diagnostic!(E0005 @ item.range, name = item.name; [ [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 162 | | existing => format!("previous definition of type `{}` here", item.name) [INFO] [stdout] 163 | | ]); [INFO] [stdout] | |______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | let diagnostic = diagnostic!(E0004 @ item.range, name = item.name; [ [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 170 | | existing => format!("previous definition of directive `{}` here", item.name) [INFO] [stdout] 171 | | ]); [INFO] [stdout] | |______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | let diag = diagnostic!(E0010 @ range, value = value, ty = ty, err = err); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | self.diagnose(diagnostic!(E0008 @ range, ty_desc = ty.desc(), ty = ty)); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | self.diagnose(diagnostic!(E0009 @ range, ty_desc = ty.desc(), ty = ty)); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | self.diagnose(diagnostic!(E0007 @ name.range, typedef_kind = ty.kind.desc(), typename = ty.kind)), [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | TyKind::Err => self.diagnose(diagnostic!(E0003 @ name.range, typename = name)), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | / diagnostic!(E0007 @ name.range, typedef_kind = ty.desc(), typename = name; [ [INFO] [stdout] 266 | | location => "not an interface" [INFO] [stdout] 267 | | ]), [INFO] [stdout] | |______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | self.diagnose(diagnostic!(E0002 @ directive.name.range, name = directive.name)) [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | .map(|node| diagnostic!(E0001 @ node.range())); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | diagnostic!(E0003 @ diag.range, typename = typename), [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:370:53 [INFO] [stdout] | [INFO] [stdout] 370 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 371 | | assert!(s.starts_with('E')); [INFO] [stdout] 372 | | Ok(Self(u16::from_str_radix(&s[1..], 10).expect("failed to parse error code"))) [INFO] [stdout] 373 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Self(u16::from_str_radix(&s[1..], 10).expect("failed to parse error code"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gqls-ide` (lib) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | diagnostic!(E0006 @ item.range, typedef_kind = kind, name = item.name), [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | let diagnostic = diagnostic!(E0005 @ item.range, name = item.name; [ [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 162 | | existing => format!("previous definition of type `{}` here", item.name) [INFO] [stdout] 163 | | ]); [INFO] [stdout] | |______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | let diagnostic = diagnostic!(E0004 @ item.range, name = item.name; [ [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 170 | | existing => format!("previous definition of directive `{}` here", item.name) [INFO] [stdout] 171 | | ]); [INFO] [stdout] | |______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | let diag = diagnostic!(E0010 @ range, value = value, ty = ty, err = err); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | self.diagnose(diagnostic!(E0008 @ range, ty_desc = ty.desc(), ty = ty)); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | self.diagnose(diagnostic!(E0009 @ range, ty_desc = ty.desc(), ty = ty)); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | self.diagnose(diagnostic!(E0007 @ name.range, typedef_kind = ty.kind.desc(), typename = ty.kind)), [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | TyKind::Err => self.diagnose(diagnostic!(E0003 @ name.range, typename = name)), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | / diagnostic!(E0007 @ name.range, typedef_kind = ty.desc(), typename = name; [ [INFO] [stdout] 266 | | location => "not an interface" [INFO] [stdout] 267 | | ]), [INFO] [stdout] | |______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | self.diagnose(diagnostic!(E0002 @ directive.name.range, name = directive.name)) [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | .map(|node| diagnostic!(E0001 @ node.range())); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | $crate::Diagnostic::new_with_labels($range.into(), stringify!($code).parse().unwrap(), message, labels) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | diagnostic!(E0003 @ diag.range, typename = typename), [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:370:53 [INFO] [stdout] | [INFO] [stdout] 370 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 371 | | assert!(s.starts_with('E')); [INFO] [stdout] 372 | | Ok(Self(u16::from_str_radix(&s[1..], 10).expect("failed to parse error code"))) [INFO] [stdout] 373 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Self(u16::from_str_radix(&s[1..], 10).expect("failed to parse error code"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | |annotation| annotation.text.parse::().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(ErrorCode::from_str("E0002"), Ok(ErrorCode(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:134:46 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(ErrorCode::from_str("E0002"), Ok(ErrorCode(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(ErrorCode::from_str("E0002"), Ok(ErrorCode(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(ErrorCode::from_str("E0002"), Ok(ErrorCode(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(ErrorCode::from_str("E0002"), Ok(ErrorCode(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(ErrorCode::from_str("E0002"), Ok(ErrorCode(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(ErrorCode::from_str("E42"), Ok(ErrorCode(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(ErrorCode::from_str("E42"), Ok(ErrorCode(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(ErrorCode::from_str("E42"), Ok(ErrorCode(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(ErrorCode::from_str("E42"), Ok(ErrorCode(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(ErrorCode::from_str("E42"), Ok(ErrorCode(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/gqls-ide/src/diagnostics/tests.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(ErrorCode::from_str("E42"), Ok(ErrorCode(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gqls-ide` (lib test) due to 27 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e1410a4e2fa4e1c49a2d3999108e9b48b3e7b82afc97b6b62e3cddeed77770fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1410a4e2fa4e1c49a2d3999108e9b48b3e7b82afc97b6b62e3cddeed77770fc", kill_on_drop: false }` [INFO] [stdout] e1410a4e2fa4e1c49a2d3999108e9b48b3e7b82afc97b6b62e3cddeed77770fc