[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] d3d70741d2bc60e95102c7830a3e7748ac690a91 [INFO] checking commonkestrel/warp against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Fwarp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/commonkestrel/warp on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking commonkestrel/warp against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Fwarp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/commonkestrel/warp on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking commonkestrel/warp against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Fwarp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/commonkestrel/warp on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Downloaded clap-verbosity-flag v2.2.0 [INFO] [stderr] Downloaded clio v0.3.5 [INFO] [stderr] Downloaded lazy-regex v3.1.0 [INFO] [stderr] Downloaded oem_cp v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afc48b857049570a9235ce5508e28258e7b9b3540f16a2103546f3f668cb4b5e [INFO] running `Command { std: "docker" "start" "-a" "afc48b857049570a9235ce5508e28258e7b9b3540f16a2103546f3f668cb4b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afc48b857049570a9235ce5508e28258e7b9b3540f16a2103546f3f668cb4b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc48b857049570a9235ce5508e28258e7b9b3540f16a2103546f3f668cb4b5e", kill_on_drop: false }` [INFO] [stdout] afc48b857049570a9235ce5508e28258e7b9b3540f16a2103546f3f668cb4b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a9c1ff698e7b369cf265a12b91749a3016c5a55673d99d963f9d1c6dd3d6212 [INFO] running `Command { std: "docker" "start" "-a" "9a9c1ff698e7b369cf265a12b91749a3016c5a55673d99d963f9d1c6dd3d6212", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking clio v0.3.5 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking lazy-regex v3.1.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Compiling oem_cp v2.0.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:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clio::{Input, Output}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/build.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | use frontend::hir::{weak::unresolved::UnresolvedDb, Database}; [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 import: `span::Spanned` [INFO] [stdout] --> src/build.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{diagnostic::Reporter, error, span::Spanned}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diagnostic::Diagnostic` [INFO] [stdout] --> src/build/frontend/hir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | diagnostic::Diagnostic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env` and `sync::Arc` [INFO] [stdout] --> src/build/frontend/hir/weak/lib.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, env, sync::Arc}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/build/frontend/hir/weak/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | path::{Path, PathBuf}, [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:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | 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:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | ascii::AsciiStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | 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:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | weak::unresolved::{self, ItemId, UnresolvedDb}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spanned_debug` [INFO] [stdout] --> src/build/syntax/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | spanned_debug, spanned_error, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info::LibSrc` [INFO] [stdout] --> src/build/syntax/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | info::LibSrc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/build/syntax/lex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | error, info, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `spanned_info` [INFO] [stdout] --> src/build/syntax/parse.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | diagnostic::{Diagnostic, Reporter}, [INFO] [stdout] 17 | info, seek, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | span::{Lookup, Span, Spanned}, [INFO] [stdout] 19 | spanned_error, spanned_info, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LibSrc` and `Lib` [INFO] [stdout] --> src/build/syntax/parse.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | info::{Lib, LibSrc}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/build/syntax/parse.rs:579:60 [INFO] [stdout] | [INFO] [stdout] 579 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/build/syntax/token.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error, spanned_error}; [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 import: `crate::info` [INFO] [stdout] --> src/span.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::info; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `Output` [INFO] [stdout] --> src/build.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clio::{Input, Output}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/build.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | use frontend::hir::{weak::unresolved::UnresolvedDb, Database}; [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 import: `span::Spanned` [INFO] [stdout] --> src/build.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{diagnostic::Reporter, error, span::Spanned}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diagnostic::Diagnostic` [INFO] [stdout] --> src/build/frontend/hir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | diagnostic::Diagnostic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env` and `sync::Arc` [INFO] [stdout] --> src/build/frontend/hir/weak/lib.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, env, sync::Arc}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/build/frontend/hir/weak/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | path::{Path, PathBuf}, [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:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | 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:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | ascii::AsciiStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | 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:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | weak::unresolved::{self, ItemId, UnresolvedDb}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spanned_debug` [INFO] [stdout] --> src/build/syntax/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | spanned_debug, spanned_error, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info::LibSrc` [INFO] [stdout] --> src/build/syntax/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | info::LibSrc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/build/syntax/lex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | error, info, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `spanned_info` [INFO] [stdout] --> src/build/syntax/parse.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | diagnostic::{Diagnostic, Reporter}, [INFO] [stdout] 17 | info, seek, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | span::{Lookup, Span, Spanned}, [INFO] [stdout] 19 | spanned_error, spanned_info, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LibSrc` and `Lib` [INFO] [stdout] --> src/build/syntax/parse.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | info::{Lib, LibSrc}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/build/syntax/parse.rs:579:60 [INFO] [stdout] | [INFO] [stdout] 579 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/build/syntax/token.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error, spanned_error}; [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 import: `crate::info` [INFO] [stdout] --> src/span.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::info; [INFO] [stdout] | ^^^^^^^^^^^ [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] = note: `#[warn(unused_variables)]` on by default [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: `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] = note: `#[warn(unused_variables)]` on by default [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: `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/parse.rs:326:37 [INFO] [stdout] | [INFO] [stdout] 326 | ... 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/parse.rs:326:37 [INFO] [stdout] | [INFO] [stdout] 326 | ... Err(err) => {} [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/syntax/info.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let (library, span) = lib.deconstruct(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/build/syntax/info.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/build/syntax/lex.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | 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:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | 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: `span` [INFO] [stdout] --> src/build/syntax/info.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let (library, span) = lib.deconstruct(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/build/syntax/info.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/build/syntax/lex.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | 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:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | 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)]` 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: type `diagnostic::Note` is more private than the item `Diagnostic::set_note` [INFO] [stdout] --> src/diagnostic.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn set_note>(&mut self, note: S) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Diagnostic::set_note` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `diagnostic::Note` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/diagnostic.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct Note { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `diagnostic::Note` is more private than the item `Diagnostic::with_note` [INFO] [stdout] --> src/diagnostic.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn with_note>(mut self, note: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Diagnostic::with_note` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `diagnostic::Note` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/diagnostic.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct Note { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Database {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability` and `ty` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | Pointer { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 34 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | 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:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 - Tuple(Vec>), [INFO] [stdout] 37 + Tuple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 38 - Array(Box>), [INFO] [stdout] 38 + 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:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Fn { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 40 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | 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:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Visible { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | ident_span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | 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:61:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Visible { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn ident_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn into_ident_span(self) -> Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn visibility(&self) -> Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | 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:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | 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:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | 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] 364 - Fn(Function), [INFO] [stdout] 364 + Fn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:365:11 [INFO] [stdout] | [INFO] [stdout] 365 | 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] 365 - Const(Spanned), [INFO] [stdout] 365 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | 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] 366 - Static(Static), [INFO] [stdout] 366 + Static(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | 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] 367 - Progmem(Progmem), [INFO] [stdout] 367 + Progmem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | 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] 368 - Subspace(UnresolvedDb), [INFO] [stdout] 368 + Subspace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | 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] 369 - Library(UnresolvedDb), [INFO] [stdout] 369 + 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:373:8 [INFO] [stdout] | [INFO] [stdout] 372 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 373 | fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | 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:427:5 [INFO] [stdout] | [INFO] [stdout] 426 | pub struct Static { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 427 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 428 | 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:433:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct Progmem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 433 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 434 | 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:439:5 [INFO] [stdout] | [INFO] [stdout] 438 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 439 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 440 | return_type: Spanned, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 441 | 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:446:5 [INFO] [stdout] | [INFO] [stdout] 445 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 446 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 447 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 448 | 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:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Typed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typed` 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 `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` 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: associated function `resolve` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl Database { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 37 | 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] = note: `Item` 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 `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] = 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: struct `Static` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Static { [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: struct `Progmem` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct Progmem { [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: struct `WeakTyped` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct WeakTyped { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeakTyped` 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: associated function `new` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl WeakTyped { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 170 | 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:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | pub enum MaybeType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaybeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Statement { [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: struct `ForLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct ForLoop { [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: struct `WhileLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct WhileLoop { [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: enum `Expr` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum Expr { [INFO] [stdout] | ^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: struct `BinOp` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct BinOp { [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: 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:427:5 [INFO] [stdout] | [INFO] [stdout] 426 | pub struct ForLoop { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 427 | header: Parenthesized, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 428 | 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:433:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct ForHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 433 | init: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] 434 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 435 | 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:458:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub struct WhileLoop { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 458 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 459 | 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:465:15 [INFO] [stdout] | [INFO] [stdout] 465 | 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] 465 - Immediate(i128), [INFO] [stdout] 465 + Immediate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | 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] 466 - Boolean(bool), [INFO] [stdout] 466 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | 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] 467 - Str(AsciiStr), [INFO] [stdout] 467 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | 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] 468 - Reference(Path), [INFO] [stdout] 468 + Reference(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | 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] 469 - Call(Box>, Punctuated, Token![,]>), [INFO] [stdout] 469 + Call((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:471:11 [INFO] [stdout] | [INFO] [stdout] 471 | 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] 471 - Array(Punctuated, Token![,]>), [INFO] [stdout] 471 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 472 | 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] 472 - BinaryOp(Box), [INFO] [stdout] 472 + BinaryOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | 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] 473 - UnaryOp(Spanned, Box>), [INFO] [stdout] 473 + UnaryOp((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | 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] 474 - As(Box>, Spanned), [INFO] [stdout] 474 + As((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | 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] 475 - Sizeof(Spanned), [INFO] [stdout] 475 + Sizeof(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:1041:5 [INFO] [stdout] | [INFO] [stdout] 1040 | pub struct Path { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 1041 | 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:1046:12 [INFO] [stdout] | [INFO] [stdout] 1045 | impl Path { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 1046 | pub fn start(&self) -> &Spanned { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | pub fn end(&self) -> Spanned { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1061 | pub fn segments(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1065 | 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:1175:5 [INFO] [stdout] | [INFO] [stdout] 1174 | pub struct BinOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 1175 | lhs: Spanned, [INFO] [stdout] | ^^^ [INFO] [stdout] 1176 | op: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 1177 | 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:1192:5 [INFO] [stdout] | [INFO] [stdout] 1187 | pub enum BinaryOp { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1192 | 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:1221:9 [INFO] [stdout] | [INFO] [stdout] 1221 | 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] 1221 - Ref(Mutability), [INFO] [stdout] 1221 + Ref(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_string` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | 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:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Namespace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 47 | 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:415:12 [INFO] [stdout] | [INFO] [stdout] 387 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn stream(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn peek2(&self) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn check2(&self, other: &Token) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | 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:555:12 [INFO] [stdout] | [INFO] [stdout] 547 | impl Punctuated { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 566 | pub fn last(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | pub fn first(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | / delimeterized!( [INFO] [stdout] 827 | | "parenthesized", [INFO] [stdout] 828 | | Parenthesized, [INFO] [stdout] 829 | | parenthesized, [INFO] [stdout] ... | [INFO] [stdout] 834 | | "parenthesis" [INFO] [stdout] 835 | | ); [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:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 836 | / delimeterized!( [INFO] [stdout] 837 | | "bracketed", [INFO] [stdout] 838 | | Bracketed, [INFO] [stdout] 839 | | bracketed, [INFO] [stdout] ... | [INFO] [stdout] 844 | | "bracket" [INFO] [stdout] 845 | | ); [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:839:5 [INFO] [stdout] | [INFO] [stdout] 839 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | / delimeterized!( [INFO] [stdout] 847 | | "braced", [INFO] [stdout] 848 | | Braced, [INFO] [stdout] 849 | | braced, [INFO] [stdout] ... | [INFO] [stdout] 854 | | "brace" [INFO] [stdout] 855 | | ); [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:849:5 [INFO] [stdout] | [INFO] [stdout] 849 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 856 | / delimeterized!( [INFO] [stdout] 857 | | "arrowed", [INFO] [stdout] 858 | | Arrowed, [INFO] [stdout] 859 | | arrowed, [INFO] [stdout] ... | [INFO] [stdout] 864 | | "arrow" [INFO] [stdout] 865 | | ); [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:859:5 [INFO] [stdout] | [INFO] [stdout] 859 | 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: multiple associated items are never used [INFO] [stdout] --> src/diagnostic.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Diagnostic { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn warn>(message: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn spanned_warn, S: Into>>(span: S, message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn info>(message: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn spanned_info, S: Into>>(span: S, message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn debug>(message: S) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn spanned_debug, S: Into>>(span: S, message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn with_span>>(mut self, span: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn with_message>(mut self, message: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_spanned_note>(&mut self, note: S, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn with_spanned_note>(mut self, note: S, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn clear_note(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn without_note(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn sync_emit(self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/diagnostic.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 239 | struct Note { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 240 | value: String, [INFO] [stdout] 241 | span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` 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: variants `Warn`, `Help`, `Info`, and `Debug` are never constructed [INFO] [stdout] --> src/diagnostic.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub enum Level { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 264 | Error, [INFO] [stdout] 265 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 266 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/span.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Spanned { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn map(self, map: M) -> Spanned [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_col` is never used [INFO] [stdout] --> src/span.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Span { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn line_col(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `line_col` and `multiline` are never used [INFO] [stdout] --> src/span.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl Lookup { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn line_col(&self, index: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn multiline(&self, range: Range) -> bool { [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)]` 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: type `diagnostic::Note` is more private than the item `Diagnostic::set_note` [INFO] [stdout] --> src/diagnostic.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn set_note>(&mut self, note: S) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Diagnostic::set_note` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `diagnostic::Note` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/diagnostic.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct Note { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `diagnostic::Note` is more private than the item `Diagnostic::with_note` [INFO] [stdout] --> src/diagnostic.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn with_note>(mut self, note: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Diagnostic::with_note` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `diagnostic::Note` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/diagnostic.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | struct Note { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Database {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability` and `ty` are never read [INFO] [stdout] --> src/build/frontend/hir.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | Pointer { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 34 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | 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:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 - Tuple(Vec>), [INFO] [stdout] 37 + Tuple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 38 - Array(Box>), [INFO] [stdout] 38 + 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:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Fn { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 40 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | 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:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Visible { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | ident_span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | 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:61:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Visible { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn ident_span(&self) -> &Span { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn into_ident_span(self) -> Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn visibility(&self) -> Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | 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:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | 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:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | 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] 364 - Fn(Function), [INFO] [stdout] 364 + Fn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:365:11 [INFO] [stdout] | [INFO] [stdout] 365 | 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] 365 - Const(Spanned), [INFO] [stdout] 365 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | 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] 366 - Static(Static), [INFO] [stdout] 366 + Static(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | 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] 367 - Progmem(Progmem), [INFO] [stdout] 367 + Progmem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | 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] 368 - Subspace(UnresolvedDb), [INFO] [stdout] 368 + Subspace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/frontend/hir/weak/unresolved.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | 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] 369 - Library(UnresolvedDb), [INFO] [stdout] 369 + 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:373:8 [INFO] [stdout] | [INFO] [stdout] 372 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 373 | fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | 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:427:5 [INFO] [stdout] | [INFO] [stdout] 426 | pub struct Static { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 427 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 428 | 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:433:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct Progmem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 433 | ty: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 434 | 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:439:5 [INFO] [stdout] | [INFO] [stdout] 438 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 439 | parameters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 440 | return_type: Spanned, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 441 | 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:446:5 [INFO] [stdout] | [INFO] [stdout] 445 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 446 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 447 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 448 | 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:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Typed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Typed` 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 `Database` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` 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: associated function `resolve` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl Database { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 37 | 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] = note: `Item` 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 `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] = 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: struct `Static` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Static { [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: struct `Progmem` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct Progmem { [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: struct `WeakTyped` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct WeakTyped { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeakTyped` 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: associated function `new` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl WeakTyped { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 170 | 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:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | pub enum MaybeType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaybeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Statement { [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: struct `ForLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct ForLoop { [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: struct `WhileLoop` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct WhileLoop { [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: enum `Expr` is never used [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum Expr { [INFO] [stdout] | ^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: struct `BinOp` is never constructed [INFO] [stdout] --> src/build/frontend/hir/strong/resolved.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct BinOp { [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: 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:427:5 [INFO] [stdout] | [INFO] [stdout] 426 | pub struct ForLoop { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 427 | header: Parenthesized, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 428 | 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:433:5 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct ForHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 433 | init: Spanned, [INFO] [stdout] | ^^^^ [INFO] [stdout] 434 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 435 | 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:458:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub struct WhileLoop { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 458 | check: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 459 | 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:465:15 [INFO] [stdout] | [INFO] [stdout] 465 | 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] 465 - Immediate(i128), [INFO] [stdout] 465 + Immediate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | 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] 466 - Boolean(bool), [INFO] [stdout] 466 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | 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] 467 - Str(AsciiStr), [INFO] [stdout] 467 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | 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] 468 - Reference(Path), [INFO] [stdout] 468 + Reference(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | 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] 469 - Call(Box>, Punctuated, Token![,]>), [INFO] [stdout] 469 + Call((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:471:11 [INFO] [stdout] | [INFO] [stdout] 471 | 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] 471 - Array(Punctuated, Token![,]>), [INFO] [stdout] 471 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 472 | 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] 472 - BinaryOp(Box), [INFO] [stdout] 472 + BinaryOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | 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] 473 - UnaryOp(Spanned, Box>), [INFO] [stdout] 473 + UnaryOp((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/build/syntax/ast.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | 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] 474 - As(Box>, Spanned), [INFO] [stdout] 474 + As((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | 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] 475 - Sizeof(Spanned), [INFO] [stdout] 475 + Sizeof(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/build/syntax/ast.rs:1041:5 [INFO] [stdout] | [INFO] [stdout] 1040 | pub struct Path { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 1041 | 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:1046:12 [INFO] [stdout] | [INFO] [stdout] 1045 | impl Path { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 1046 | pub fn start(&self) -> &Spanned { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | pub fn end(&self) -> Spanned { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1061 | pub fn segments(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1065 | 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:1175:5 [INFO] [stdout] | [INFO] [stdout] 1174 | pub struct BinOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 1175 | lhs: Spanned, [INFO] [stdout] | ^^^ [INFO] [stdout] 1176 | op: Spanned, [INFO] [stdout] | ^^ [INFO] [stdout] 1177 | 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:1192:5 [INFO] [stdout] | [INFO] [stdout] 1187 | pub enum BinaryOp { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1192 | 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:1221:9 [INFO] [stdout] | [INFO] [stdout] 1221 | 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] 1221 - Ref(Mutability), [INFO] [stdout] 1221 + Ref(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_string` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | 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:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Namespace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 47 | 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:415:12 [INFO] [stdout] | [INFO] [stdout] 387 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn stream(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn peek2(&self) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn check2(&self, other: &Token) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | 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:555:12 [INFO] [stdout] | [INFO] [stdout] 547 | impl Punctuated { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 566 | pub fn last(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | pub fn first(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | pub fn values<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | / delimeterized!( [INFO] [stdout] 827 | | "parenthesized", [INFO] [stdout] 828 | | Parenthesized, [INFO] [stdout] 829 | | parenthesized, [INFO] [stdout] ... | [INFO] [stdout] 834 | | "parenthesis" [INFO] [stdout] 835 | | ); [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:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 836 | / delimeterized!( [INFO] [stdout] 837 | | "bracketed", [INFO] [stdout] 838 | | Bracketed, [INFO] [stdout] 839 | | bracketed, [INFO] [stdout] ... | [INFO] [stdout] 844 | | "bracket" [INFO] [stdout] 845 | | ); [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:839:5 [INFO] [stdout] | [INFO] [stdout] 839 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | / delimeterized!( [INFO] [stdout] 847 | | "braced", [INFO] [stdout] 848 | | Braced, [INFO] [stdout] 849 | | braced, [INFO] [stdout] ... | [INFO] [stdout] 854 | | "brace" [INFO] [stdout] 855 | | ); [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:849:5 [INFO] [stdout] | [INFO] [stdout] 849 | 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:701:20 [INFO] [stdout] | [INFO] [stdout] 696 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 856 | / delimeterized!( [INFO] [stdout] 857 | | "arrowed", [INFO] [stdout] 858 | | Arrowed, [INFO] [stdout] 859 | | arrowed, [INFO] [stdout] ... | [INFO] [stdout] 864 | | "arrow" [INFO] [stdout] 865 | | ); [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:859:5 [INFO] [stdout] | [INFO] [stdout] 859 | 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: multiple associated items are never used [INFO] [stdout] --> src/diagnostic.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Diagnostic { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn warn>(message: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn spanned_warn, S: Into>>(span: S, message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn info>(message: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn spanned_info, S: Into>>(span: S, message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn debug>(message: S) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn spanned_debug, S: Into>>(span: S, message: M) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn with_span>>(mut self, span: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn with_message>(mut self, message: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_spanned_note>(&mut self, note: S, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn with_spanned_note>(mut self, note: S, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn clear_note(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn without_note(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn sync_emit(self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/diagnostic.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 239 | struct Note { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 240 | value: String, [INFO] [stdout] 241 | span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` 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: variants `Warn`, `Help`, `Info`, and `Debug` are never constructed [INFO] [stdout] --> src/diagnostic.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub enum Level { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 264 | Error, [INFO] [stdout] 265 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 266 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/span.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Spanned { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn map(self, map: M) -> Spanned [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_col` is never used [INFO] [stdout] --> src/span.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Span { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn line_col(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `line_col` and `multiline` are never used [INFO] [stdout] --> src/span.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl Lookup { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn line_col(&self, index: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn multiline(&self, range: Range) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.80s [INFO] running `Command { std: "docker" "inspect" "9a9c1ff698e7b369cf265a12b91749a3016c5a55673d99d963f9d1c6dd3d6212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9c1ff698e7b369cf265a12b91749a3016c5a55673d99d963f9d1c6dd3d6212", kill_on_drop: false }` [INFO] [stdout] 9a9c1ff698e7b369cf265a12b91749a3016c5a55673d99d963f9d1c6dd3d6212