[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] 0a5f2b5aec80132304485c4fa235fa57dda7b2b5 [INFO] checking ef3d0c3e/nml/0a5f2b5aec80132304485c4fa235fa57dda7b2b5 against master#249cb84316401daf040832cdbb8a45e0f5ab6af8 for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fef3d0c3e%2Fnml" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ef3d0c3e/nml on toolchain 249cb84316401daf040832cdbb8a45e0f5ab6af8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mlua-sys v0.6.1 [INFO] [stderr] Downloaded graphviz-rust v0.9.0 [INFO] [stderr] Downloaded into-attr-derive v0.2.1 [INFO] [stderr] Downloaded dot-structures v0.1.1 [INFO] [stderr] Downloaded into-attr v0.1.1 [INFO] [stderr] Downloaded runtime-format v0.1.3 [INFO] [stderr] Downloaded mlua v0.9.9 [INFO] [stderr] Downloaded lua-src v546.0.2 [INFO] [stderr] Downloaded luajit-src v210.5.8+5790d25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd4fd076e073c55e18a2530e4d6a25be0dbc985f29b52042812a9a495a1f8bf3 [INFO] running `Command { std: "docker" "start" "-a" "cd4fd076e073c55e18a2530e4d6a25be0dbc985f29b52042812a9a495a1f8bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd4fd076e073c55e18a2530e4d6a25be0dbc985f29b52042812a9a495a1f8bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd4fd076e073c55e18a2530e4d6a25be0dbc985f29b52042812a9a495a1f8bf3", kill_on_drop: false }` [INFO] [stdout] cd4fd076e073c55e18a2530e4d6a25be0dbc985f29b52042812a9a495a1f8bf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff700bf8df5e9ca2345d5f9096688ae68caa4f3f2794bd4d447bfe2eb2681b79 [INFO] running `Command { std: "docker" "start" "-a" "ff700bf8df5e9ca2345d5f9096688ae68caa4f3f2794bd4d447bfe2eb2681b79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling lua-src v546.0.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling which v6.0.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling luajit-src v210.5.8+5790d25 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling mlua-sys v0.6.1 [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.32.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking ariadne v0.4.1 [INFO] [stderr] Checking graphviz-rust v0.9.0 [INFO] [stderr] Compiling auto-registry v0.0.4 (/opt/rustwide/workdir/crates/auto-registry) [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking runtime-format v0.1.3 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking mlua v0.9.9 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking nml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lua::kernel::CTX` [INFO] [stdout] --> src/elements/table/rule.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use lua::kernel::CTX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::attributes::overlap_scaling` [INFO] [stdout] --> src/lua/kernel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use graphviz_rust::attributes::overlap_scaling; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lua::kernel::CTX` [INFO] [stdout] --> src/elements/table/rule.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use lua::kernel::CTX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::attributes::overlap_scaling` [INFO] [stdout] --> src/lua/kernel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use graphviz_rust::attributes::overlap_scaling; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lua::kernel::CTX` [INFO] [stdout] --> src/elements/table/rule.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use lua::kernel::CTX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::attributes::overlap_scaling` [INFO] [stdout] --> src/lua/kernel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use graphviz_rust::attributes::overlap_scaling; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lua::kernel::CTX` [INFO] [stdout] --> src/elements/table/rule.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use lua::kernel::CTX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphviz_rust::attributes::overlap_scaling` [INFO] [stdout] --> src/lua/kernel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use graphviz_rust::attributes::overlap_scaling; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/elements/table/rule.rs:751:8 [INFO] [stdout] | [INFO] [stdout] 751 | let mut kernels_borrow = state.shared.kernels.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/elements/table/rule.rs:751:8 [INFO] [stdout] | [INFO] [stdout] 751 | let mut kernels_borrow = state.shared.kernels.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/block/data.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 62 | impl BlockHolder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn insert(&mut self, block: Rc) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/layout/data.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl LayoutHolder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn insert(&mut self, layout: Rc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `style` is never used [INFO] [stdout] --> src/elements/reference/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl ExternalReference { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 73 | pub fn style(&self) -> &Rc { &self.style } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STATE_NAME` is never used [INFO] [stdout] --> src/elements/style/state.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static STATE_NAME: &str = "elements.style"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/elements/table/elem.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct CellData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 182 | pub(crate) location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellData` 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 `source` is never read [INFO] [stdout] --> src/lsp/hints.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Hints<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub(self) source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hints` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/langparser.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> LangParser<'a> { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_colors` is never used [INFO] [stdout] --> src/parser/parser.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl ReportColors { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn without_colors() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_semantics` is never used [INFO] [stdout] --> src/parser/parser.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 120 | impl<'a, 'b> ParserState<'a, 'b> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn new_with_semantics( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_diagnostics` and `reports_to_diagnostics` are never used [INFO] [stdout] --> src/parser/reports.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 56 | impl Report { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn to_diagnostics(self, diagnostic_map: &DashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn reports_to_diagnostics( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_content` is never used [INFO] [stdout] --> src/parser/source.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl SourceFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn with_content(path: String, content: String, location: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_offset` is never used [INFO] [stdout] --> src/parser/source.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 363 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn start_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GLOBAL` is never constructed [INFO] [stdout] --> src/parser/state.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Scope { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 16 | /// Global state [INFO] [stdout] 17 | GLOBAL = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTML` is never constructed [INFO] [stdout] --> src/compiler/compiler.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Target { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 17 | HTML, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `header`, `footer`, and `compile` are never used [INFO] [stdout] --> src/compiler/compiler.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Compiler<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(target: Target, con: Option<&'a Connection>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn header(&self, document: &dyn Document) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn footer(&self, _document: &dyn Document) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn compile(&self, document: &dyn Document) -> (CompiledDocument, PostProcess) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompiledDocument` is never constructed [INFO] [stdout] --> src/compiler/compiler.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct CompiledDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompiledDocument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/compiler.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 314 | impl CompiledDocument { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 315 | pub fn get_variable(&self, name: &str) -> Option<&String> { self.variables.get(name) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 316 | [INFO] [stdout] 317 | fn sql_table() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn sql_get_query() -> &'static str { "SELECT * FROM compiled_documents WHERE input = (?1)" } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 330 | [INFO] [stdout] 331 | fn sql_insert_query() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn init_cache(con: &Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn from_cache(con: &Connection, input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn insert_cache(&self, con: &Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries` and `children` are never read [INFO] [stdout] --> src/compiler/navigation.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NavEntries { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 19 | pub(self) entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub(self) children: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavEntries` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `compile` and `sort_entry` are never used [INFO] [stdout] --> src/compiler/navigation.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | impl NavEntries { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 24 | // FIXME: Sanitize [INFO] [stdout] 25 | pub fn compile(&self, target: Target, doc: &RefCell) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn sort_entry( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_navigation` is never used [INFO] [stdout] --> src/compiler/navigation.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn create_navigation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostProcess` is never constructed [INFO] [stdout] --> src/compiler/postprocess.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PostProcess { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/compiler/postprocess.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl PostProcess { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 19 | /// Applies postprocessing to a [`CompiledDocument`] [INFO] [stdout] 20 | pub fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/compiler/process.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/compiler/process.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/block/data.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 62 | impl BlockHolder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn insert(&mut self, block: Rc) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/layout/data.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl LayoutHolder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn insert(&mut self, layout: Rc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `style` is never used [INFO] [stdout] --> src/elements/reference/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl ExternalReference { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 73 | pub fn style(&self) -> &Rc { &self.style } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STATE_NAME` is never used [INFO] [stdout] --> src/elements/style/state.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static STATE_NAME: &str = "elements.style"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/elements/table/elem.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct CellData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 182 | pub(crate) location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellData` 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 `source` is never read [INFO] [stdout] --> src/lsp/hints.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Hints<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub(self) source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hints` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/parser/langparser.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> LangParser<'a> { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `warning` are never read [INFO] [stdout] --> src/parser/parser.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ReportColors { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 30 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub warning: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReportColors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ariadne_color`, `to_ariadne`, and `reports_to_stdout` are never used [INFO] [stdout] --> src/parser/reports.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | impl Report { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 57 | fn ariadne_color(kind: &ReportKind, colors: &ReportColors) -> ariadne::Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn to_ariadne( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn reports_to_stdout(colors: &ReportColors, mut reports: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_offset` is never used [INFO] [stdout] --> src/parser/source.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 363 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn start_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GLOBAL` is never constructed [INFO] [stdout] --> src/parser/state.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Scope { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 16 | /// Global state [INFO] [stdout] 17 | GLOBAL = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/elements/table/rule.rs:751:8 [INFO] [stdout] | [INFO] [stdout] 751 | let mut kernels_borrow = state.shared.kernels.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/elements/table/rule.rs:751:8 [INFO] [stdout] | [INFO] [stdout] 751 | let mut kernels_borrow = state.shared.kernels.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/block/data.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 62 | impl BlockHolder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn insert(&mut self, block: Rc) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/layout/data.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl LayoutHolder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn insert(&mut self, layout: Rc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `style` is never used [INFO] [stdout] --> src/elements/reference/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl ExternalReference { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 73 | pub fn style(&self) -> &Rc { &self.style } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STATE_NAME` is never used [INFO] [stdout] --> src/elements/style/state.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static STATE_NAME: &str = "elements.style"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/elements/table/elem.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct CellData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 182 | pub(crate) location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellData` 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 `source` is never read [INFO] [stdout] --> src/lsp/hints.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Hints<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub(self) source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hints` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/langparser.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> LangParser<'a> { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `without_colors` is never used [INFO] [stdout] --> src/parser/parser.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl ReportColors { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn without_colors() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_diagnostics` and `reports_to_diagnostics` are never used [INFO] [stdout] --> src/parser/reports.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 56 | impl Report { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn to_diagnostics(self, diagnostic_map: &DashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn reports_to_diagnostics( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_offset` is never used [INFO] [stdout] --> src/parser/source.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 363 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn start_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GLOBAL` is never constructed [INFO] [stdout] --> src/parser/state.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Scope { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 16 | /// Global state [INFO] [stdout] 17 | GLOBAL = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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 `mtime`, `header`, and `footer` are never read [INFO] [stdout] --> src/compiler/compiler.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct CompiledDocument { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 296 | pub mtime: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub header: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub footer: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompiledDocument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sql_table`, `sql_get_query`, `sql_insert_query`, `init_cache`, `from_cache`, and `insert_cache` are never used [INFO] [stdout] --> src/compiler/compiler.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 314 | impl CompiledDocument { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 317 | fn sql_table() -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn sql_get_query() -> &'static str { "SELECT * FROM compiled_documents WHERE input = (?1)" } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 330 | [INFO] [stdout] 331 | fn sql_insert_query() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn init_cache(con: &Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn from_cache(con: &Connection, input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn insert_cache(&self, con: &Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile` is never used [INFO] [stdout] --> src/compiler/navigation.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | impl NavEntries { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 24 | // FIXME: Sanitize [INFO] [stdout] 25 | pub fn compile(&self, target: Target, doc: &RefCell) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/compiler/process.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/block/data.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 62 | impl BlockHolder { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn insert(&mut self, block: Rc) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/elements/layout/data.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl LayoutHolder { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn insert(&mut self, layout: Rc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `style` is never used [INFO] [stdout] --> src/elements/reference/elem.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | impl ExternalReference { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 73 | pub fn style(&self) -> &Rc { &self.style } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STATE_NAME` is never used [INFO] [stdout] --> src/elements/style/state.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static STATE_NAME: &str = "elements.style"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/elements/table/elem.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct CellData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 182 | pub(crate) location: Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellData` 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 `source` is never read [INFO] [stdout] --> src/lsp/hints.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Hints<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub(self) source: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hints` 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 `start_offset` is never used [INFO] [stdout] --> src/parser/source.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 363 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn start_offset(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GLOBAL` is never constructed [INFO] [stdout] --> src/parser/state.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Scope { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 16 | /// Global state [INFO] [stdout] 17 | GLOBAL = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "ff700bf8df5e9ca2345d5f9096688ae68caa4f3f2794bd4d447bfe2eb2681b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff700bf8df5e9ca2345d5f9096688ae68caa4f3f2794bd4d447bfe2eb2681b79", kill_on_drop: false }` [INFO] [stdout] ff700bf8df5e9ca2345d5f9096688ae68caa4f3f2794bd4d447bfe2eb2681b79