[INFO] cloning repository https://github.com/fzliang/wxml-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fzliang/wxml-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzliang%2Fwxml-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzliang%2Fwxml-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fac19bcd9affa8971972e814e00b09f56db1d68b [INFO] checking fzliang/wxml-compiler against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzliang%2Fwxml-compiler" "/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/fzliang/wxml-compiler on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fzliang/wxml-compiler [INFO] finished tweaking git repo https://github.com/fzliang/wxml-compiler [INFO] tweaked toml for git repo https://github.com/fzliang/wxml-compiler written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fzliang/wxml-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.3.23 [INFO] [stderr] Downloaded clap_builder v4.3.23 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cda8a5d8d7b0021751e2bb35e3f386970acb6562b58d0a46de713e879be303f [INFO] running `Command { std: "docker" "start" "-a" "5cda8a5d8d7b0021751e2bb35e3f386970acb6562b58d0a46de713e879be303f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cda8a5d8d7b0021751e2bb35e3f386970acb6562b58d0a46de713e879be303f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cda8a5d8d7b0021751e2bb35e3f386970acb6562b58d0a46de713e879be303f", kill_on_drop: false }` [INFO] [stdout] 5cda8a5d8d7b0021751e2bb35e3f386970acb6562b58d0a46de713e879be303f [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f79505971e64e3a1903b523d57f33f0c64e3ed035c413f295a0fbebdc05a187 [INFO] running `Command { std: "docker" "start" "-a" "8f79505971e64e3a1903b523d57f33f0c64e3ed035c413f295a0fbebdc05a187", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.23 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking clap v4.3.23 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling pest v2.7.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling pest_meta v2.7.2 [INFO] [stderr] Compiling pest_generator v2.7.2 [INFO] [stderr] Compiling pest_derive v2.7.2 [INFO] [stderr] Checking wxml-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TmplAttrKind`, `TmplAttrValue`, `TmplAttr`, `TmplElement`, `TmplExprLevel`, `TmplExpr`, `TmplGroup`, `TmplNode`, `TmplTextNode`, `TmplVirtualType`, `escape_html_text`, `gen_lit_str`, and `tree::TmplTree` [INFO] [stdout] --> src/display_debug.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | TmplAttr, TmplAttrKind, TmplAttrValue, TmplElement, TmplNode, TmplTextNode, TmplVirtualType, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | }, [INFO] [stdout] 5 | escape::{escape_html_text, gen_lit_str}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 6 | expr::{TmplExpr, TmplExprLevel}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7 | tree::TmplTree, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | TmplGroup, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/display_debug.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/js_bindings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_bindings::*` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | -------------- but the name `parse_tmpl` in the value namespace is also re-exported here [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ the name `parse_tmpl` in the value namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/group.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{parse_tmpl, tree::TmplTree, TmplParseError}; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TmplAttrKind`, `TmplAttrValue`, `TmplAttr`, `TmplElement`, `TmplExprLevel`, `TmplExpr`, `TmplGroup`, `TmplNode`, `TmplTextNode`, `TmplVirtualType`, `escape_html_text`, `gen_lit_str`, and `tree::TmplTree` [INFO] [stdout] --> src/display_debug.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | TmplAttr, TmplAttrKind, TmplAttrValue, TmplElement, TmplNode, TmplTextNode, TmplVirtualType, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | }, [INFO] [stdout] 5 | escape::{escape_html_text, gen_lit_str}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 6 | expr::{TmplExpr, TmplExprLevel}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7 | tree::TmplTree, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | TmplGroup, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/js_bindings.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let tmpl = crate::parse_tmpl(tmpl_str)?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/display_debug.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/js_bindings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_bindings::*` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | -------------- but the name `parse_tmpl` in the value namespace is also re-exported here [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ the name `parse_tmpl` in the value namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/group.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{parse_tmpl, tree::TmplTree, TmplParseError}; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/js_bindings.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let tmpl = crate::parse_tmpl(tmpl_str)?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `list_fields` are never used [INFO] [stdout] --> src/binding_map.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl BindingMapCollector { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn get_field(&self, field: &str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn list_fields(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/binding_map.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl BindingMapKeys { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn is_empty(&self, bmc: &BindingMapCollector) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_attr` is never read [INFO] [stdout] --> src/element.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TmplElement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) extra_attr: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplElement` 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 `key` is never read [INFO] [stdout] --> src/element.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 25 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `path` is never read [INFO] [stdout] --> src/element.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Include { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 40 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `name` is never read [INFO] [stdout] --> src/element.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | ModelProperty { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | ChangeProperty { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 76 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | WorkletProperty { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 79 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | Data { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 82 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | Mark { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 85 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `capture`, `catch`, `mut_bind`, and `name` are never read [INFO] [stdout] --> src/element.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | Event { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 88 | capture: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | catch: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | mut_bind: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `content` is never read [INFO] [stdout] --> src/element.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 106 | Inline { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 107 | module_name: String, [INFO] [stdout] 108 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `rel_path` is never read [INFO] [stdout] --> src/element.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | GlobalRef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 111 | module_name: String, [INFO] [stdout] 112 | rel_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `escape_html_text` is never used [INFO] [stdout] --> src/escape.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn escape_html_text(s: &str) -> Cow<'_, str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_lit_str` is never used [INFO] [stdout] --> src/escape.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn gen_lit_str(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(usize), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(f64), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/expr.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TmplExprLevel` is never used [INFO] [stdout] --> src/expr.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) enum TmplExprLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `level` is never used [INFO] [stdout] --> src/expr.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl TmplExpr { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 70 | pub(crate) fn level(&self) -> TmplExprLevel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_runtime_string` is never read [INFO] [stdout] --> src/group.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TmplGroup { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) extra_runtime_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/path.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn normalize(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/path.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn resolve(base: &str, rel: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root`, `get_direct_dependencies`, `get_script_dependencies`, `get_inline_script`, and `set_inline_script` are never used [INFO] [stdout] --> src/tree.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl TmplTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn root(&self) -> &TmplElement { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_direct_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn get_script_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn get_inline_script(&self, module_name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn set_inline_script(&mut self, module_name: &str, new_content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `list_fields` are never used [INFO] [stdout] --> src/binding_map.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl BindingMapCollector { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn get_field(&self, field: &str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn list_fields(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/binding_map.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl BindingMapKeys { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn is_empty(&self, bmc: &BindingMapCollector) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_attr` is never read [INFO] [stdout] --> src/element.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TmplElement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) extra_attr: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplElement` 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 `key` is never read [INFO] [stdout] --> src/element.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 25 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `path` is never read [INFO] [stdout] --> src/element.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Include { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 40 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `name` is never read [INFO] [stdout] --> src/element.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | ModelProperty { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | ChangeProperty { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 76 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | WorkletProperty { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 79 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | Data { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 82 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | Mark { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 85 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `capture`, `catch`, `mut_bind`, and `name` are never read [INFO] [stdout] --> src/element.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | Event { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 88 | capture: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | catch: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | mut_bind: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `content` is never read [INFO] [stdout] --> src/element.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 106 | Inline { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 107 | module_name: String, [INFO] [stdout] 108 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `rel_path` is never read [INFO] [stdout] --> src/element.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | GlobalRef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 111 | module_name: String, [INFO] [stdout] 112 | rel_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `escape_html_text` is never used [INFO] [stdout] --> src/escape.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn escape_html_text(s: &str) -> Cow<'_, str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_lit_str` is never used [INFO] [stdout] --> src/escape.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn gen_lit_str(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(usize), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(f64), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/expr.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TmplExprLevel` is never used [INFO] [stdout] --> src/expr.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) enum TmplExprLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `level` is never used [INFO] [stdout] --> src/expr.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl TmplExpr { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 70 | pub(crate) fn level(&self) -> TmplExprLevel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_runtime_string` is never read [INFO] [stdout] --> src/group.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TmplGroup { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) extra_runtime_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/path.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn normalize(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/path.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn resolve(base: &str, rel: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root`, `get_direct_dependencies`, `get_script_dependencies`, `get_inline_script`, and `set_inline_script` are never used [INFO] [stdout] --> src/tree.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl TmplTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn root(&self) -> &TmplElement { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_direct_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn get_script_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn get_inline_script(&self, module_name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn set_inline_script(&mut self, module_name: &str, new_content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_wxml_files` is never used [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn load_wxml_files(group: &mut TmplGroup, dir: &Path, wxml_path: &mut Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8f79505971e64e3a1903b523d57f33f0c64e3ed035c413f295a0fbebdc05a187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f79505971e64e3a1903b523d57f33f0c64e3ed035c413f295a0fbebdc05a187", kill_on_drop: false }` [INFO] [stdout] 8f79505971e64e3a1903b523d57f33f0c64e3ed035c413f295a0fbebdc05a187 [INFO] checking fzliang/wxml-compiler against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzliang%2Fwxml-compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fzliang/wxml-compiler on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fzliang/wxml-compiler [INFO] finished tweaking git repo https://github.com/fzliang/wxml-compiler [INFO] tweaked toml for git repo https://github.com/fzliang/wxml-compiler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fzliang/wxml-compiler 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348e166935243809115417453dd4933466627d1f509f41ade8708ddffa2d28e4 [INFO] running `Command { std: "docker" "start" "-a" "348e166935243809115417453dd4933466627d1f509f41ade8708ddffa2d28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348e166935243809115417453dd4933466627d1f509f41ade8708ddffa2d28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348e166935243809115417453dd4933466627d1f509f41ade8708ddffa2d28e4", kill_on_drop: false }` [INFO] [stdout] 348e166935243809115417453dd4933466627d1f509f41ade8708ddffa2d28e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43e126c0472b7b6cc8d6794f7c4041e2ee710796823f5d298bc39528fcc880b2 [INFO] running `Command { std: "docker" "start" "-a" "43e126c0472b7b6cc8d6794f7c4041e2ee710796823f5d298bc39528fcc880b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.23 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking clap v4.3.23 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling pest v2.7.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling pest_meta v2.7.2 [INFO] [stderr] Compiling pest_generator v2.7.2 [INFO] [stderr] Compiling pest_derive v2.7.2 [INFO] [stderr] Checking wxml-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TmplAttrKind`, `TmplAttrValue`, `TmplAttr`, `TmplElement`, `TmplExprLevel`, `TmplExpr`, `TmplGroup`, `TmplNode`, `TmplTextNode`, `TmplVirtualType`, `escape_html_text`, `gen_lit_str`, and `tree::TmplTree` [INFO] [stdout] --> src/display_debug.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | TmplAttr, TmplAttrKind, TmplAttrValue, TmplElement, TmplNode, TmplTextNode, TmplVirtualType, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | }, [INFO] [stdout] 5 | escape::{escape_html_text, gen_lit_str}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 6 | expr::{TmplExpr, TmplExprLevel}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7 | tree::TmplTree, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | TmplGroup, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/display_debug.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/js_bindings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_bindings::*` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | -------------- but the name `parse_tmpl` in the value namespace is also re-exported here [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ the name `parse_tmpl` in the value namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/group.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{parse_tmpl, tree::TmplTree, TmplParseError}; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/js_bindings.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let tmpl = crate::parse_tmpl(tmpl_str)?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TmplAttrKind`, `TmplAttrValue`, `TmplAttr`, `TmplElement`, `TmplExprLevel`, `TmplExpr`, `TmplGroup`, `TmplNode`, `TmplTextNode`, `TmplVirtualType`, `escape_html_text`, `gen_lit_str`, and `tree::TmplTree` [INFO] [stdout] --> src/display_debug.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | TmplAttr, TmplAttrKind, TmplAttrValue, TmplElement, TmplNode, TmplTextNode, TmplVirtualType, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | }, [INFO] [stdout] 5 | escape::{escape_html_text, gen_lit_str}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 6 | expr::{TmplExpr, TmplExprLevel}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7 | tree::TmplTree, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | TmplGroup, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/display_debug.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/js_bindings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `js_bindings::*` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | -------------- but the name `parse_tmpl` in the value namespace is also re-exported here [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ the name `parse_tmpl` in the value namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/group.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{parse_tmpl, tree::TmplTree, TmplParseError}; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `parse_tmpl` is ambiguous [INFO] [stdout] --> src/js_bindings.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let tmpl = crate::parse_tmpl(tmpl_str)?; [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `parse_tmpl` could refer to the function imported here [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] note: `parse_tmpl` could also refer to the function imported here [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use js_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `parse_tmpl` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `list_fields` are never used [INFO] [stdout] --> src/binding_map.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl BindingMapCollector { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn get_field(&self, field: &str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn list_fields(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/binding_map.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl BindingMapKeys { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn is_empty(&self, bmc: &BindingMapCollector) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_attr` is never read [INFO] [stdout] --> src/element.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TmplElement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) extra_attr: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplElement` 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 `key` is never read [INFO] [stdout] --> src/element.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 25 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `path` is never read [INFO] [stdout] --> src/element.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Include { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 40 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `name` is never read [INFO] [stdout] --> src/element.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | ModelProperty { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | ChangeProperty { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 76 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | WorkletProperty { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 79 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | Data { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 82 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | Mark { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 85 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `capture`, `catch`, `mut_bind`, and `name` are never read [INFO] [stdout] --> src/element.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | Event { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 88 | capture: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | catch: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | mut_bind: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `content` is never read [INFO] [stdout] --> src/element.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 106 | Inline { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 107 | module_name: String, [INFO] [stdout] 108 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `rel_path` is never read [INFO] [stdout] --> src/element.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | GlobalRef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 111 | module_name: String, [INFO] [stdout] 112 | rel_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `escape_html_text` is never used [INFO] [stdout] --> src/escape.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn escape_html_text(s: &str) -> Cow<'_, str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_lit_str` is never used [INFO] [stdout] --> src/escape.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn gen_lit_str(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(usize), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(f64), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/expr.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TmplExprLevel` is never used [INFO] [stdout] --> src/expr.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) enum TmplExprLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `level` is never used [INFO] [stdout] --> src/expr.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl TmplExpr { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 70 | pub(crate) fn level(&self) -> TmplExprLevel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_runtime_string` is never read [INFO] [stdout] --> src/group.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TmplGroup { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) extra_runtime_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/path.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn normalize(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/path.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn resolve(base: &str, rel: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root`, `get_direct_dependencies`, `get_script_dependencies`, `get_inline_script`, and `set_inline_script` are never used [INFO] [stdout] --> src/tree.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl TmplTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn root(&self) -> &TmplElement { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_direct_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn get_script_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn get_inline_script(&self, module_name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn set_inline_script(&mut self, module_name: &str, new_content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 132 | pub(crate) fn new(tag_name: &str, virtual_type: TmplVirtualType) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | slot: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn add_attr(&mut self, name: &str, value: TmplAttrValue) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | self.attrs.push(TmplAttr { kind, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 113 | let obj = pairs [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Box::new(TmplExpr::LitObj(obj)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 246 | let arr = pairs.map(|x| *parse_cond(x)).collect(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | Box::new(TmplExpr::LitArr(arr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | let arr = pairs.map(|x| *parse_cond(x)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:268:56 [INFO] [stdout] | [INFO] [stdout] 268 | let next = op.into_inner().map(|next| *parse_cond(next)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field` and `list_fields` are never used [INFO] [stdout] --> src/binding_map.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl BindingMapCollector { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn get_field(&self, field: &str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn list_fields(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/binding_map.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl BindingMapKeys { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn is_empty(&self, bmc: &BindingMapCollector) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_attr` is never read [INFO] [stdout] --> src/element.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TmplElement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) extra_attr: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplElement` 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 `key` is never read [INFO] [stdout] --> src/element.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | For { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 25 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `path` is never read [INFO] [stdout] --> src/element.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Include { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 40 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplVirtualType` 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 `name` is never read [INFO] [stdout] --> src/element.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | ModelProperty { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | ChangeProperty { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 76 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | WorkletProperty { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 79 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | Data { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 82 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `name` is never read [INFO] [stdout] --> src/element.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | Mark { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 85 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `capture`, `catch`, `mut_bind`, and `name` are never read [INFO] [stdout] --> src/element.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | Event { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 88 | capture: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | catch: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | mut_bind: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplAttrKind` 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 `content` is never read [INFO] [stdout] --> src/element.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 106 | Inline { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 107 | module_name: String, [INFO] [stdout] 108 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `rel_path` is never read [INFO] [stdout] --> src/element.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | GlobalRef { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 111 | module_name: String, [INFO] [stdout] 112 | rel_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TmplScript` 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 `escape_html_text` is never used [INFO] [stdout] --> src/escape.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn escape_html_text(s: &str) -> Cow<'_, str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_lit_str` is never used [INFO] [stdout] --> src/escape.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn gen_lit_str(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(usize), [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | ScopeIndex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | LitInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(f64), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | LitFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/expr.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TmplExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | StaticMember(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TmplExprLevel` is never used [INFO] [stdout] --> src/expr.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) enum TmplExprLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `level` is never used [INFO] [stdout] --> src/expr.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 69 | impl TmplExpr { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 70 | pub(crate) fn level(&self) -> TmplExprLevel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra_runtime_string` is never read [INFO] [stdout] --> src/group.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TmplGroup { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) extra_runtime_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/path.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn normalize(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/path.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn resolve(base: &str, rel: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root`, `get_direct_dependencies`, `get_script_dependencies`, `get_inline_script`, and `set_inline_script` are never used [INFO] [stdout] --> src/tree.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl TmplTree { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn root(&self) -> &TmplElement { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn get_direct_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn get_script_dependencies(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn get_inline_script(&self, module_name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub(crate) fn set_inline_script(&mut self, module_name: &str, new_content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 132 | pub(crate) fn new(tag_name: &str, virtual_type: TmplVirtualType) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | slot: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/element.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn add_attr(&mut self, name: &str, value: TmplAttrValue) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | self.attrs.push(TmplAttr { kind, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 113 | let obj = pairs [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Box::new(TmplExpr::LitObj(obj)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 246 | let arr = pairs.map(|x| *parse_cond(x)).collect(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | Box::new(TmplExpr::LitArr(arr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | let arr = pairs.map(|x| *parse_cond(x)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse_text_entity.rs:268:56 [INFO] [stdout] | [INFO] [stdout] 268 | let next = op.into_inner().map(|next| *parse_cond(next)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wxml-compiler` (lib) due to 7 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wxml-compiler` (lib test) due to 7 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43e126c0472b7b6cc8d6794f7c4041e2ee710796823f5d298bc39528fcc880b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e126c0472b7b6cc8d6794f7c4041e2ee710796823f5d298bc39528fcc880b2", kill_on_drop: false }` [INFO] [stdout] 43e126c0472b7b6cc8d6794f7c4041e2ee710796823f5d298bc39528fcc880b2