[INFO] cloning repository https://github.com/WarZone762/nvse-lsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WarZone762/nvse-lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarZone762%2Fnvse-lsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarZone762%2Fnvse-lsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef03658dfab13d9349b0b33e0c5e90df05bebc52 [INFO] checking WarZone762/nvse-lsp against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarZone762%2Fnvse-lsp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WarZone762/nvse-lsp on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WarZone762/nvse-lsp [INFO] finished tweaking git repo https://github.com/WarZone762/nvse-lsp [INFO] tweaked toml for git repo https://github.com/WarZone762/nvse-lsp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WarZone762/nvse-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lsp-types v0.96.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59fc5722417109cfe390a1318183838233e8da73d27b69494b8f1d2809b7fa77 [INFO] running `Command { std: "docker" "start" "-a" "59fc5722417109cfe390a1318183838233e8da73d27b69494b8f1d2809b7fa77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59fc5722417109cfe390a1318183838233e8da73d27b69494b8f1d2809b7fa77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59fc5722417109cfe390a1318183838233e8da73d27b69494b8f1d2809b7fa77", kill_on_drop: false }` [INFO] [stdout] 59fc5722417109cfe390a1318183838233e8da73d27b69494b8f1d2809b7fa77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12869ac0798a88388958234384c469543afe1a06a107ef31e6e82714ca47e9f0 [INFO] running `Command { std: "docker" "start" "-a" "12869ac0798a88388958234384c469543afe1a06a107ef31e6e82714ca47e9f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking la-arena v0.3.1 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking similar-asserts v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking lsp-types v0.96.0 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking nvse-lsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:395:33 [INFO] [stdout] | [INFO] [stdout] 395 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:437:45 [INFO] [stdout] | [INFO] [stdout] 437 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:446:45 [INFO] [stdout] | [INFO] [stdout] 446 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:455:45 [INFO] [stdout] | [INFO] [stdout] 455 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:470:41 [INFO] [stdout] | [INFO] [stdout] 470 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:511:28 [INFO] [stdout] | [INFO] [stdout] 511 | if let Err(x) = old_ty.union(&mut ty, &mut constraint_map) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:395:33 [INFO] [stdout] | [INFO] [stdout] 395 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:437:45 [INFO] [stdout] | [INFO] [stdout] 437 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:446:45 [INFO] [stdout] | [INFO] [stdout] 446 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:455:45 [INFO] [stdout] | [INFO] [stdout] 455 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:470:41 [INFO] [stdout] | [INFO] [stdout] 470 | ... Err(x) => ()/* println!("{x}") */, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/hir/infer.rs:511:28 [INFO] [stdout] | [INFO] [stdout] 511 | if let Err(x) = old_ty.union(&mut ty, &mut constraint_map) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AstToken` is never used [INFO] [stdout] --> src/ast.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) trait AstToken { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn script_to_hir(&self, file_id: FileId, node: &ast::Script) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn item_to_hir(&self, file_id: FileId, node: &ast::Item) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn stmt_to_hir(&self, file_id: FileId, node: &ast::Stmt) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn expr_to_hir(&self, file_id: FileId, node: &ast::Expr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn var_decl_to_hir(&self, file_id: FileId, node: ast::VarDecl) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn block_to_hir(&self, file_id: FileId, node: ast::BlockStmt) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn name_to_hir(&self, file_id: FileId, node: ast::Name) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn str_shard_to_hir(&self, file_id: FileId, node: ast::StrShard) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_` is never used [INFO] [stdout] --> src/db/script.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl ExprId { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn type_(&self, db: &Database, file_id: FileId) -> InferredType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language_id` is never read [INFO] [stdout] --> src/doc.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct DocMeta { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 90 | pub uri: Url, [INFO] [stdout] 91 | pub language_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocktype_kind` is never read [INFO] [stdout] --> src/hir.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 216 | pub(crate) struct BlockTypeItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 217 | pub blocktype_kind: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockTypeItem` 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: field `export` is never read [INFO] [stdout] --> src/hir.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 374 | pub(crate) struct VarDeclStmt { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 375 | pub export: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDeclStmt` 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: field `op` is never read [INFO] [stdout] --> src/hir.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 505 | pub(crate) struct BinExpr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 506 | pub lhs: ExprId, [INFO] [stdout] 507 | pub op: BinOpKind, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinExpr` 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: field `op` is never read [INFO] [stdout] --> src/hir.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 606 | pub(crate) struct UnaryExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 607 | pub op: UnaryOpKind, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryExpr` 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: field `op` is never read [INFO] [stdout] --> src/hir.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 652 | pub(crate) struct PostfixExpr { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 653 | pub operand: ExprId, [INFO] [stdout] 654 | pub op: PostfixOpKind, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixExpr` 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: field `val` is never read [INFO] [stdout] --> src/hir.rs:850:11 [INFO] [stdout] | [INFO] [stdout] 850 | Str { val: String, node: ast::StrShard }, [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrShard` 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: field `value` is never read [INFO] [stdout] --> src/hir.rs:912:9 [INFO] [stdout] | [INFO] [stdout] 911 | pub(crate) struct NumberLiteral { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 912 | pub value: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberLiteral` 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: field `value` is never read [INFO] [stdout] --> src/hir.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 917 | pub(crate) struct BoolLiteral { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 918 | pub value: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoolLiteral` 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: struct `Printer` is never constructed [INFO] [stdout] --> src/hir/printer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Printer<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `push_indent`, `indent`, `unindent`, and `finish` are never used [INFO] [stdout] --> src/hir/printer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Printer<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(file_id: db::FileId, db: &'a Database, script_db: &'a ScriptDatabase) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn push(&mut self, string: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn push_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn unindent(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn finish(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Print` is never used [INFO] [stdout] --> src/hir/printer.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) trait Print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrintDelim` is never used [INFO] [stdout] --> src/hir/printer.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) trait PrintDelim { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warn_and_next` and `warn` are never used [INFO] [stdout] --> src/parser.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn warn_and_next(&mut self, msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn warn(&mut self, msg: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/parser.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) struct CompletedMarker { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 143 | pos: usize, [INFO] [stdout] 144 | kind: NodeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletedMarker` 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 `extend_to` is never used [INFO] [stdout] --> src/parser.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl CompletedMarker { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn extend_to(self, p: &mut Parser, m: Marker) -> CompletedMarker { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `abandon` is never used [INFO] [stdout] --> src/parser.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Marker { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn abandon(self, p: &mut Parser) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | Token(TokenKind), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 207 | Token(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `offset` and `parent` are never used [INFO] [stdout] --> src/syntax_node.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl NodeOrToken { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn offset(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn parent(&self) -> &Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `siblings` and `prev_sibling` are never used [INFO] [stdout] --> src/syntax_node/api.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl<'a> NodeOrTokenRef<'a> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 6 | pub fn siblings(&self) -> Option + 'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn prev_sibling(&self) -> Option<&'a NodeOrToken> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_token` is never used [INFO] [stdout] --> src/syntax_node/api.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn last_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ancestors` and `prev_token` are never used [INFO] [stdout] --> src/syntax_node/api.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 70 | pub fn ancestors(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn prev_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AstToken` is never used [INFO] [stdout] --> src/ast.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) trait AstToken { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn script_to_hir(&self, file_id: FileId, node: &ast::Script) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn item_to_hir(&self, file_id: FileId, node: &ast::Item) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn stmt_to_hir(&self, file_id: FileId, node: &ast::Stmt) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn expr_to_hir(&self, file_id: FileId, node: &ast::Expr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn var_decl_to_hir(&self, file_id: FileId, node: ast::VarDecl) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn block_to_hir(&self, file_id: FileId, node: ast::BlockStmt) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn name_to_hir(&self, file_id: FileId, node: ast::Name) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn str_shard_to_hir(&self, file_id: FileId, node: ast::StrShard) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_` is never used [INFO] [stdout] --> src/db/script.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl ExprId { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn type_(&self, db: &Database, file_id: FileId) -> InferredType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language_id` is never read [INFO] [stdout] --> src/doc.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct DocMeta { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 90 | pub uri: Url, [INFO] [stdout] 91 | pub language_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocktype_kind` is never read [INFO] [stdout] --> src/hir.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 216 | pub(crate) struct BlockTypeItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 217 | pub blocktype_kind: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockTypeItem` 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: field `export` is never read [INFO] [stdout] --> src/hir.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 374 | pub(crate) struct VarDeclStmt { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 375 | pub export: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDeclStmt` 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: field `op` is never read [INFO] [stdout] --> src/hir.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 505 | pub(crate) struct BinExpr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 506 | pub lhs: ExprId, [INFO] [stdout] 507 | pub op: BinOpKind, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinExpr` 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: field `op` is never read [INFO] [stdout] --> src/hir.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 606 | pub(crate) struct UnaryExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 607 | pub op: UnaryOpKind, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryExpr` 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: field `op` is never read [INFO] [stdout] --> src/hir.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 652 | pub(crate) struct PostfixExpr { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 653 | pub operand: ExprId, [INFO] [stdout] 654 | pub op: PostfixOpKind, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixExpr` 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: field `val` is never read [INFO] [stdout] --> src/hir.rs:850:11 [INFO] [stdout] | [INFO] [stdout] 850 | Str { val: String, node: ast::StrShard }, [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrShard` 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: field `value` is never read [INFO] [stdout] --> src/hir.rs:912:9 [INFO] [stdout] | [INFO] [stdout] 911 | pub(crate) struct NumberLiteral { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 912 | pub value: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberLiteral` 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: field `value` is never read [INFO] [stdout] --> src/hir.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 917 | pub(crate) struct BoolLiteral { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 918 | pub value: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoolLiteral` 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: struct `Printer` is never constructed [INFO] [stdout] --> src/hir/printer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Printer<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `push_indent`, `indent`, `unindent`, and `finish` are never used [INFO] [stdout] --> src/hir/printer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Printer<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(file_id: db::FileId, db: &'a Database, script_db: &'a ScriptDatabase) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn push(&mut self, string: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn push_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn unindent(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn finish(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Print` is never used [INFO] [stdout] --> src/hir/printer.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) trait Print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrintDelim` is never used [INFO] [stdout] --> src/hir/printer.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) trait PrintDelim { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warn_and_next` and `warn` are never used [INFO] [stdout] --> src/parser.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn warn_and_next(&mut self, msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn warn(&mut self, msg: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/parser.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) struct CompletedMarker { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 143 | pos: usize, [INFO] [stdout] 144 | kind: NodeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletedMarker` 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 `extend_to` is never used [INFO] [stdout] --> src/parser.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl CompletedMarker { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn extend_to(self, p: &mut Parser, m: Marker) -> CompletedMarker { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `abandon` is never used [INFO] [stdout] --> src/parser.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Marker { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn abandon(self, p: &mut Parser) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | Token(TokenKind), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 207 | Token(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `case_paths` is never used [INFO] [stdout] --> src/parser.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn case_paths() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `offset` and `parent` are never used [INFO] [stdout] --> src/syntax_node.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl NodeOrToken { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn offset(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn parent(&self) -> &Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `siblings` and `prev_sibling` are never used [INFO] [stdout] --> src/syntax_node/api.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl<'a> NodeOrTokenRef<'a> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 6 | pub fn siblings(&self) -> Option + 'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn prev_sibling(&self) -> Option<&'a NodeOrToken> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_token` is never used [INFO] [stdout] --> src/syntax_node/api.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn last_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ancestors` and `prev_token` are never used [INFO] [stdout] --> src/syntax_node/api.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 70 | pub fn ancestors(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn prev_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.73s [INFO] running `Command { std: "docker" "inspect" "12869ac0798a88388958234384c469543afe1a06a107ef31e6e82714ca47e9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12869ac0798a88388958234384c469543afe1a06a107ef31e6e82714ca47e9f0", kill_on_drop: false }` [INFO] [stdout] 12869ac0798a88388958234384c469543afe1a06a107ef31e6e82714ca47e9f0