[INFO] cloning repository https://github.com/commonkestrel/warp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/commonkestrel/warp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Fwarp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Fwarp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 637d9858f393e4ba217a85490177fc6895edeccf [INFO] checking commonkestrel/warp/637d9858f393e4ba217a85490177fc6895edeccf against master#91775dbec9771aa0c1b9ebe268eb5bd271e79a7a for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Fwarp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/commonkestrel/warp [INFO] finished tweaking git repo https://github.com/commonkestrel/warp [INFO] tweaked toml for git repo https://github.com/commonkestrel/warp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/commonkestrel/warp on toolchain 91775dbec9771aa0c1b9ebe268eb5bd271e79a7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/commonkestrel/warp 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" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/commonkestrel/nurse` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.15.1 [INFO] [stderr] Downloaded smol-macros v0.1.1 [INFO] [stderr] Downloaded concat-idents v1.1.5 [INFO] [stderr] Downloaded clap-verbosity-flag v2.2.3 [INFO] [stderr] Downloaded clio v0.3.5 [INFO] [stderr] Downloaded logos-codegen v0.15.1 [INFO] [stderr] Downloaded oem_cp v2.1.1 [INFO] [stderr] Downloaded git2 v0.19.0 [INFO] [stderr] Downloaded smol v2.0.2 [INFO] [stderr] Downloaded logos v0.15.1 [INFO] [stderr] Downloaded libgit2-sys v0.17.0+1.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d9525c801c3f2f28e94d9ac76f82e1b211b0ef86534a0597bb15832cdf67ac7 [INFO] running `Command { std: "docker" "start" "-a" "9d9525c801c3f2f28e94d9ac76f82e1b211b0ef86534a0597bb15832cdf67ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d9525c801c3f2f28e94d9ac76f82e1b211b0ef86534a0597bb15832cdf67ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d9525c801c3f2f28e94d9ac76f82e1b211b0ef86534a0597bb15832cdf67ac7", kill_on_drop: false }` [INFO] [stdout] 9d9525c801c3f2f28e94d9ac76f82e1b211b0ef86534a0597bb15832cdf67ac7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+91775dbec9771aa0c1b9ebe268eb5bd271e79a7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74f4620d9e1d6728e0ac6b0944e93a6a5ebcc8ea87f528f29b6b0a156ec997a7 [INFO] running `Command { std: "docker" "start" "-a" "74f4620d9e1d6728e0ac6b0944e93a6a5ebcc8ea87f528f29b6b0a156ec997a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling logos-codegen v0.15.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking oem_cp v2.1.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking smol-macros v0.1.1 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking smol v2.0.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling concat-idents v1.1.5 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.2 [INFO] [stderr] Compiling logos-derive v0.15.1 [INFO] [stderr] Checking nurse v0.1.0 (https://github.com/commonkestrel/nurse#5277d59a) [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking clap-verbosity-flag v2.2.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking logos v0.15.1 [INFO] [stderr] Checking clio v0.3.5 [INFO] [stderr] Checking lazy-regex v3.4.2 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking warp-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Input` and `Output` [INFO] [stdout] --> src/build.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clio::{Input, Output}; [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: `Database` [INFO] [stdout] --> src/build.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use frontend::hir::{weak::unresolved::UnresolvedDb, Database}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unblock` [INFO] [stdout] --> src/build.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use smol::{fs::File, io::AsyncWriteExt, Unblock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `ast::Function`, `info::CompInfo`, and `lex::Token` [INFO] [stdout] --> src/build.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ast::Function, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | info::CompInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | lex::Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | parse::{parse, Cursor}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Index` and `sync::Arc` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, ops::Index, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryOp`, `UnaryOp`, and `ascii::AsciiStr` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ascii::AsciiStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | ast::{BinaryOp, Expr, Mutability, Path, PathSegment, Statement, UnaryOp}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnresolvedDb` [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | weak::unresolved::{self, ItemId, UnresolvedDb}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/build/syntax/lex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `seek` [INFO] [stdout] --> src/build/syntax/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | seek, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LibSrc` and `Lib` [INFO] [stdout] --> src/build/syntax/parse.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | info::{Lib, LibSrc}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Repository` [INFO] [stdout] --> src/build/lib/locator.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use git2::{build::RepoBuilder, Repository}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `Output` [INFO] [stdout] --> src/build.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clio::{Input, Output}; [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: `Database` [INFO] [stdout] --> src/build.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use frontend::hir::{weak::unresolved::UnresolvedDb, Database}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unblock` [INFO] [stdout] --> src/build.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use smol::{fs::File, io::AsyncWriteExt, Unblock}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `ast::Function`, `info::CompInfo`, and `lex::Token` [INFO] [stdout] --> src/build.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ast::Function, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | info::CompInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | lex::Token, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | parse::{parse, Cursor}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Index` and `sync::Arc` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, ops::Index, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryOp`, `UnaryOp`, and `ascii::AsciiStr` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ascii::AsciiStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | ast::{BinaryOp, Expr, Mutability, Path, PathSegment, Statement, UnaryOp}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnresolvedDb` [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | weak::unresolved::{self, ItemId, UnresolvedDb}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/build/syntax/lex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `seek` [INFO] [stdout] --> src/build/syntax/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | seek, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LibSrc` and `Lib` [INFO] [stdout] --> src/build/syntax/parse.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | info::{Lib, LibSrc}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Repository` [INFO] [stdout] --> src/build/lib/locator.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use git2::{build::RepoBuilder, Repository}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build/syntax/info.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | Err(mut err) => reporter.report(Diagnostic::spanned_error(s, err)).await, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build/syntax/info.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | Err(mut err) => reporter.report(Diagnostic::spanned_error(s, err)).await, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/parse.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | Err(err) => cursor.seek(&Token::Punctuation(Punctuation::Semicolon)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/parse.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | ... Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/ast.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/ast.rs:1357:29 [INFO] [stdout] | [INFO] [stdout] 1357 | Err(err) => return Spanned::new(Type::Err, cursor.eof()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | let (func, span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | let (constant, const_span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let (stat, const_span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | let (progmem, const_span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | let (space, space_span) = subspace.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(db) = Box::pin(Database::resolve( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/ast.rs:892:25 [INFO] [stdout] | [INFO] [stdout] 892 | Err(err) => return Spanned::new(Expr::Err, span), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/build/syntax/lex.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/build/syntax/lex.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/parse.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | Err(err) => cursor.seek(&Token::Punctuation(Punctuation::Semicolon)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/parse.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | ... Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/ast.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/ast.rs:1357:29 [INFO] [stdout] | [INFO] [stdout] 1357 | Err(err) => return Spanned::new(Type::Err, cursor.eof()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | let (func, span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | let (constant, const_span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let (stat, const_span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | let (progmem, const_span) = spanned.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_span` [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | let (space, space_span) = subspace.deconstruct(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(db) = Box::pin(Database::resolve( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/build/syntax/ast.rs:892:25 [INFO] [stdout] | [INFO] [stdout] 892 | Err(err) => return Spanned::new(Expr::Err, span), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/build/syntax/lex.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/build/syntax/lex.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/build/ascii.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | write!(f, "\"{}\"", unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/build/ascii.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | write!(f, "{}", unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Database {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability` and `ty` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | Pointer { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 31 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | ty: Box>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 `0` is never read [INFO] [stdout] --> src/build/frontend/hir.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Tuple(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 34 - Tuple(Vec>), [INFO] [stdout] 34 + Tuple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | Array(Box>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 35 - Array(Box>), [INFO] [stdout] 35 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parameters` and `return_type` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | Fn { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 37 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | return_type: Box>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 `ident_span`, `visibility`, and `inner` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Visible { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | ident_span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Visible` 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: methods `ident_span`, `into_ident_span`, `visibility`, `inner`, and `into_inner` are never used [INFO] [stdout] --> src/build/frontend/hir.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Visible { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn ident_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn into_ident_span(self) -> Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn visibility(&self) -> Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl UnresolvedDb { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get(&self, index: &Spanned) -> Result, Diagnostic> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_path` is never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | pub async fn resolve_path( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_local` is never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn get_local( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | Fn(Function), [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 365 - Fn(Function), [INFO] [stdout] 365 + Fn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | Const(Spanned), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 366 - Const(Spanned), [INFO] [stdout] 366 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | Static(Static), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 367 - Static(Static), [INFO] [stdout] 367 + Static(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | Progmem(Progmem), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 368 - Progmem(Progmem), [INFO] [stdout] 368 + Progmem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 369 | Subspace(UnresolvedDb), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 369 - Subspace(UnresolvedDb), [INFO] [stdout] 369 + Subspace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | Library(UnresolvedDb), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 370 - Library(UnresolvedDb), [INFO] [stdout] 370 + Library(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `description` and `get` are never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 373 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 374 | fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `value` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 427 | pub struct Static { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 428 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 429 | value: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` 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 `ty` and `value` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct Progmem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 434 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 435 | value: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Progmem` 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 `parameters`, `return_type`, and `body` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 440 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 441 | return_type: Spanned, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 442 | body: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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 `mutability`, `ident`, and `ty` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 447 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 448 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 449 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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 `Typed` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Typed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `resolve` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 33 | impl Database { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 34 | pub async fn resolve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Function {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Static` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Static {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Progmem` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Progmem {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WeakTyped` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct WeakTyped { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl WeakTyped { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 164 | pub fn new(inner: T, ty: MaybeType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaybeType` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | pub enum MaybeType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct ForLoop { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhileLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct WhileLoop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinOp` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct BinOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | Expr(Expr), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 212 - Expr(Expr), [INFO] [stdout] 212 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | Block(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 213 - Block(Vec>), [INFO] [stdout] 213 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition`, `content`, and `else_block` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 215 | condition: Parenthesized>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 216 | content: Box>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 217 | else_block: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | For(Box), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 219 - For(Box), [INFO] [stdout] 219 + For(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | While(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 220 - While(Box), [INFO] [stdout] 220 + While(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | Return(Option>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 223 - Return(Option>), [INFO] [stdout] 223 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | Asm(Parenthesized>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 224 - Asm(Parenthesized>), [INFO] [stdout] 224 + Asm(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability`, `ident`, `ty`, and `assignment` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 225 | Var { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 226 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 227 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 228 | ty: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 229 | assignment: Spanned, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `header` and `content` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct ForLoop { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 420 | header: Parenthesized, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 421 | content: Spanned, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForLoop` 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 `init`, `check`, and `post` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct ForHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 426 | init: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] 427 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 428 | post: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForHeader` 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 `check` and `contents` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct WhileLoop { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 451 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 452 | contents: Spanned, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileLoop` 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 `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:458:15 [INFO] [stdout] | [INFO] [stdout] 458 | Immediate(i128), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 458 - Immediate(i128), [INFO] [stdout] 458 + Immediate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 459 - Boolean(bool), [INFO] [stdout] 459 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | Str(AsciiStr), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 460 - Str(AsciiStr), [INFO] [stdout] 460 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 461 | Reference(Path), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 461 - Reference(Path), [INFO] [stdout] 461 + Reference(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:462:10 [INFO] [stdout] | [INFO] [stdout] 462 | Call(Box>, Punctuated, Token![,]>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 462 - Call(Box>, Punctuated, Token![,]>), [INFO] [stdout] 462 + Call((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:464:11 [INFO] [stdout] | [INFO] [stdout] 464 | Array(Punctuated, Token![,]>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 464 - Array(Punctuated, Token![,]>), [INFO] [stdout] 464 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | BinaryOp(Box), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 465 - BinaryOp(Box), [INFO] [stdout] 465 + BinaryOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | UnaryOp(Spanned, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 466 - UnaryOp(Spanned, Box>), [INFO] [stdout] 466 + UnaryOp((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | As(Box>, Spanned), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 467 - As(Box>, Spanned), [INFO] [stdout] 467 + As((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | Sizeof(Spanned), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 468 - Sizeof(Spanned), [INFO] [stdout] 468 + Sizeof(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:1072:5 [INFO] [stdout] | [INFO] [stdout] 1071 | pub struct Path { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 1072 | start: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Path` 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: methods `start`, `end`, `segments`, and `into_segments` are never used [INFO] [stdout] --> src/build/syntax/ast.rs:1077:12 [INFO] [stdout] | [INFO] [stdout] 1076 | impl Path { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 1077 | pub fn start(&self) -> &Spanned { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1081 | pub fn end(&self) -> Spanned { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1092 | pub fn segments(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1096 | pub fn into_segments(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs`, `op`, and `rhs` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1209 | pub struct BinOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 1210 | lhs: Spanned, [INFO] [stdout] | ^^^ [INFO] [stdout] 1211 | op: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 1212 | rhs: Spanned, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` 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: variant `Mod` is never constructed [INFO] [stdout] --> src/build/syntax/ast.rs:1227:5 [INFO] [stdout] | [INFO] [stdout] 1222 | pub enum BinaryOp { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1227 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` 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 `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:1256:9 [INFO] [stdout] | [INFO] [stdout] 1256 | Ref(Mutability), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` 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] 1256 - Ref(Mutability), [INFO] [stdout] 1256 + Ref(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Errors` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type Errors = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_string` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subdir` is never read [INFO] [stdout] --> src/build/syntax/parse.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Namespace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 60 | pub subdir: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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: methods `stream`, `peek2`, `check2`, and `peek_offset` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 371 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn stream(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn peek2(&self) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn check2(&self, other: &Token) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn peek_offset(&self, offset: usize) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `len`, `last`, `first`, `values`, and `to_vec` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 499 | impl Punctuated { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn last(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub fn first(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | pub fn to_vec(self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | / delimeterized!( [INFO] [stdout] 785 | | "parenthesized", [INFO] [stdout] 786 | | Parenthesized, [INFO] [stdout] 787 | | parenthesized, [INFO] [stdout] ... | [INFO] [stdout] 792 | | "parenthesis" [INFO] [stdout] 793 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parenthesized` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 787 | parenthesized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | / delimeterized!( [INFO] [stdout] 795 | | "bracketed", [INFO] [stdout] 796 | | Bracketed, [INFO] [stdout] 797 | | bracketed, [INFO] [stdout] ... | [INFO] [stdout] 802 | | "bracket" [INFO] [stdout] 803 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bracketed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 797 | bracketed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 804 | / delimeterized!( [INFO] [stdout] 805 | | "braced", [INFO] [stdout] 806 | | Braced, [INFO] [stdout] 807 | | braced, [INFO] [stdout] ... | [INFO] [stdout] 812 | | "brace" [INFO] [stdout] 813 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `braced` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:807:5 [INFO] [stdout] | [INFO] [stdout] 807 | braced, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 814 | / delimeterized!( [INFO] [stdout] 815 | | "arrowed", [INFO] [stdout] 816 | | Arrowed, [INFO] [stdout] 817 | | arrowed, [INFO] [stdout] ... | [INFO] [stdout] 822 | | "arrow" [INFO] [stdout] 823 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arrowed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:817:5 [INFO] [stdout] | [INFO] [stdout] 817 | arrowed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `WHITESPACE`, `from_bytes_unchecked`, `into_bytes`, and `trim` are never used [INFO] [stdout] --> src/build/ascii.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl AsciiStr { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | const WHITESPACE: [u8; 3] = [0x00, 0x20, 0xFF]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub unsafe fn from_bytes_unchecked>(buf: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn into_bytes(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn trim(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/build/syntax/parse.rs:449:41 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn slice>>(&mut self, range: R) -> Cursor { [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] 449 | pub fn slice>>(&mut self, range: R) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/build/syntax/parse.rs:531:60 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 531 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/build/ascii.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | write!(f, "\"{}\"", unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/build/ascii.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | write!(f, "{}", unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Database {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability` and `ty` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | Pointer { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 31 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | ty: Box>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 `0` is never read [INFO] [stdout] --> src/build/frontend/hir.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Tuple(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 34 - Tuple(Vec>), [INFO] [stdout] 34 + Tuple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | Array(Box>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 35 - Array(Box>), [INFO] [stdout] 35 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parameters` and `return_type` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | Fn { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 37 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | return_type: Box>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 `ident_span`, `visibility`, and `inner` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Visible { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | ident_span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | inner: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Visible` 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: methods `ident_span`, `into_ident_span`, `visibility`, `inner`, and `into_inner` are never used [INFO] [stdout] --> src/build/frontend/hir.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Visible { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn ident_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn into_ident_span(self) -> Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn visibility(&self) -> Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl UnresolvedDb { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get(&self, index: &Spanned) -> Result, Diagnostic> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_path` is never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | pub async fn resolve_path( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_local` is never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn get_local( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | Fn(Function), [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 365 - Fn(Function), [INFO] [stdout] 365 + Fn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | Const(Spanned), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 366 - Const(Spanned), [INFO] [stdout] 366 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | Static(Static), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 367 - Static(Static), [INFO] [stdout] 367 + Static(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | Progmem(Progmem), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 368 - Progmem(Progmem), [INFO] [stdout] 368 + Progmem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 369 | Subspace(UnresolvedDb), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 369 - Subspace(UnresolvedDb), [INFO] [stdout] 369 + Subspace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | Library(UnresolvedDb), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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] 370 - Library(UnresolvedDb), [INFO] [stdout] 370 + Library(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `description` and `get` are never used [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 373 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 374 | fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `value` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 427 | pub struct Static { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 428 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 429 | value: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` 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 `ty` and `value` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct Progmem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 434 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 435 | value: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Progmem` 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 `parameters`, `return_type`, and `body` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 440 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 441 | return_type: Spanned, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 442 | body: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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 `mutability`, `ident`, and `ty` are never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 447 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 448 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 449 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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 `Typed` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Typed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `resolve` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 33 | impl Database { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 34 | pub async fn resolve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct Function {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Static` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Static {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Progmem` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Progmem {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WeakTyped` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct WeakTyped { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl WeakTyped { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 164 | pub fn new(inner: T, ty: MaybeType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaybeType` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | pub enum MaybeType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct ForLoop { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhileLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct WhileLoop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinOp` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct BinOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | Expr(Expr), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 212 - Expr(Expr), [INFO] [stdout] 212 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | Block(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 213 - Block(Vec>), [INFO] [stdout] 213 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition`, `content`, and `else_block` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 215 | condition: Parenthesized>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 216 | content: Box>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 217 | else_block: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | For(Box), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 219 - For(Box), [INFO] [stdout] 219 + For(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | While(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 220 - While(Box), [INFO] [stdout] 220 + While(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | Return(Option>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 223 - Return(Option>), [INFO] [stdout] 223 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | Asm(Parenthesized>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 224 - Asm(Parenthesized>), [INFO] [stdout] 224 + Asm(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability`, `ident`, `ty`, and `assignment` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 225 | Var { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 226 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 227 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 228 | ty: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 229 | assignment: Spanned, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `header` and `content` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct ForLoop { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 420 | header: Parenthesized, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 421 | content: Spanned, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForLoop` 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 `init`, `check`, and `post` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct ForHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 426 | init: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] 427 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 428 | post: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForHeader` 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 `check` and `contents` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct WhileLoop { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 451 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 452 | contents: Spanned, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileLoop` 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 `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:458:15 [INFO] [stdout] | [INFO] [stdout] 458 | Immediate(i128), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 458 - Immediate(i128), [INFO] [stdout] 458 + Immediate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 459 - Boolean(bool), [INFO] [stdout] 459 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | Str(AsciiStr), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 460 - Str(AsciiStr), [INFO] [stdout] 460 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 461 | Reference(Path), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 461 - Reference(Path), [INFO] [stdout] 461 + Reference(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:462:10 [INFO] [stdout] | [INFO] [stdout] 462 | Call(Box>, Punctuated, Token![,]>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 462 - Call(Box>, Punctuated, Token![,]>), [INFO] [stdout] 462 + Call((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:464:11 [INFO] [stdout] | [INFO] [stdout] 464 | Array(Punctuated, Token![,]>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 464 - Array(Punctuated, Token![,]>), [INFO] [stdout] 464 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | BinaryOp(Box), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 465 - BinaryOp(Box), [INFO] [stdout] 465 + BinaryOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | UnaryOp(Spanned, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 466 - UnaryOp(Spanned, Box>), [INFO] [stdout] 466 + UnaryOp((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | As(Box>, Spanned), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 467 - As(Box>, Spanned), [INFO] [stdout] 467 + As((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | Sizeof(Spanned), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 468 - Sizeof(Spanned), [INFO] [stdout] 468 + Sizeof(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:1072:5 [INFO] [stdout] | [INFO] [stdout] 1071 | pub struct Path { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 1072 | start: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Path` 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: methods `start`, `end`, `segments`, and `into_segments` are never used [INFO] [stdout] --> src/build/syntax/ast.rs:1077:12 [INFO] [stdout] | [INFO] [stdout] 1076 | impl Path { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 1077 | pub fn start(&self) -> &Spanned { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1081 | pub fn end(&self) -> Spanned { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1092 | pub fn segments(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1096 | pub fn into_segments(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs`, `op`, and `rhs` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1209 | pub struct BinOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 1210 | lhs: Spanned, [INFO] [stdout] | ^^^ [INFO] [stdout] 1211 | op: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 1212 | rhs: Spanned, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` 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: variant `Mod` is never constructed [INFO] [stdout] --> src/build/syntax/ast.rs:1227:5 [INFO] [stdout] | [INFO] [stdout] 1222 | pub enum BinaryOp { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1227 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` 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 `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:1256:9 [INFO] [stdout] | [INFO] [stdout] 1256 | Ref(Mutability), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` 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] 1256 - Ref(Mutability), [INFO] [stdout] 1256 + Ref(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Errors` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type Errors = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_string` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subdir` is never read [INFO] [stdout] --> src/build/syntax/parse.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Namespace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 60 | pub subdir: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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: methods `stream`, `peek2`, `check2`, and `peek_offset` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 371 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn stream(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn peek2(&self) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn check2(&self, other: &Token) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn peek_offset(&self, offset: usize) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `len`, `last`, `first`, `values`, and `to_vec` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 499 | impl Punctuated { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn last(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub fn first(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | pub fn to_vec(self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | / delimeterized!( [INFO] [stdout] 785 | | "parenthesized", [INFO] [stdout] 786 | | Parenthesized, [INFO] [stdout] 787 | | parenthesized, [INFO] [stdout] ... | [INFO] [stdout] 792 | | "parenthesis" [INFO] [stdout] 793 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parenthesized` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 787 | parenthesized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | / delimeterized!( [INFO] [stdout] 795 | | "bracketed", [INFO] [stdout] 796 | | Bracketed, [INFO] [stdout] 797 | | bracketed, [INFO] [stdout] ... | [INFO] [stdout] 802 | | "bracket" [INFO] [stdout] 803 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bracketed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 797 | bracketed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 804 | / delimeterized!( [INFO] [stdout] 805 | | "braced", [INFO] [stdout] 806 | | Braced, [INFO] [stdout] 807 | | braced, [INFO] [stdout] ... | [INFO] [stdout] 812 | | "brace" [INFO] [stdout] 813 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `braced` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:807:5 [INFO] [stdout] | [INFO] [stdout] 807 | braced, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:653:20 [INFO] [stdout] | [INFO] [stdout] 648 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 814 | / delimeterized!( [INFO] [stdout] 815 | | "arrowed", [INFO] [stdout] 816 | | Arrowed, [INFO] [stdout] 817 | | arrowed, [INFO] [stdout] ... | [INFO] [stdout] 822 | | "arrow" [INFO] [stdout] 823 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arrowed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:817:5 [INFO] [stdout] | [INFO] [stdout] 817 | arrowed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `WHITESPACE`, `from_bytes_unchecked`, `into_bytes`, and `trim` are never used [INFO] [stdout] --> src/build/ascii.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl AsciiStr { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | const WHITESPACE: [u8; 3] = [0x00, 0x20, 0xFF]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub unsafe fn from_bytes_unchecked>(buf: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn into_bytes(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn trim(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/build/syntax/parse.rs:449:41 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn slice>>(&mut self, range: R) -> Cursor { [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] 449 | pub fn slice>>(&mut self, range: R) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/build/syntax/parse.rs:531:60 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 531 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.27s [INFO] running `Command { std: "docker" "inspect" "74f4620d9e1d6728e0ac6b0944e93a6a5ebcc8ea87f528f29b6b0a156ec997a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f4620d9e1d6728e0ac6b0944e93a6a5ebcc8ea87f528f29b6b0a156ec997a7", kill_on_drop: false }` [INFO] [stdout] 74f4620d9e1d6728e0ac6b0944e93a6a5ebcc8ea87f528f29b6b0a156ec997a7