[INFO] cloning repository https://github.com/ef3d0c3e/nml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ef3d0c3e/nml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef3d0c3e%2Fnml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef3d0c3e%2Fnml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d25c0c372da75192a2f415a541af9c0b47bc690 [INFO] checking ef3d0c3e/nml against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef3d0c3e%2Fnml" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ef3d0c3e/nml [INFO] finished tweaking git repo https://github.com/ef3d0c3e/nml [INFO] tweaked toml for git repo https://github.com/ef3d0c3e/nml written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ef3d0c3e/nml on toolchain 416264364aa47959f5827723e1d7dabc95d0744b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ef3d0c3e/nml 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" "+416264364aa47959f5827723e1d7dabc95d0744b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0 [INFO] running `Command { std: "docker" "start" "5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dot-structures v0.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling lua-src v550.0.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking quick-xml v0.38.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling luajit-src v210.6.2+25a61a1 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling mlua-sys v0.10.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking runtime-format v0.1.3 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking ariadne v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling auto-registry v0.0.2 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling mlua v0.11.6 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking graphviz-rust v0.9.6 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking plist v1.8.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling auto-userdata v0.0.1 (/opt/rustwide/workdir/crates/auto-userdata) [INFO] [stderr] Checking syntect v5.3.0 [INFO] [stdout] warning: unused variable: `field_ty` [INFO] [stdout] --> crates/auto-userdata/src/lib.rs:288:7 [INFO] [stdout] | [INFO] [stdout] 288 | let field_ty = &field.ty; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_ty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking nml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/compiler/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/compiler/output.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/compiler/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/compiler/output.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/compiler/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Color` [INFO] [stdout] --> src/compiler/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ariadne::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/compiler/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::make_err` [INFO] [stdout] --> src/compiler/output.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::make_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::ReportColors` [INFO] [stdout] --> src/compiler/output.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::parser::reports::ReportColors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockReadGuard` [INFO] [stdout] --> src/compiler/process.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parking_lot::RwLockReadGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/compiler/process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/compiler/process.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::kernel::KernelName` [INFO] [stdout] --> src/compiler/process.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lua::kernel::KernelName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::property::PropertyValue` [INFO] [stdout] --> src/compiler/process.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::parser::property::PropertyValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/compiler/process.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/compiler/process.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::wrappers::*` [INFO] [stdout] --> src/elements/code/rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lua::wrappers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::dot_structures::Graph` [INFO] [stdout] --> src/elements/graphviz/rule.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphviz_rust::dot_structures::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/elements/import/elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/elements/import/elem.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::source::SourceFile` [INFO] [stdout] --> src/elements/import/elem.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::parser::source::SourceFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/elements/import/elem.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/elements/import/elem.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/elements/import/elem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Transaction` [INFO] [stdout] --> src/elements/import/elem.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rusqlite::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Kernel` [INFO] [stdout] --> src/elements/tagged/rule.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lua::kernel::{Kernel, KernelContext, KernelNameBuf}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::translation::TranslationAccessors` [INFO] [stdout] --> src/elements/tagged/rule.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::unit::translation::TranslationAccessors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params_from_iter` [INFO] [stdout] --> src/elements/tagged/rule.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rusqlite::params_from_iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/elements/tagged/custom.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compiler::Target` [INFO] [stdout] --> src/elements/tagged/custom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::compiler::compiler::Target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/scope.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::process::ProcessQueue` [INFO] [stdout] --> src/lua/wrappers/unit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::process::ProcessQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::settings::ProjectSettings` [INFO] [stdout] --> src/lua/wrappers/unit.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::util::settings::ProjectSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/unit.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::lock_api::RwLock` [INFO] [stdout] --> src/lua/kernel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use parking_lot::lock_api::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::ContentVariable` [INFO] [stdout] --> src/lua/kernel.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::unit::variable::ContentVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/lua/kernel.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VAR_TO_LUA` [INFO] [stdout] --> src/lua/kernel.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::VAR_TO_LUA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add_lua_docs` [INFO] [stdout] --> src/lua/doc.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | macro_rules! add_lua_docs { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_documented_function` [INFO] [stdout] --> src/lua/utils.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | add_documented_function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/queries.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lua/queries.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/parser/resolver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `create_styles` [INFO] [stdout] --> src/parser/style.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | macro_rules! create_styles { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::VariantAccess` [INFO] [stdout] --> src/unit/translation.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::de::VariantAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::IntoLua` [INFO] [stdout] --> src/unit/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mlua::IntoLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/elements/style/rule.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/parser/parser.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | ... while local_cursor.pos() != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut next = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | if next == usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/compiler/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/compiler/output.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/compiler/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/compiler/output.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/compiler/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Color` [INFO] [stdout] --> src/compiler/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ariadne::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/compiler/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::make_err` [INFO] [stdout] --> src/compiler/output.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::make_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::ReportColors` [INFO] [stdout] --> src/compiler/output.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::parser::reports::ReportColors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockReadGuard` [INFO] [stdout] --> src/compiler/process.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parking_lot::RwLockReadGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/compiler/process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/compiler/process.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::kernel::KernelName` [INFO] [stdout] --> src/compiler/process.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lua::kernel::KernelName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::property::PropertyValue` [INFO] [stdout] --> src/compiler/process.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::parser::property::PropertyValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/compiler/process.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/compiler/process.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::wrappers::*` [INFO] [stdout] --> src/elements/code/rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lua::wrappers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::raw::elem::Raw` [INFO] [stdout] --> src/elements/comment/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::elements::raw::elem::Raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ElemKind` [INFO] [stdout] --> src/elements/comment/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::unit::element::ElemKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::dot_structures::Graph` [INFO] [stdout] --> src/elements/graphviz/rule.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphviz_rust::dot_structures::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::cmd::Layout` [INFO] [stdout] --> src/elements/graphviz/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::cmd::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::raw::elem::Raw` [INFO] [stdout] --> src/elements/graphviz/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::elements::raw::elem::Raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ElemKind` [INFO] [stdout] --> src/elements/graphviz/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::unit::element::ElemKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/elements/import/elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/elements/import/elem.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::source::SourceFile` [INFO] [stdout] --> src/elements/import/elem.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::parser::source::SourceFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/elements/import/elem.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/elements/import/elem.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/elements/import/elem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Transaction` [INFO] [stdout] --> src/elements/import/elem.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rusqlite::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::code::elem::Code` [INFO] [stdout] --> src/elements/anchor/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::elements::code::elem::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::Scope` [INFO] [stdout] --> src/elements/heading/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mlua::Scope; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::raw::elem::Raw` [INFO] [stdout] --> src/elements/heading/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::elements::raw::elem::Raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ElemKind` [INFO] [stdout] --> src/elements/heading/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::unit::element::ElemKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Kernel` [INFO] [stdout] --> src/elements/tagged/rule.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lua::kernel::{Kernel, KernelContext, KernelNameBuf}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::translation::TranslationAccessors` [INFO] [stdout] --> src/elements/tagged/rule.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::unit::translation::TranslationAccessors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params_from_iter` [INFO] [stdout] --> src/elements/tagged/rule.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rusqlite::params_from_iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/elements/tagged/custom.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compiler::Target` [INFO] [stdout] --> src/elements/tagged/custom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::compiler::compiler::Target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/scope.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::process::ProcessQueue` [INFO] [stdout] --> src/lua/wrappers/unit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::process::ProcessQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::settings::ProjectSettings` [INFO] [stdout] --> src/lua/wrappers/unit.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::util::settings::ProjectSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/unit.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::lock_api::RwLock` [INFO] [stdout] --> src/lua/kernel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use parking_lot::lock_api::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::ContentVariable` [INFO] [stdout] --> src/lua/kernel.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::unit::variable::ContentVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/lua/kernel.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VAR_TO_LUA` [INFO] [stdout] --> src/lua/kernel.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::VAR_TO_LUA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add_lua_docs` [INFO] [stdout] --> src/lua/doc.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | macro_rules! add_lua_docs { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_documented_function` [INFO] [stdout] --> src/lua/utils.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | add_documented_function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/queries.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lua/queries.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/parser/resolver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `create_styles` [INFO] [stdout] --> src/parser/style.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | macro_rules! create_styles { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::VariantAccess` [INFO] [stdout] --> src/unit/translation.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::de::VariantAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::IntoLua` [INFO] [stdout] --> src/unit/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mlua::IntoLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/compiler/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/compiler/output.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/compiler/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/compiler/output.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/compiler/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Color` [INFO] [stdout] --> src/compiler/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ariadne::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/compiler/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::make_err` [INFO] [stdout] --> src/compiler/output.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::make_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::ReportColors` [INFO] [stdout] --> src/compiler/output.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::parser::reports::ReportColors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockReadGuard` [INFO] [stdout] --> src/compiler/process.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parking_lot::RwLockReadGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/compiler/process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/compiler/process.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::kernel::KernelName` [INFO] [stdout] --> src/compiler/process.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lua::kernel::KernelName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::property::PropertyValue` [INFO] [stdout] --> src/compiler/process.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::parser::property::PropertyValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/compiler/process.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/compiler/process.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::wrappers::*` [INFO] [stdout] --> src/elements/code/rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lua::wrappers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::dot_structures::Graph` [INFO] [stdout] --> src/elements/graphviz/rule.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphviz_rust::dot_structures::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/elements/import/elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/elements/import/elem.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::source::SourceFile` [INFO] [stdout] --> src/elements/import/elem.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::parser::source::SourceFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/elements/import/elem.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/elements/import/elem.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/elements/import/elem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Transaction` [INFO] [stdout] --> src/elements/import/elem.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rusqlite::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Kernel` [INFO] [stdout] --> src/elements/tagged/rule.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lua::kernel::{Kernel, KernelContext, KernelNameBuf}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::translation::TranslationAccessors` [INFO] [stdout] --> src/elements/tagged/rule.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::unit::translation::TranslationAccessors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params_from_iter` [INFO] [stdout] --> src/elements/tagged/rule.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rusqlite::params_from_iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/elements/tagged/custom.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compiler::Target` [INFO] [stdout] --> src/elements/tagged/custom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::compiler::compiler::Target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/scope.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::process::ProcessQueue` [INFO] [stdout] --> src/lua/wrappers/unit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::process::ProcessQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::settings::ProjectSettings` [INFO] [stdout] --> src/lua/wrappers/unit.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::util::settings::ProjectSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/unit.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::lock_api::RwLock` [INFO] [stdout] --> src/lua/kernel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use parking_lot::lock_api::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::ContentVariable` [INFO] [stdout] --> src/lua/kernel.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::unit::variable::ContentVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/lua/kernel.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VAR_TO_LUA` [INFO] [stdout] --> src/lua/kernel.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::VAR_TO_LUA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add_lua_docs` [INFO] [stdout] --> src/lua/doc.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | macro_rules! add_lua_docs { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_documented_function` [INFO] [stdout] --> src/lua/utils.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | add_documented_function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/queries.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lua/queries.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/parser/resolver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `create_styles` [INFO] [stdout] --> src/parser/style.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | macro_rules! create_styles { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::VariantAccess` [INFO] [stdout] --> src/unit/translation.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::de::VariantAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::IntoLua` [INFO] [stdout] --> src/unit/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mlua::IntoLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/elements/style/rule.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/parser/parser.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | ... while local_cursor.pos() != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut next = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | if next == usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/compiler/output.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/compiler/output.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/compiler/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/compiler/output.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/compiler/output.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Color` [INFO] [stdout] --> src/compiler/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ariadne::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/compiler/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::make_err` [INFO] [stdout] --> src/compiler/output.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::make_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::ReportColors` [INFO] [stdout] --> src/compiler/output.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::parser::reports::ReportColors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockReadGuard` [INFO] [stdout] --> src/compiler/process.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parking_lot::RwLockReadGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/compiler/process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/compiler/process.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::kernel::KernelName` [INFO] [stdout] --> src/compiler/process.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lua::kernel::KernelName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::property::PropertyValue` [INFO] [stdout] --> src/compiler/process.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::parser::property::PropertyValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/compiler/process.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/compiler/process.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lua::wrappers::*` [INFO] [stdout] --> src/elements/code/rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lua::wrappers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::raw::elem::Raw` [INFO] [stdout] --> src/elements/comment/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::elements::raw::elem::Raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ElemKind` [INFO] [stdout] --> src/elements/comment/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::unit::element::ElemKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::dot_structures::Graph` [INFO] [stdout] --> src/elements/graphviz/rule.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use graphviz_rust::dot_structures::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::cmd::Layout` [INFO] [stdout] --> src/elements/graphviz/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::cmd::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::raw::elem::Raw` [INFO] [stdout] --> src/elements/graphviz/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::elements::raw::elem::Raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ElemKind` [INFO] [stdout] --> src/elements/graphviz/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::unit::element::ElemKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::lua::custom::LUA_CUSTOM` [INFO] [stdout] --> src/elements/import/elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::elements::lua::custom::LUA_CUSTOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::reports::*` [INFO] [stdout] --> src/elements/import/elem.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::parser::reports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::source::SourceFile` [INFO] [stdout] --> src/elements/import/elem.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::parser::source::SourceFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/elements/import/elem.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VariableName` [INFO] [stdout] --> src/elements/import/elem.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::unit::variable::VariableName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockWriteGuard` [INFO] [stdout] --> src/elements/import/elem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use parking_lot::RwLockWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Transaction` [INFO] [stdout] --> src/elements/import/elem.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rusqlite::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::code::elem::Code` [INFO] [stdout] --> src/elements/anchor/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::elements::code::elem::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::Scope` [INFO] [stdout] --> src/elements/heading/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mlua::Scope; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::elements::raw::elem::Raw` [INFO] [stdout] --> src/elements/heading/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::elements::raw::elem::Raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ElemKind` [INFO] [stdout] --> src/elements/heading/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::unit::element::ElemKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Kernel` [INFO] [stdout] --> src/elements/tagged/rule.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::lua::kernel::{Kernel, KernelContext, KernelNameBuf}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::translation::TranslationAccessors` [INFO] [stdout] --> src/elements/tagged/rule.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::unit::translation::TranslationAccessors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params_from_iter` [INFO] [stdout] --> src/elements/tagged/rule.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rusqlite::params_from_iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/elements/tagged/custom.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compiler::Target` [INFO] [stdout] --> src/elements/tagged/custom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::compiler::compiler::Target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/scope.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/elements/style/rule.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::process::ProcessQueue` [INFO] [stdout] --> src/lua/wrappers/unit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::process::ProcessQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::settings::ProjectSettings` [INFO] [stdout] --> src/lua/wrappers/unit.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::util::settings::ProjectSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/wrappers/unit.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::lock_api::RwLock` [INFO] [stdout] --> src/lua/kernel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use parking_lot::lock_api::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::ContentVariable` [INFO] [stdout] --> src/lua/kernel.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::unit::variable::ContentVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::PropertyVariable` [INFO] [stdout] --> src/lua/kernel.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::unit::variable::PropertyVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::VAR_TO_LUA` [INFO] [stdout] --> src/lua/kernel.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::unit::variable::VAR_TO_LUA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add_lua_docs` [INFO] [stdout] --> src/lua/doc.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | macro_rules! add_lua_docs { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_documented_function` [INFO] [stdout] --> src/lua/utils.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | add_documented_function, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/lua/queries.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lua/queries.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::print` [INFO] [stdout] --> src/parser/resolver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use graphviz_rust::print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `create_styles` [INFO] [stdout] --> src/parser/style.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | macro_rules! create_styles { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::VariantAccess` [INFO] [stdout] --> src/unit/translation.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::de::VariantAccess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::IntoLua` [INFO] [stdout] --> src/unit/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mlua::IntoLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/parser/parser.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | ... while local_cursor.pos() != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut next = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | if next == usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/elements/style/rule.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/elements/style/rule.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | let mut closest = usize::MAX..usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/parser/parser.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | None => (usize::MAX..usize::MAX, None), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | ... while local_cursor.pos() != usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | ... None => (usize::MAX..usize::MAX, new_data), // Stop iterating [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut next = usize::MAX; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/parser/parser.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | if next == usize::MAX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | let mut unit = TranslationUnit::new(path, self.parser.clone(), source.clone(), true, false); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | let mut unit = TranslationUnit::new(path, self.parser.clone(), source.clone(), true, false); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::Element` [INFO] [stdout] --> src/unit/variable.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::element::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::ContainerElement` [INFO] [stdout] --> src/unit/scope.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::element::ContainerElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ReferenceableElement` [INFO] [stdout] --> src/elements/internal_link/elem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::unit::element::ReferenceableElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Span` [INFO] [stdout] --> src/parser/source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ariadne::Span; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::Variable` [INFO] [stdout] --> src/lua/wrappers/variable.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::unit::variable::Variable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/compiler/compiler.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let ProjectOutput::Html(html) = &settings.output else { [INFO] [stdout] | ------------------------------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | assigning to binding pattern will always succeed [INFO] [stdout] | [INFO] [stdout] = note: this pattern always matches, so the else clause is unreachable [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler/process.rs:342:68 [INFO] [stdout] | [INFO] [stdout] 342 | LuaData::with_kernel(&mut unit, &KernelNameBuf("main".into()), |unit, mut kernel| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syn` [INFO] [stdout] --> src/elements/code/rule.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | let Some(syn) = Code::syntaxes().find_syntax_by_name(&language) else { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert_lua_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::Element` [INFO] [stdout] --> src/unit/variable.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::element::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::ContainerElement` [INFO] [stdout] --> src/unit/scope.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::element::ContainerElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::Variable` [INFO] [stdout] --> src/lua/wrappers/variable.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::unit::variable::Variable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ReferenceableElement` [INFO] [stdout] --> src/elements/internal_link/elem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::unit::element::ReferenceableElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Span` [INFO] [stdout] --> src/parser/source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ariadne::Span; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/compiler/compiler.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let ProjectOutput::Html(html) = &settings.output else { [INFO] [stdout] | ------------------------------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | assigning to binding pattern will always succeed [INFO] [stdout] | [INFO] [stdout] = note: this pattern always matches, so the else clause is unreachable [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/layout/size.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 23 | SizeOutput::CSS => match self { [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler/process.rs:342:68 [INFO] [stdout] | [INFO] [stdout] 342 | LuaData::with_kernel(&mut unit, &KernelNameBuf("main".into()), |unit, mut kernel| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syn` [INFO] [stdout] --> src/elements/code/rule.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | let Some(syn) = Code::syntaxes().find_syntax_by_name(&language) else { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lua/wrappers/unit.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | std::fs::write(&output, content).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lua/wrappers/unit.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | Kernel::with_context(lua, |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lua/wrappers/unit.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | ... for (scope, elem) in scope.content_iter(true) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lua/kernel.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 365 | let mut wrapper = ElemWrapperMut(unsafe { &mut elem as *mut _ }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert_lua_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/util.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | let mut iter = scope.content_iter(true); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit/variable.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut it = value.chars(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_references` is never used [INFO] [stdout] --> src/cache/cache.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 113 | impl Cache { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 353 | pub async fn get_references(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sanitize_format` and `refname` are never used [INFO] [stdout] --> src/compiler/compiler.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 54 | impl Compiler { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn sanitize_format>(&self, str: S) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn refname>(&self, str: S) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `handle` and `location` are never read [INFO] [stdout] --> src/compiler/output.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct OutputTask { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// Task handle [INFO] [stdout] 62 | handle: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `handle` are never read [INFO] [stdout] --> src/compiler/output.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct CompilerOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 78 | /// Compilation target [INFO] [stdout] 79 | target: Target, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub handle: tokio::runtime::Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outputs` is never read [INFO] [stdout] --> src/compiler/process.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ProcessQueue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | outputs: Vec<()>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `target` and `sanitize_format` are never used [INFO] [stdout] --> src/compiler/sanitize.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sanitizer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn target(&self) -> Target { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn sanitize_format>(&self, str: S) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeCompletion` is never constructed [INFO] [stdout] --> src/elements/code/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CodeCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphvizCompletion` is never constructed [INFO] [stdout] --> src/elements/graphviz/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GraphvizCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layout_to_str` is never used [INFO] [stdout] --> src/elements/graphviz/elem.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn layout_to_str(layout: Layout) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportCompletion` is never constructed [INFO] [stdout] --> src/elements/import/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ImportCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListCompletion` is never constructed [INFO] [stdout] --> src/elements/list/completion.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ListCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnchorCompletion` is never constructed [INFO] [stdout] --> src/elements/anchor/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AnchorCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LatexCompletion` is never constructed [INFO] [stdout] --> src/elements/latex/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LatexCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaCompletion` is never constructed [INFO] [stdout] --> src/elements/lua/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LuaCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableCompletion` is never constructed [INFO] [stdout] --> src/elements/variable/completion.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct VariableCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_documentation` is never used [INFO] [stdout] --> src/elements/variable/completion.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl VariableCompletion { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 18 | fn get_documentation(var: &Arc) -> MarkupContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_documentation` is never used [INFO] [stdout] --> src/elements/variable/elem.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_documentation(title: &str, var: &Arc) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_media` is never used [INFO] [stdout] --> src/elements/media/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl MediaGroup { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 73 | pub fn add_media(&mut self, media: Arc) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/elements/tagged/custom.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct TaggedProcessor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | pub kind: TaggedKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::Element` [INFO] [stdout] --> src/unit/variable.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::element::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaggedCompletion` is never constructed [INFO] [stdout] --> src/elements/tagged/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TaggedCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRangeParams` is never constructed [INFO] [stdout] --> src/lsp/code.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CodeRangeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::ContainerElement` [INFO] [stdout] --> src/unit/scope.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::element::ContainerElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Span` [INFO] [stdout] --> src/parser/source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ariadne::Span; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ReferenceableElement` [INFO] [stdout] --> src/elements/internal_link/elem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::unit::element::ReferenceableElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::Variable` [INFO] [stdout] --> src/lua/wrappers/variable.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::unit::variable::Variable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `coderanges` is never read [INFO] [stdout] --> src/lsp/code.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CodeRangeData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 36 | /// The ranges [INFO] [stdout] 37 | pub coderanges: RwLock>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeRangeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRange` is never constructed [INFO] [stdout] --> src/lsp/code.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CodeRange<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_source_impl`, `from_source`, and `add` are never used [INFO] [stdout] --> src/lsp/code.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> CodeRange<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 51 | fn from_source_impl( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from_source( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add(&self, range: Range, language: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `context_triggered` is never used [INFO] [stdout] --> src/lsp/completion.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn context_triggered(context: &Option, sequence: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CompletionProvider` is never used [INFO] [stdout] --> src/lsp/completion.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait CompletionProvider: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcealParams` is never constructed [INFO] [stdout] --> src/lsp/conceal.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConcealParams { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_source` is never read [INFO] [stdout] --> src/lsp/conceal.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Conceal<'lsp> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conceal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor` and `hints` are never read [INFO] [stdout] --> src/lsp/hints.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HintsData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | /// The current cursor [INFO] [stdout] 16 | cursor: RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub hints: RwLock>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HintsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hints` is never constructed [INFO] [stdout] --> src/lsp/hints.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Hints<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/hints.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Hints<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn add(&self, position: usize, label: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range` and `content` are never read [INFO] [stdout] --> src/lsp/hover.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HoverRange { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | pub range: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/hover.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Hover<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// The resolved parent source [INFO] [stdout] 29 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_refkey` is never read [INFO] [stdout] --> src/lsp/reference.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LsReference { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub source_refkey: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `on_document_end` is never used [INFO] [stdout] --> src/lsp/semantic.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 306 | impl<'lsp> Semantics<'lsp> { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn on_document_end(lsp: &'lsp LangServerData, source: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyleParams` is never constructed [INFO] [stdout] --> src/lsp/styles.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct StyleParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `styles` is never read [INFO] [stdout] --> src/lsp/styles.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct StylesData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 38 | /// The styles [INFO] [stdout] 39 | pub styles: RwLock>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StylesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Styles` is never constructed [INFO] [stdout] --> src/lsp/styles.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Styles<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/styles.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> Styles<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn add(&self, range: Range, style: Style) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/ranges.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Range<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// The resolved parent source [INFO] [stdout] 28 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxy` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LuaUdVecProxy(pub *const Vec); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LuaUdVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_proxy_mut` is never used [INFO] [stdout] --> src/lua/wrappers.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait IntoLuaProxy [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 63 | fn as_proxy_mut(ptr: *mut Self) -> Self::ProxyMut; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaProxyVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct LuaProxyVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UserDataElem` is never used [INFO] [stdout] --> src/lua/wrappers.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait UserDataElem [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/lua/kernel.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 33 | impl KernelName { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn try_new(s: &str) -> Result<&KernelName, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `content` are never read [INFO] [stdout] --> src/lua/kernel.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct KernelRedirect { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 117 | /// Message source e.g print() [INFO] [stdout] 118 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 119 | /// Message content [INFO] [stdout] 120 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reports` is never read [INFO] [stdout] --> src/lua/kernel.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct KernelContext<'ctx> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 129 | pub reports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export_table` is never used [INFO] [stdout] --> src/lua/kernel.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl Kernel { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn export_table(&self, name: &str, table: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, `returns`, and `doc` are never read [INFO] [stdout] --> src/lua/doc.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LuaMethodDoc { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub args: Vec<&'static str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub returns: Option<&'static str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub doc: &'static str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaMethodDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_name` is never read [INFO] [stdout] --> src/lua/doc.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserDataDoc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | pub type_name: &'static str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserDataDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_completors` is never used [INFO] [stdout] --> src/parser/parser.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 28 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_completors(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParserRuleAccessor` is never used [INFO] [stdout] --> src/parser/parser.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250 | pub trait ParserRuleAccessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `warning` is never read [INFO] [stdout] --> src/parser/reports.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ReportColors { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 23 | pub error: Option, [INFO] [stdout] 24 | pub warning: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReportColors` 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 items `to_diagnostics` and `reports_to_diagnostics` are never used [INFO] [stdout] --> src/parser/reports.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 98 | impl Report { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn to_diagnostics(self, diagnostic_map: &DashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn reports_to_diagnostics( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `completion` is never used [INFO] [stdout] --> src/parser/rule.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Rule: Downcast { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 182 | fn completion(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `completion` is never used [INFO] [stdout] --> src/parser/rule.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait RegexRule { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 241 | fn completion(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_content` and `path` are never used [INFO] [stdout] --> src/parser/source.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 76 | impl SourceFile { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn with_content(path: String, content: String, location: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_position` is never used [INFO] [stdout] --> src/parser/source.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 370 | impl LineCursor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn from_position( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_offset` and `end_offset` are never used [INFO] [stdout] --> src/parser/source.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 469 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn start_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | pub fn end_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/parser/state.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait CustomState: Downcast + core::fmt::Debug + Send + Sync { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 20 | /// Name of the state [INFO] [stdout] 21 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_child` is never used [INFO] [stdout] --> src/parser/state.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl ParserState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn new_child(&self, mode: ParseMode) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global`, `Scope`, and `Paragraph` are never constructed [INFO] [stdout] --> src/parser/state.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum StateScope { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 78 | /// Global state [INFO] [stdout] 79 | Global = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | /// Scope-local state [INFO] [stdout] 81 | Scope = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | /// Paragraph-local state [INFO] [stdout] 83 | Paragraph = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_remove` is never used [INFO] [stdout] --> src/parser/state.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait RuleState: Downcast { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn on_remove<'u>(&self, unit: &mut TranslationUnit); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuleStateHolder` is never constructed [INFO] [stdout] --> src/parser/state.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RuleStateHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, and `on_scope_end` are never used [INFO] [stdout] --> src/parser/state.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | impl RuleStateHolder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 108 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get>(&self, name: S) -> Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn on_scope_end<'u>(&mut self, unit: &mut TranslationUnit, scope: StateScope) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementStyle` is never used [INFO] [stdout] --> src/parser/style.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ElementStyle: Downcast + core::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyleHolder` is never constructed [INFO] [stdout] --> src/parser/style.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StyleHolder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_registered`, `current`, and `set_current` are never used [INFO] [stdout] --> src/parser/style.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl StyleHolder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 50 | /// Checks if a given style key is registered [INFO] [stdout] 51 | pub fn is_registered(&self, style_key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn current(&self, style_key: &str) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_current(&mut self, style: Rc) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `provide_hover` is never used [INFO] [stdout] --> src/unit/element.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait Element: Downcast + core::fmt::Debug + Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 78 | fn provide_hover(&self) -> Option { None } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refid` is never used [INFO] [stdout] --> src/unit/element.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait ReferenceableElement: Element { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 109 | fn refid(&self, compiler: &Compiler, refid: usize) -> String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `set_parser_state` are never used [INFO] [stdout] --> src/unit/scope.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn name(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_parser_state(&mut self, parser_state: ParserState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_content`, `has_state`, and `token` are never used [INFO] [stdout] --> src/unit/scope.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait ScopeAccessor { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 134 | fn get_content(&self, id: usize) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn has_state(&self, name: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn token(&self) -> Token; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parser` is never used [INFO] [stdout] --> src/unit/translation.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 141 | impl TranslationUnit { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn parser(&self) -> &Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input_path` is never used [INFO] [stdout] --> src/unit/unit.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'u> OffloadedUnit<'u> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn input_path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/unit/variable.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 239 | impl PropertyVariable { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 240 | pub fn value(&self) -> &PropertyValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsRefForCompare` is never used [INFO] [stdout] --> src/util/util.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait AsRefForCompare<'a, T: ?Sized> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/compiler/compiler.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let ProjectOutput::Html(html) = &settings.output else { [INFO] [stdout] | ------------------------------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | assigning to binding pattern will always succeed [INFO] [stdout] | [INFO] [stdout] = note: this pattern always matches, so the else clause is unreachable [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler/process.rs:342:68 [INFO] [stdout] | [INFO] [stdout] 342 | LuaData::with_kernel(&mut unit, &KernelNameBuf("main".into()), |unit, mut kernel| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syn` [INFO] [stdout] --> src/elements/code/rule.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | let Some(syn) = Code::syntaxes().find_syntax_by_name(&language) else { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert_lua_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::Element` [INFO] [stdout] --> src/unit/variable.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::element::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::element::ContainerElement` [INFO] [stdout] --> src/unit/scope.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::element::ContainerElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Span` [INFO] [stdout] --> src/parser/source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ariadne::Span; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::element::ReferenceableElement` [INFO] [stdout] --> src/elements/internal_link/elem.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::unit::element::ReferenceableElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unit::variable::Variable` [INFO] [stdout] --> src/lua/wrappers/variable.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::unit::variable::Variable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `else` clause [INFO] [stdout] --> src/compiler/compiler.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let ProjectOutput::Html(html) = &settings.output else { [INFO] [stdout] | ------------------------------------------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | assigning to binding pattern will always succeed [INFO] [stdout] | [INFO] [stdout] = note: this pattern always matches, so the else clause is unreachable [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler/process.rs:342:68 [INFO] [stdout] | [INFO] [stdout] 342 | LuaData::with_kernel(&mut unit, &KernelNameBuf("main".into()), |unit, mut kernel| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syn` [INFO] [stdout] --> src/elements/code/rule.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | let Some(syn) = Code::syntaxes().find_syntax_by_name(&language) else { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/layout/size.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 23 | SizeOutput::CSS => match self { [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `lua` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lua/kernel.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | let lua = $lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/elements/list/rule.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let entries = convert_lua_args!(lua, args, (ListEntry, "entries", vuserdata)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `convert_lua_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lua/wrappers/unit.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | std::fs::write(&output, content).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lua/wrappers/unit.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | Kernel::with_context(lua, |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lua/wrappers/unit.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | ... for (scope, elem) in scope.content_iter(true) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lua/kernel.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 365 | let mut wrapper = ElemWrapperMut(unsafe { &mut elem as *mut _ }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/util.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | let mut iter = scope.content_iter(true); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit/variable.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut it = value.chars(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_references` is never used [INFO] [stdout] --> src/cache/cache.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 113 | impl Cache { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 353 | pub async fn get_references(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sanitize_format` and `refname` are never used [INFO] [stdout] --> src/compiler/compiler.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 54 | impl Compiler { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn sanitize_format>(&self, str: S) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn refname>(&self, str: S) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `handle` and `location` are never read [INFO] [stdout] --> src/compiler/output.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct OutputTask { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// Task handle [INFO] [stdout] 62 | handle: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `handle` are never read [INFO] [stdout] --> src/compiler/output.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct CompilerOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 78 | /// Compilation target [INFO] [stdout] 79 | target: Target, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub handle: tokio::runtime::Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outputs` is never read [INFO] [stdout] --> src/compiler/process.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ProcessQueue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | outputs: Vec<()>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `target` is never used [INFO] [stdout] --> src/compiler/sanitize.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sanitizer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn target(&self) -> Target { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeCompletion` is never constructed [INFO] [stdout] --> src/elements/code/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CodeCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphvizCompletion` is never constructed [INFO] [stdout] --> src/elements/graphviz/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GraphvizCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layout_to_str` is never used [INFO] [stdout] --> src/elements/graphviz/elem.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn layout_to_str(layout: Layout) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportCompletion` is never constructed [INFO] [stdout] --> src/elements/import/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ImportCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListCompletion` is never constructed [INFO] [stdout] --> src/elements/list/completion.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ListCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnchorCompletion` is never constructed [INFO] [stdout] --> src/elements/anchor/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AnchorCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LatexCompletion` is never constructed [INFO] [stdout] --> src/elements/latex/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LatexCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaCompletion` is never constructed [INFO] [stdout] --> src/elements/lua/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LuaCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableCompletion` is never constructed [INFO] [stdout] --> src/elements/variable/completion.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct VariableCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_documentation` is never used [INFO] [stdout] --> src/elements/variable/completion.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl VariableCompletion { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 18 | fn get_documentation(var: &Arc) -> MarkupContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_documentation` is never used [INFO] [stdout] --> src/elements/variable/elem.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_documentation(title: &str, var: &Arc) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_media` is never used [INFO] [stdout] --> src/elements/media/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl MediaGroup { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 73 | pub fn add_media(&mut self, media: Arc) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/elements/tagged/custom.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct TaggedProcessor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | pub kind: TaggedKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaggedCompletion` is never constructed [INFO] [stdout] --> src/elements/tagged/completion.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TaggedCompletion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRangeParams` is never constructed [INFO] [stdout] --> src/lsp/code.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CodeRangeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `coderanges` is never read [INFO] [stdout] --> src/lsp/code.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CodeRangeData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 36 | /// The ranges [INFO] [stdout] 37 | pub coderanges: RwLock>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeRangeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRange` is never constructed [INFO] [stdout] --> src/lsp/code.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CodeRange<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_source_impl`, `from_source`, and `add` are never used [INFO] [stdout] --> src/lsp/code.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> CodeRange<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 51 | fn from_source_impl( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from_source( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add(&self, range: Range, language: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `context_triggered` is never used [INFO] [stdout] --> src/lsp/completion.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn context_triggered(context: &Option, sequence: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CompletionProvider` is never used [INFO] [stdout] --> src/lsp/completion.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait CompletionProvider: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcealParams` is never constructed [INFO] [stdout] --> src/lsp/conceal.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConcealParams { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_source` is never read [INFO] [stdout] --> src/lsp/conceal.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Conceal<'lsp> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conceal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor` and `hints` are never read [INFO] [stdout] --> src/lsp/hints.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HintsData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | /// The current cursor [INFO] [stdout] 16 | cursor: RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub hints: RwLock>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HintsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hints` is never constructed [INFO] [stdout] --> src/lsp/hints.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Hints<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/hints.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Hints<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn add(&self, position: usize, label: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range` and `content` are never read [INFO] [stdout] --> src/lsp/hover.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HoverRange { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | pub range: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/hover.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Hover<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// The resolved parent source [INFO] [stdout] 29 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_refkey` is never read [INFO] [stdout] --> src/lsp/reference.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LsReference { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub source_refkey: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `on_document_end` is never used [INFO] [stdout] --> src/lsp/semantic.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 306 | impl<'lsp> Semantics<'lsp> { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn on_document_end(lsp: &'lsp LangServerData, source: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyleParams` is never constructed [INFO] [stdout] --> src/lsp/styles.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct StyleParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `styles` is never read [INFO] [stdout] --> src/lsp/styles.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct StylesData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 38 | /// The styles [INFO] [stdout] 39 | pub styles: RwLock>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StylesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Styles` is never constructed [INFO] [stdout] --> src/lsp/styles.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Styles<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/styles.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> Styles<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn add(&self, range: Range, style: Style) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/ranges.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Range<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// The resolved parent source [INFO] [stdout] 28 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxy` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LuaUdVecProxy(pub *const Vec); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LuaUdVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_proxy_mut` is never used [INFO] [stdout] --> src/lua/wrappers.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait IntoLuaProxy [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 63 | fn as_proxy_mut(ptr: *mut Self) -> Self::ProxyMut; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaProxyVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct LuaProxyVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UserDataElem` is never used [INFO] [stdout] --> src/lua/wrappers.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait UserDataElem [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/lua/kernel.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 33 | impl KernelName { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn try_new(s: &str) -> Result<&KernelName, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `content` are never read [INFO] [stdout] --> src/lua/kernel.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct KernelRedirect { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 117 | /// Message source e.g print() [INFO] [stdout] 118 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 119 | /// Message content [INFO] [stdout] 120 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reports` is never read [INFO] [stdout] --> src/lua/kernel.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct KernelContext<'ctx> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 129 | pub reports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export_table` is never used [INFO] [stdout] --> src/lua/kernel.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl Kernel { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn export_table(&self, name: &str, table: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, `returns`, and `doc` are never read [INFO] [stdout] --> src/lua/doc.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LuaMethodDoc { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub args: Vec<&'static str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub returns: Option<&'static str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub doc: &'static str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaMethodDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_name` is never read [INFO] [stdout] --> src/lua/doc.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserDataDoc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | pub type_name: &'static str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserDataDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_completors` is never used [INFO] [stdout] --> src/parser/parser.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 28 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_completors(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParserRuleAccessor` is never used [INFO] [stdout] --> src/parser/parser.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250 | pub trait ParserRuleAccessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `warning` is never read [INFO] [stdout] --> src/parser/reports.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ReportColors { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 23 | pub error: Option, [INFO] [stdout] 24 | pub warning: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReportColors` 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 items `to_diagnostics` and `reports_to_diagnostics` are never used [INFO] [stdout] --> src/parser/reports.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 98 | impl Report { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn to_diagnostics(self, diagnostic_map: &DashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn reports_to_diagnostics( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `completion` is never used [INFO] [stdout] --> src/parser/rule.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub trait Rule: Downcast { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 182 | fn completion(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `completion` is never used [INFO] [stdout] --> src/parser/rule.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait RegexRule { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 241 | fn completion(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/parser/source.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 76 | impl SourceFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_position` is never used [INFO] [stdout] --> src/parser/source.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 370 | impl LineCursor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn from_position( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_offset` and `end_offset` are never used [INFO] [stdout] --> src/parser/source.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 469 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn start_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | pub fn end_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/parser/state.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait CustomState: Downcast + core::fmt::Debug + Send + Sync { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 20 | /// Name of the state [INFO] [stdout] 21 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_child` is never used [INFO] [stdout] --> src/parser/state.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl ParserState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn new_child(&self, mode: ParseMode) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global`, `Scope`, and `Paragraph` are never constructed [INFO] [stdout] --> src/parser/state.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum StateScope { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 78 | /// Global state [INFO] [stdout] 79 | Global = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | /// Scope-local state [INFO] [stdout] 81 | Scope = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | /// Paragraph-local state [INFO] [stdout] 83 | Paragraph = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_remove` is never used [INFO] [stdout] --> src/parser/state.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait RuleState: Downcast { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn on_remove<'u>(&self, unit: &mut TranslationUnit); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuleStateHolder` is never constructed [INFO] [stdout] --> src/parser/state.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RuleStateHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, and `on_scope_end` are never used [INFO] [stdout] --> src/parser/state.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | impl RuleStateHolder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 108 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get>(&self, name: S) -> Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn on_scope_end<'u>(&mut self, unit: &mut TranslationUnit, scope: StateScope) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementStyle` is never used [INFO] [stdout] --> src/parser/style.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ElementStyle: Downcast + core::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyleHolder` is never constructed [INFO] [stdout] --> src/parser/style.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StyleHolder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_registered`, `current`, and `set_current` are never used [INFO] [stdout] --> src/parser/style.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl StyleHolder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 50 | /// Checks if a given style key is registered [INFO] [stdout] 51 | pub fn is_registered(&self, style_key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn current(&self, style_key: &str) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_current(&mut self, style: Rc) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `provide_hover` is never used [INFO] [stdout] --> src/unit/element.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait Element: Downcast + core::fmt::Debug + Send + Sync { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 78 | fn provide_hover(&self) -> Option { None } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refid` is never used [INFO] [stdout] --> src/unit/element.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait ReferenceableElement: Element { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 109 | fn refid(&self, compiler: &Compiler, refid: usize) -> String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `set_parser_state` are never used [INFO] [stdout] --> src/unit/scope.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn name(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_parser_state(&mut self, parser_state: ParserState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_state` and `token` are never used [INFO] [stdout] --> src/unit/scope.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait ScopeAccessor { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 153 | fn has_state(&self, name: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn token(&self) -> Token; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parser` is never used [INFO] [stdout] --> src/unit/translation.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 141 | impl TranslationUnit { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn parser(&self) -> &Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input_path` is never used [INFO] [stdout] --> src/unit/unit.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'u> OffloadedUnit<'u> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn input_path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/unit/variable.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 239 | impl PropertyVariable { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 240 | pub fn value(&self) -> &PropertyValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lua/wrappers/unit.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | std::fs::write(&output, content).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lua/wrappers/unit.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | Kernel::with_context(lua, |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lua/wrappers/unit.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | ... for (scope, elem) in scope.content_iter(true) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lua/kernel.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 365 | let mut wrapper = ElemWrapperMut(unsafe { &mut elem as *mut _ }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/util.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | let mut iter = scope.content_iter(true); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lua/wrappers/unit.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | std::fs::write(&output, content).map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lua/wrappers/unit.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | Kernel::with_context(lua, |ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/lua/wrappers/unit.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | ... for (scope, elem) in scope.content_iter(true) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit/variable.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut it = value.chars(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lua/kernel.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 365 | let mut wrapper = ElemWrapperMut(unsafe { &mut elem as *mut _ }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/layout/size.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 23 | SizeOutput::CSS => match self { [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/util.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | let mut iter = scope.content_iter(true); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lua_ranges` is never read [INFO] [stdout] --> src/server.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Backend { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | lua_ranges: DashMap>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_reference` is never used [INFO] [stdout] --> src/compiler/links.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn translate_reference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `handle` and `location` are never read [INFO] [stdout] --> src/compiler/output.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct OutputTask { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// Task handle [INFO] [stdout] 62 | handle: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/compiler/output.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct CompilerOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 78 | /// Compilation target [INFO] [stdout] 79 | target: Target, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessOptions` is never constructed [INFO] [stdout] --> src/compiler/process.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ProcessOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessError` is never used [INFO] [stdout] --> src/compiler/process.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ProcessError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessOutputOptions` is never used [INFO] [stdout] --> src/compiler/process.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum ProcessOutputOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessQueueMessage` is never used [INFO] [stdout] --> src/compiler/process.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum ProcessQueueMessage<'u> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_message` is never used [INFO] [stdout] --> src/compiler/process.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn output_message<'u>(message: ProcessQueueMessage<'u>, perc: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessQueue` is never constructed [INFO] [stdout] --> src/compiler/process.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ProcessQueue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `process` are never used [INFO] [stdout] --> src/compiler/process.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl ProcessQueue { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 114 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `settings` are never read [INFO] [stdout] --> src/elements/import/elem.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct LazyImport { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) settings: ProjectSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LazyImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process` is never used [INFO] [stdout] --> src/elements/import/elem.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | impl LazyImport { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 121 | pub fn process(&self, parser: Arc, cache: Arc) -> Result<(), Vec> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_media` is never used [INFO] [stdout] --> src/elements/media/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl MediaGroup { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 73 | pub fn add_media(&mut self, media: Arc) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/elements/tagged/custom.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct TaggedProcessor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | pub kind: TaggedKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRangeParams` is never constructed [INFO] [stdout] --> src/lsp/code.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CodeRangeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRange` is never constructed [INFO] [stdout] --> src/lsp/code.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CodeRange<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_source_impl`, `from_source`, and `add` are never used [INFO] [stdout] --> src/lsp/code.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> CodeRange<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 51 | fn from_source_impl( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from_source( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add(&self, range: Range, language: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_source` is never read [INFO] [stdout] --> src/lsp/conceal.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Conceal<'lsp> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conceal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor` is never read [INFO] [stdout] --> src/lsp/hints.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HintsData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | /// The current cursor [INFO] [stdout] 16 | cursor: RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HintsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hints` is never constructed [INFO] [stdout] --> src/lsp/hints.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Hints<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/hints.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Hints<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn add(&self, position: usize, label: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/hover.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Hover<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// The resolved parent source [INFO] [stdout] 29 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Styles` is never constructed [INFO] [stdout] --> src/lsp/styles.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Styles<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/styles.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> Styles<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn add(&self, range: Range, style: Style) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/ranges.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Range<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// The resolved parent source [INFO] [stdout] 28 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxy` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LuaUdVecProxy(pub *const Vec); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LuaUdVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_proxy_mut` is never used [INFO] [stdout] --> src/lua/wrappers.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait IntoLuaProxy [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 63 | fn as_proxy_mut(ptr: *mut Self) -> Self::ProxyMut; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaProxyVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct LuaProxyVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UserDataElem` is never used [INFO] [stdout] --> src/lua/wrappers.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait UserDataElem [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/lua/kernel.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 33 | impl KernelName { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn try_new(s: &str) -> Result<&KernelName, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `content` are never read [INFO] [stdout] --> src/lua/kernel.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct KernelRedirect { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 117 | /// Message source e.g print() [INFO] [stdout] 118 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 119 | /// Message content [INFO] [stdout] 120 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reports` is never read [INFO] [stdout] --> src/lua/kernel.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct KernelContext<'ctx> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 129 | pub reports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export_table` is never used [INFO] [stdout] --> src/lua/kernel.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl Kernel { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn export_table(&self, name: &str, table: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, `returns`, and `doc` are never read [INFO] [stdout] --> src/lua/doc.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LuaMethodDoc { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub args: Vec<&'static str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub returns: Option<&'static str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub doc: &'static str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaMethodDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_name` is never read [INFO] [stdout] --> src/lua/doc.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserDataDoc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | pub type_name: &'static str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserDataDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lua_docs` is never used [INFO] [stdout] --> src/lua/doc.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_lua_docs() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParserRuleAccessor` is never used [INFO] [stdout] --> src/parser/parser.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250 | pub trait ParserRuleAccessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResolveError` is never used [INFO] [stdout] --> src/parser/resolver.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ResolveError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resolver` is never constructed [INFO] [stdout] --> src/parser/resolver.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Resolver<'u> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resolve_reference`, `resolve_links`, `add_dependency`, and `resolve_references` are never used [INFO] [stdout] --> src/parser/resolver.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'u> Resolver<'u> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn resolve_reference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn resolve_links(&self, _cache: Arc, target: Target) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn add_dependency( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn resolve_references( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/parser/source.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 76 | impl SourceFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global`, `Scope`, and `Paragraph` are never constructed [INFO] [stdout] --> src/parser/state.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum StateScope { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 78 | /// Global state [INFO] [stdout] 79 | Global = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | /// Scope-local state [INFO] [stdout] 81 | Scope = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | /// Paragraph-local state [INFO] [stdout] 83 | Paragraph = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_remove` is never used [INFO] [stdout] --> src/parser/state.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait RuleState: Downcast { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn on_remove<'u>(&self, unit: &mut TranslationUnit); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuleStateHolder` is never constructed [INFO] [stdout] --> src/parser/state.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RuleStateHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, and `on_scope_end` are never used [INFO] [stdout] --> src/parser/state.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | impl RuleStateHolder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 108 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get>(&self, name: S) -> Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn on_scope_end<'u>(&mut self, unit: &mut TranslationUnit, scope: StateScope) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementStyle` is never used [INFO] [stdout] --> src/parser/style.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ElementStyle: Downcast + core::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyleHolder` is never constructed [INFO] [stdout] --> src/parser/style.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StyleHolder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_registered`, `current`, and `set_current` are never used [INFO] [stdout] --> src/parser/style.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl StyleHolder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 50 | /// Checks if a given style key is registered [INFO] [stdout] 51 | pub fn is_registered(&self, style_key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn current(&self, style_key: &str) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_current(&mut self, style: Rc) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_state` is never used [INFO] [stdout] --> src/unit/scope.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait ScopeAccessor { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 153 | fn has_state(&self, name: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `references` is never used [INFO] [stdout] --> src/unit/translation.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 426 | pub trait TranslationAccessors { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 442 | fn references(&self) -> &HashMap>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OffloadedUnit` is never used [INFO] [stdout] --> src/unit/unit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum OffloadedUnit<'u> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reference_key`, `input_path`, `output_path`, and `query_reference` are never used [INFO] [stdout] --> src/unit/unit.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'u> OffloadedUnit<'u> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 45 | /// Gets the unit's reference key [INFO] [stdout] 46 | pub fn reference_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn input_path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn output_path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn query_reference>(&self, cache: Arc, name: S) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/unit/variable.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 239 | impl PropertyVariable { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 240 | pub fn value(&self) -> &PropertyValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit/variable.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut it = value.chars(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/layout/size.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 23 | SizeOutput::CSS => match self { [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lua_ranges` is never read [INFO] [stdout] --> src/server.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Backend { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | lua_ranges: DashMap>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_reference` is never used [INFO] [stdout] --> src/compiler/links.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn translate_reference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `handle` and `location` are never read [INFO] [stdout] --> src/compiler/output.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct OutputTask { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 61 | /// Task handle [INFO] [stdout] 62 | handle: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/compiler/output.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct CompilerOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 78 | /// Compilation target [INFO] [stdout] 79 | target: Target, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessOptions` is never constructed [INFO] [stdout] --> src/compiler/process.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ProcessOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessError` is never used [INFO] [stdout] --> src/compiler/process.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ProcessError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessOutputOptions` is never used [INFO] [stdout] --> src/compiler/process.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum ProcessOutputOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessQueueMessage` is never used [INFO] [stdout] --> src/compiler/process.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum ProcessQueueMessage<'u> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_message` is never used [INFO] [stdout] --> src/compiler/process.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn output_message<'u>(message: ProcessQueueMessage<'u>, perc: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessQueue` is never constructed [INFO] [stdout] --> src/compiler/process.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ProcessQueue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `process` are never used [INFO] [stdout] --> src/compiler/process.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | impl ProcessQueue { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 114 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `settings` are never read [INFO] [stdout] --> src/elements/import/elem.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct LazyImport { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) settings: ProjectSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LazyImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process` is never used [INFO] [stdout] --> src/elements/import/elem.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | impl LazyImport { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 121 | pub fn process(&self, parser: Arc, cache: Arc) -> Result<(), Vec> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_media` is never used [INFO] [stdout] --> src/elements/media/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl MediaGroup { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 73 | pub fn add_media(&mut self, media: Arc) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/elements/tagged/custom.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct TaggedProcessor { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 54 | pub kind: TaggedKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRangeParams` is never constructed [INFO] [stdout] --> src/lsp/code.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CodeRangeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeRange` is never constructed [INFO] [stdout] --> src/lsp/code.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CodeRange<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_source_impl`, `from_source`, and `add` are never used [INFO] [stdout] --> src/lsp/code.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> CodeRange<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 51 | fn from_source_impl( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from_source( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add(&self, range: Range, language: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_source` is never read [INFO] [stdout] --> src/lsp/conceal.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Conceal<'lsp> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conceal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor` is never read [INFO] [stdout] --> src/lsp/hints.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HintsData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | /// The current cursor [INFO] [stdout] 16 | cursor: RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HintsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hints` is never constructed [INFO] [stdout] --> src/lsp/hints.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Hints<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/hints.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Hints<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn add(&self, position: usize, label: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/hover.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Hover<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// The resolved parent source [INFO] [stdout] 29 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Styles` is never constructed [INFO] [stdout] --> src/lsp/styles.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Styles<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/lsp/styles.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> Styles<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn add(&self, range: Range, style: Style) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original_source` and `source` are never read [INFO] [stdout] --> src/lsp/ranges.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Range<'lsp> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | original_source: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// The resolved parent source [INFO] [stdout] 28 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxy` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LuaUdVecProxy(pub *const Vec); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaUdVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LuaUdVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_proxy_mut` is never used [INFO] [stdout] --> src/lua/wrappers.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait IntoLuaProxy [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 63 | fn as_proxy_mut(ptr: *mut Self) -> Self::ProxyMut; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LuaProxyVecProxyMut` is never constructed [INFO] [stdout] --> src/lua/wrappers.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct LuaProxyVecProxyMut(pub *mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UserDataElem` is never used [INFO] [stdout] --> src/lua/wrappers.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait UserDataElem [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> src/lua/kernel.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 33 | impl KernelName { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn try_new(s: &str) -> Result<&KernelName, String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `content` are never read [INFO] [stdout] --> src/lua/kernel.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct KernelRedirect { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 117 | /// Message source e.g print() [INFO] [stdout] 118 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 119 | /// Message content [INFO] [stdout] 120 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reports` is never read [INFO] [stdout] --> src/lua/kernel.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct KernelContext<'ctx> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 129 | pub reports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export_table` is never used [INFO] [stdout] --> src/lua/kernel.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl Kernel { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn export_table(&self, name: &str, table: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `args`, `returns`, and `doc` are never read [INFO] [stdout] --> src/lua/doc.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LuaMethodDoc { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub args: Vec<&'static str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub returns: Option<&'static str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub doc: &'static str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaMethodDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_name` is never read [INFO] [stdout] --> src/lua/doc.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserDataDoc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | pub type_name: &'static str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserDataDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lua_docs` is never used [INFO] [stdout] --> src/lua/doc.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_lua_docs() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParserRuleAccessor` is never used [INFO] [stdout] --> src/parser/parser.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250 | pub trait ParserRuleAccessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResolveError` is never used [INFO] [stdout] --> src/parser/resolver.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ResolveError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Resolver` is never constructed [INFO] [stdout] --> src/parser/resolver.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Resolver<'u> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resolve_reference`, `resolve_links`, `add_dependency`, and `resolve_references` are never used [INFO] [stdout] --> src/parser/resolver.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'u> Resolver<'u> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn resolve_reference( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn resolve_links(&self, _cache: Arc, target: Target) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn add_dependency( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn resolve_references( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/parser/source.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 76 | impl SourceFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global`, `Scope`, and `Paragraph` are never constructed [INFO] [stdout] --> src/parser/state.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum StateScope { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 78 | /// Global state [INFO] [stdout] 79 | Global = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | /// Scope-local state [INFO] [stdout] 81 | Scope = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | /// Paragraph-local state [INFO] [stdout] 83 | Paragraph = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_remove` is never used [INFO] [stdout] --> src/parser/state.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait RuleState: Downcast { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn on_remove<'u>(&self, unit: &mut TranslationUnit); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuleStateHolder` is never constructed [INFO] [stdout] --> src/parser/state.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RuleStateHolder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, and `on_scope_end` are never used [INFO] [stdout] --> src/parser/state.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | impl RuleStateHolder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 108 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get>(&self, name: S) -> Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn on_scope_end<'u>(&mut self, unit: &mut TranslationUnit, scope: StateScope) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementStyle` is never used [INFO] [stdout] --> src/parser/style.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ElementStyle: Downcast + core::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StyleHolder` is never constructed [INFO] [stdout] --> src/parser/style.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StyleHolder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_registered`, `current`, and `set_current` are never used [INFO] [stdout] --> src/parser/style.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | impl StyleHolder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 50 | /// Checks if a given style key is registered [INFO] [stdout] 51 | pub fn is_registered(&self, style_key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn current(&self, style_key: &str) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_current(&mut self, style: Rc) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_content` and `has_state` are never used [INFO] [stdout] --> src/unit/scope.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait ScopeAccessor { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 134 | fn get_content(&self, id: usize) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn has_state(&self, name: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `references` is never used [INFO] [stdout] --> src/unit/translation.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 426 | pub trait TranslationAccessors { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 442 | fn references(&self) -> &HashMap>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OffloadedUnit` is never used [INFO] [stdout] --> src/unit/unit.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum OffloadedUnit<'u> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reference_key`, `input_path`, `output_path`, and `query_reference` are never used [INFO] [stdout] --> src/unit/unit.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'u> OffloadedUnit<'u> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 45 | /// Gets the unit's reference key [INFO] [stdout] 46 | pub fn reference_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn input_path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn output_path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn query_reference>(&self, cache: Arc, name: S) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/unit/variable.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 239 | impl PropertyVariable { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 240 | pub fn value(&self) -> &PropertyValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsRefForCompare` is never used [INFO] [stdout] --> src/util/util.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait AsRefForCompare<'a, T: ?Sized> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `runtime-format` [INFO] [stderr] --> Cargo.toml:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | runtime-format = "0.1.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `runtime-format` [INFO] [stderr] warning: `nml` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0", kill_on_drop: false }` [INFO] [stdout] 5a9879795c12a8b2bc805876af06b9b6ae89e22eadd581e6569e1fabbe5e42e0