[INFO] cloning repository https://github.com/Goodjooy/QQBotMsgTemplateEngine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Goodjooy/QQBotMsgTemplateEngine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodjooy%2FQQBotMsgTemplateEngine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodjooy%2FQQBotMsgTemplateEngine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a23f8acb748c31c86b8d56784a41efc8ee4836b8 [INFO] building Goodjooy/QQBotMsgTemplateEngine against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodjooy%2FQQBotMsgTemplateEngine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Goodjooy/QQBotMsgTemplateEngine on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Goodjooy/QQBotMsgTemplateEngine [INFO] finished tweaking git repo https://github.com/Goodjooy/QQBotMsgTemplateEngine [INFO] tweaked toml for git repo https://github.com/Goodjooy/QQBotMsgTemplateEngine written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Goodjooy/QQBotMsgTemplateEngine 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ed3e283f098d5df88bc21dde0e6fa09d0b04749f174bf02328336e0145d8d05 [INFO] running `Command { std: "docker" "start" "-a" "6ed3e283f098d5df88bc21dde0e6fa09d0b04749f174bf02328336e0145d8d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ed3e283f098d5df88bc21dde0e6fa09d0b04749f174bf02328336e0145d8d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed3e283f098d5df88bc21dde0e6fa09d0b04749f174bf02328336e0145d8d05", kill_on_drop: false }` [INFO] [stdout] 6ed3e283f098d5df88bc21dde0e6fa09d0b04749f174bf02328336e0145d8d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b299e41f34080f9c982f5b7562cf34c56239a08a191b155373afa25dd96a78fd [INFO] running `Command { std: "docker" "start" "-a" "b299e41f34080f9c982f5b7562cf34c56239a08a191b155373afa25dd96a78fd", kill_on_drop: false }` [INFO] [stderr] Compiling msg_template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Mul`, and `Sub` [INFO] [stdout] --> src/anaylze/var.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/mid_output.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/anaylze/val_format.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | Value::UnSet(s) => String::from("Rander Time Set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Anaylze` is never constructed [INFO] [stdout] --> src/anaylze/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Anaylze<'a, S> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const` is never constructed [INFO] [stdout] --> src/anaylze/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Sign { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 23 | Var(Var), [INFO] [stdout] 24 | Const(Value), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Bool`, `Str`, and `List` are never constructed [INFO] [stdout] --> src/anaylze/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 28 | UnSet(String), [INFO] [stdout] 29 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_exist` and `get_mut_sign` are never used [INFO] [stdout] --> src/anaylze/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait SignTableHandle:Sized { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 41 | fn check_exist(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | fn get_sign(&self, key: &str) -> Option<&Sign>; [INFO] [stdout] 43 | fn get_mut_sign(&mut self, key: &str) -> Option<&mut Sign>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/lexical/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a, S: SignTableHandle> OutDataLoader<'a, S> { [INFO] [stdout] | ------------------------------------------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new(signs: &'a mut S, iter: PreviewableIter<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/lexical/handle.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl LexicalHandle<'_> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 6 | fn new(data: &str) -> LexicalHandle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_attr_all_exist` and `get_default` are never used [INFO] [stdout] --> src/anaylze/lexical/tag/tag.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TagStruct { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn check_attr_all_exist(&self, ks: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_default(&self,key:&str,default:&str)->TagAttr{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignTable` is never constructed [INFO] [stdout] --> src/anaylze/sign_table/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct SignTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_root` and `new_child` are never used [INFO] [stdout] --> src/anaylze/sign_table/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl SignTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 72 | pub fn new_root() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new_child(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `load_or`, and `unwarp_unmatch` are never used [INFO] [stdout] --> src/anaylze/syntax/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LoadStatus { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 25 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn load_or(self, f: F) -> T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn unwarp_unmatch(self) -> N [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LexIter` is never constructed [INFO] [stdout] --> src/anaylze/syntax/expr/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct LexIter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/syntax/expr/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl LexIter { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 98 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Items(ItemMeta, Item); [INFO] [stdout] | ----- ^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Item(ItemMeta, Box), [INFO] [stdout] | ---- ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 32 | Item((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Lit(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Lit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Tag(Tag), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 | Tag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Ctrl(CtrlTag), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | Ctrl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | Info(InfoTag), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 45 | Info(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Liter(LiteralTag), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 46 | Liter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | If(If), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 50 | If(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | Loops(Loops), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 51 | Loops(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Var(Var), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 52 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | For(For), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 56 | For(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | Loop(Loop), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 57 | Loop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | While(While), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 58 | While(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Img(Image), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 62 | Img(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | At(At), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 63 | At(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | Sign(Sign), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 68 | Sign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid` and `sep` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct At { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 7 | pub uid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub sep: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `At` 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 `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Url(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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 | Url(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | File(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Base64(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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] 14 | Base64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign` and `repeat` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Sign { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | pub sign: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub repeat: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `body`, and `follows` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 23 | pub model: CmpMod, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub follows: IfFollows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Elif(Box), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 30 | Elif(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | Else(Option>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 31 | Else(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `times`, `name`, and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Loop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub times: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `name`, and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct For { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 42 | pub source: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model` and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct While { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 49 | pub model: CmpMod, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | Eq(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 55 | Eq((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Neq(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 56 | Neq((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | Gt(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 58 | Gt((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Gte(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 59 | Gte((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | Lt(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 61 | Lt((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Lte(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 62 | Lte((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | BoolT(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 64 | BoolT(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | BoolF(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 65 | BoolF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `op` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Var { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub op: ValueOperate, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Assign(Expression), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 83 | Assign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | Print(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | Print(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | Println(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 88 | Println(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/anaylze/val_format.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn format(&self, format: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/var.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Var { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(name: &str, value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_value_mut` is never used [INFO] [stdout] --> src/anaylze/var.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Sign { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn into_value_mut(&mut self) -> Option<&mut Value> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_var` is never used [INFO] [stdout] --> src/anaylze/var.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 40 | pub fn into_var(self, name: &str) -> Var { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_as`, `add_assgin`, `sub_assgin`, `mul_assgin`, `div_assign`, and `push` are never used [INFO] [stdout] --> src/anaylze/var.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 59 | pub fn set_as(&mut self, target: Self) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn add_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn sub_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn mul_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn div_assign(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn push(&mut self, data: Value) -> Option<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/mid_output.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | SetTemp(String, TempValue), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 | SetTemp((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Add(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 | Add((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Sub(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 | Sub((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Mul(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 15 | Mul((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Div(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 | Div((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text`, `FormatText`, `Image`, `At`, `IfTrueMove`, and `IfFalseMove` are never constructed [INFO] [stdout] --> src/mid_output.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum MidData { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | FormatText(String, Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | Image(Image), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | At { target: u64 }, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | IfTrueMove(TempValue, MoveOffset), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | IfFalseMove(TempValue, MoveOffset), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sign` is never used [INFO] [stdout] --> src/mid_output.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MidData { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 20 | pub fn get_sign(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `url`, `path`, and `base64` are never read [INFO] [stdout] --> src/mid_output.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | base64: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 42 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 43 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Sign(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | Sign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mid_output.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl SignIdGenerator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MidSignTable` is never constructed [INFO] [stdout] --> src/mid_output.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct MidSignTable(HashMap, usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_sign`, and `get_sign` are never used [INFO] [stdout] --> src/mid_output.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MidSignTable { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_sign(&mut self, value: TempValue) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_sign(&self, id: usize) -> Option<&TempValue> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "b299e41f34080f9c982f5b7562cf34c56239a08a191b155373afa25dd96a78fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b299e41f34080f9c982f5b7562cf34c56239a08a191b155373afa25dd96a78fd", kill_on_drop: false }` [INFO] [stdout] b299e41f34080f9c982f5b7562cf34c56239a08a191b155373afa25dd96a78fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12a104c3647de744b6e3b93c5662bc13e2db673dbd88bdc93c4fece5b6a22ff9 [INFO] running `Command { std: "docker" "start" "-a" "12a104c3647de744b6e3b93c5662bc13e2db673dbd88bdc93c4fece5b6a22ff9", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Mul`, and `Sub` [INFO] [stdout] --> src/anaylze/var.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/mid_output.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/anaylze/val_format.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | Value::UnSet(s) => String::from("Rander Time Set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Anaylze` is never constructed [INFO] [stdout] --> src/anaylze/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Anaylze<'a, S> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const` is never constructed [INFO] [stdout] --> src/anaylze/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Sign { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 23 | Var(Var), [INFO] [stdout] 24 | Const(Value), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Bool`, `Str`, and `List` are never constructed [INFO] [stdout] --> src/anaylze/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 28 | UnSet(String), [INFO] [stdout] 29 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_exist` and `get_mut_sign` are never used [INFO] [stdout] --> src/anaylze/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait SignTableHandle:Sized { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 41 | fn check_exist(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | fn get_sign(&self, key: &str) -> Option<&Sign>; [INFO] [stdout] 43 | fn get_mut_sign(&mut self, key: &str) -> Option<&mut Sign>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/lexical/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a, S: SignTableHandle> OutDataLoader<'a, S> { [INFO] [stdout] | ------------------------------------------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new(signs: &'a mut S, iter: PreviewableIter<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/lexical/handle.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl LexicalHandle<'_> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 6 | fn new(data: &str) -> LexicalHandle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_attr_all_exist` and `get_default` are never used [INFO] [stdout] --> src/anaylze/lexical/tag/tag.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TagStruct { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn check_attr_all_exist(&self, ks: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_default(&self,key:&str,default:&str)->TagAttr{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignTable` is never constructed [INFO] [stdout] --> src/anaylze/sign_table/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct SignTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_root` and `new_child` are never used [INFO] [stdout] --> src/anaylze/sign_table/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl SignTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 72 | pub fn new_root() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn new_child(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `load_or`, and `unwarp_unmatch` are never used [INFO] [stdout] --> src/anaylze/syntax/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LoadStatus { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 25 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn load_or(self, f: F) -> T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn unwarp_unmatch(self) -> N [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LexIter` is never constructed [INFO] [stdout] --> src/anaylze/syntax/expr/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct LexIter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/syntax/expr/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl LexIter { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 98 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Items(ItemMeta, Item); [INFO] [stdout] | ----- ^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Item(ItemMeta, Box), [INFO] [stdout] | ---- ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 32 | Item((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Lit(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Lit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Tag(Tag), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 | Tag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Ctrl(CtrlTag), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | Ctrl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | Info(InfoTag), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 45 | Info(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Liter(LiteralTag), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 46 | Liter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | If(If), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 50 | If(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | Loops(Loops), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 51 | Loops(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Var(Var), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 52 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | For(For), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 56 | For(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | Loop(Loop), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 57 | Loop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | While(While), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 58 | While(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Img(Image), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 62 | Img(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | At(At), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 63 | At(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | Sign(Sign), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 68 | Sign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid` and `sep` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct At { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 7 | pub uid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub sep: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `At` 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 `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Url(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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 | Url(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | File(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Base64(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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] 14 | Base64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign` and `repeat` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Sign { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | pub sign: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub repeat: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `body`, and `follows` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 23 | pub model: CmpMod, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub follows: IfFollows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Elif(Box), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 30 | Elif(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | Else(Option>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 31 | Else(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `times`, `name`, and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Loop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub times: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `name`, and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct For { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 42 | pub source: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model` and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct While { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 49 | pub model: CmpMod, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | Eq(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 55 | Eq((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Neq(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 56 | Neq((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | Gt(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 58 | Gt((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Gte(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 59 | Gte((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | Lt(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 61 | Lt((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Lte(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 62 | Lte((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | BoolT(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 64 | BoolT(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | BoolF(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 65 | BoolF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `op` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Var { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub op: ValueOperate, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Assign(Expression), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 83 | Assign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | Print(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | Print(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | Println(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 88 | Println(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/anaylze/val_format.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn format(&self, format: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/var.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Var { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(name: &str, value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_value_mut` is never used [INFO] [stdout] --> src/anaylze/var.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Sign { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn into_value_mut(&mut self) -> Option<&mut Value> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_var` is never used [INFO] [stdout] --> src/anaylze/var.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 40 | pub fn into_var(self, name: &str) -> Var { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_as`, `add_assgin`, `sub_assgin`, `mul_assgin`, `div_assign`, and `push` are never used [INFO] [stdout] --> src/anaylze/var.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 59 | pub fn set_as(&mut self, target: Self) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn add_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn sub_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn mul_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn div_assign(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn push(&mut self, data: Value) -> Option<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/mid_output.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | SetTemp(String, TempValue), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 | SetTemp((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Add(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 | Add((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Sub(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 | Sub((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Mul(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 15 | Mul((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Div(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 | Div((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text`, `FormatText`, `Image`, `At`, `IfTrueMove`, and `IfFalseMove` are never constructed [INFO] [stdout] --> src/mid_output.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum MidData { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | FormatText(String, Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | Image(Image), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | At { target: u64 }, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | IfTrueMove(TempValue, MoveOffset), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | IfFalseMove(TempValue, MoveOffset), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sign` is never used [INFO] [stdout] --> src/mid_output.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MidData { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 20 | pub fn get_sign(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `url`, `path`, and `base64` are never read [INFO] [stdout] --> src/mid_output.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | base64: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 42 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 43 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Sign(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | Sign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mid_output.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl SignIdGenerator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MidSignTable` is never constructed [INFO] [stdout] --> src/mid_output.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct MidSignTable(HashMap, usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling msg_template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new`, `set_sign`, and `get_sign` are never used [INFO] [stdout] --> src/mid_output.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MidSignTable { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_sign(&mut self, value: TempValue) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_sign(&self, id: usize) -> Option<&TempValue> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Mul`, and `Sub` [INFO] [stdout] --> src/anaylze/var.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/mid_output.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/anaylze/val_format.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | Value::UnSet(s) => String::from("Rander Time Set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Anaylze` is never constructed [INFO] [stdout] --> src/anaylze/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Anaylze<'a, S> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const` is never constructed [INFO] [stdout] --> src/anaylze/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Sign { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 23 | Var(Var), [INFO] [stdout] 24 | Const(Value), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool` is never constructed [INFO] [stdout] --> src/anaylze/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_exist` is never used [INFO] [stdout] --> src/anaylze/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait SignTableHandle:Sized { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 41 | fn check_exist(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anaylze/lexical/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a, S: SignTableHandle> OutDataLoader<'a, S> { [INFO] [stdout] | ------------------------------------------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new(signs: &'a mut S, iter: PreviewableIter<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_attr_all_exist` and `get_default` are never used [INFO] [stdout] --> src/anaylze/lexical/tag/tag.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TagStruct { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn check_attr_all_exist(&self, ks: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_default(&self,key:&str,default:&str)->TagAttr{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ok`, `load_or`, and `unwarp_unmatch` are never used [INFO] [stdout] --> src/anaylze/syntax/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LoadStatus { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 25 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn load_or(self, f: F) -> T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn unwarp_unmatch(self) -> N [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Items(ItemMeta, Item); [INFO] [stdout] | ----- ^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Item(ItemMeta, Box), [INFO] [stdout] | ---- ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 32 | Item((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Lit(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Lit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Tag(Tag), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 | Tag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Ctrl(CtrlTag), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | Ctrl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | Info(InfoTag), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 45 | Info(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Liter(LiteralTag), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 46 | Liter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | If(If), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 50 | If(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | Loops(Loops), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 51 | Loops(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Var(Var), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 52 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | For(For), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 56 | For(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | Loop(Loop), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 57 | Loop(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | While(While), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 58 | While(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Img(Image), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 62 | Img(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | At(At), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 63 | At(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | Sign(Sign), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 68 | Sign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid` and `sep` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct At { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 7 | pub uid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub sep: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `At` 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 `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Url(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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 | Url(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | File(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Base64(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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] 14 | Base64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign` and `repeat` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Sign { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | pub sign: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub repeat: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `body`, and `follows` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 23 | pub model: CmpMod, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub follows: IfFollows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Elif(Box), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 30 | Elif(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | Else(Option>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 31 | Else(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `times`, `name`, and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Loop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub times: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `name`, and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct For { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 42 | pub source: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model` and `body` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct While { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 49 | pub model: CmpMod, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub body: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | Eq(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 55 | Eq((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Neq(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 56 | Neq((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | Gt(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 58 | Gt((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Gte(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 59 | Gte((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | Lt(Expression, Expression), [INFO] [stdout] | -- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 61 | Lt((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Lte(Expression, Expression), [INFO] [stdout] | --- ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 62 | Lte((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | BoolT(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 64 | BoolT(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | BoolF(Expression), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 65 | BoolF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `op` are never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Var { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub op: ValueOperate, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Assign(Expression), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 83 | Assign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | Print(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | Print(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/anaylze/syntax/literal/structs.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | Println(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 88 | Println(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_var` is never used [INFO] [stdout] --> src/anaylze/var.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 40 | pub fn into_var(self, name: &str) -> Var { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_as`, `add_assgin`, `sub_assgin`, `mul_assgin`, `div_assign`, and `push` are never used [INFO] [stdout] --> src/anaylze/var.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 59 | pub fn set_as(&mut self, target: Self) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn add_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn sub_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn mul_assgin(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn div_assign(&mut self, rhs: i64) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn push(&mut self, data: Value) -> Option<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/mid_output.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | SetTemp(String, TempValue), [INFO] [stdout] | ------- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 | SetTemp((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Add(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 | Add((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Sub(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 | Sub((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Mul(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 15 | Mul((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/mid_output.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Div(String, TempValue, TempValue), [INFO] [stdout] | --- ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 | Div((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text`, `FormatText`, `Image`, `At`, `IfTrueMove`, and `IfFalseMove` are never constructed [INFO] [stdout] --> src/mid_output.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum MidData { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | FormatText(String, Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | Image(Image), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | At { target: u64 }, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | IfTrueMove(TempValue, MoveOffset), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | IfFalseMove(TempValue, MoveOffset), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sign` is never used [INFO] [stdout] --> src/mid_output.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MidData { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 20 | pub fn get_sign(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `url`, `path`, and `base64` are never read [INFO] [stdout] --> src/mid_output.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | url: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | base64: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 42 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 43 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mid_output.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Sign(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | Sign(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mid_output.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl SignIdGenerator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MidSignTable` is never constructed [INFO] [stdout] --> src/mid_output.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct MidSignTable(HashMap, usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_sign`, and `get_sign` are never used [INFO] [stdout] --> src/mid_output.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MidSignTable { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_sign(&mut self, value: TempValue) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_sign(&self, id: usize) -> Option<&TempValue> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "12a104c3647de744b6e3b93c5662bc13e2db673dbd88bdc93c4fece5b6a22ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a104c3647de744b6e3b93c5662bc13e2db673dbd88bdc93c4fece5b6a22ff9", kill_on_drop: false }` [INFO] [stdout] 12a104c3647de744b6e3b93c5662bc13e2db673dbd88bdc93c4fece5b6a22ff9