[INFO] cloning repository https://github.com/AumyF/rocsho [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AumyF/rocsho" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Frocsho", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Frocsho'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ffb0637f5aac18031f3a3b7fcd8a9ec4e913f8b [INFO] checking AumyF/rocsho/7ffb0637f5aac18031f3a3b7fcd8a9ec4e913f8b against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Frocsho" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AumyF/rocsho on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/AumyF/rocsho [INFO] finished tweaking git repo https://github.com/AumyF/rocsho [INFO] tweaked toml for git repo https://github.com/AumyF/rocsho written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AumyF/rocsho 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11c2a21f91238fbeb1ba19b63e1bf39421f11ac7d731e2528da1d1e95267d681 [INFO] running `Command { std: "docker" "start" "-a" "11c2a21f91238fbeb1ba19b63e1bf39421f11ac7d731e2528da1d1e95267d681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11c2a21f91238fbeb1ba19b63e1bf39421f11ac7d731e2528da1d1e95267d681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c2a21f91238fbeb1ba19b63e1bf39421f11ac7d731e2528da1d1e95267d681", kill_on_drop: false }` [INFO] [stdout] 11c2a21f91238fbeb1ba19b63e1bf39421f11ac7d731e2528da1d1e95267d681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb124fc10d44cfdd73ffb4f75a647cf9ef031d4b610ec0b609ca6dea4d26da3f [INFO] running `Command { std: "docker" "start" "-a" "eb124fc10d44cfdd73ffb4f75a647cf9ef031d4b610ec0b609ca6dea4d26da3f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling function_name-proc-macro v0.3.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling xml_writer v0.4.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling syntree v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling function_name v0.3.0 [INFO] [stderr] Compiling parol-macros v0.2.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling ume v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Compiling rand_regex v0.15.1 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking insta v1.36.1 [INFO] [stderr] Compiling clap_builder v4.3.9 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling ts-rs-macros v6.2.0 [INFO] [stderr] Compiling syntree_layout v0.2.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling ts-rs v6.2.1 [INFO] [stderr] Compiling clap v4.3.9 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling parol_runtime v0.17.0 [INFO] [stderr] Compiling parol v0.22.0 [INFO] [stderr] Compiling rocsho v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/interpreter.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [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: associated function `empty` is never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rocsho_grammar.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RocshoGrammar<'_> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rocsho_grammar_trait.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 806 | impl < 't, 'u > RocshoGrammarAuto < 't, 'u > [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 807 | { [INFO] [stdout] 808 | pub fn new(user_grammar : & 'u mut dyn RocshoGrammarTrait <'t>) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TERMINALS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const TERMINALS : & [& str; 35] = & [ /* 0 */ UNMATCHABLE_TOKEN, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TERMINAL_NAMES` is never used [INFO] [stdout] --> src/rocsho_parser.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | TERMINAL_NAMES : & [& str; 35] = & [ /* 0 */ "EndOfInput", [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCANNER_0` is never used [INFO] [stdout] --> src/rocsho_parser.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const SCANNER_0 : (& [& str; 5], & [usize; 29]) = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_K` is never used [INFO] [stdout] --> src/rocsho_parser.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | const MAX_K : usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NON_TERMINALS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | pub const NON_TERMINALS : & [& str; 44] = & [ /* 0 */ "AddSubExpr", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOKAHEAD_AUTOMATA` is never used [INFO] [stdout] --> src/rocsho_parser.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | pub const LOOKAHEAD_AUTOMATA : & [LookaheadDFA; 44] = & [/* 0 - "AddSubExpr" */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCTIONS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:515:11 [INFO] [stdout] | [INFO] [stdout] 515 | pub const PRODUCTIONS : & [Production; 72] = & [// 0 - Rocsho: Script; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TOKENIZERS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:767:8 [INFO] [stdout] | [INFO] [stdout] 767 | static TOKENIZERS : Lazy < Vec < (& 'static str, Tokenizer) >> = Lazy :: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/rocsho_parser.rs:772:8 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn parse < 't, T > [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Properties<'a>(BTreeMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Properties` 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 `get` and `set` are never used [INFO] [stdout] --> src/interpreter.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> Properties<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get(&self, name: &str) -> Option<&Value<'a>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn set(&self, name: &str, value: Value<'a>) -> Properties<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parameters`, `body`, `env`, and `name` are never read [INFO] [stdout] --> src/interpreter.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 34 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | body: Expr<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | // pattern: Expr<'a>, [INFO] [stdout] 37 | env: Properties<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` 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 `evaluate_with` is never used [INFO] [stdout] --> src/interpreter.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Func<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 42 | /// Evaluate `self` with its environemnt and supplied arguments [INFO] [stdout] 43 | fn evaluate_with(&self, receiver: Value<'a>, arguments: Vec>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserDefined` is never constructed [INFO] [stdout] --> src/interpreter.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Method<'a> { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 70 | UserDefined(Func<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate_with` is never used [INFO] [stdout] --> src/interpreter.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl<'a> Method<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 77 | fn evaluate_with(&self, self_value: Value<'a>, args: Vec>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/interpreter.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> Methods<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get(&self, name: &str) -> Option<&Method<'a>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> src/interpreter.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum WrappedValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 115 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WrappedValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `properties` and `methods` are never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 121 | methods: Methods<'a>, [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: associated items `empty`, `unit`, `try_call`, `try_call_method`, and `func` are never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn unit() -> Value<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn try_call(&self, self_value: Value<'a>, arguments: Vec>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn try_call_method( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn func(f: Func<'a>) -> Value<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eq` and `ne` are never used [INFO] [stdout] --> src/interpreter.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 314 | impl<'source> Value<'source> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 315 | fn eq(&self, other: &Self) -> EvalResult<'source> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn ne(&self, other: &Self) -> EvalResult<'source> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 339 | impl<'a> DecimalIntLiteral<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 340 | fn evaluate(&self) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 350 | impl<'a> Rocsho<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 351 | pub fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 369 | impl<'a> Identifier<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 370 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 378 | impl<'a> FunctionDeclaration<'a> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 379 | fn evaluate(&self, env: &Properties<'a>) -> Properties<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:410:8 [INFO] [stdout] | [INFO] [stdout] 409 | impl<'a> Expr<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 410 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 418 | impl<'source> PipeOperand<'source> { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 419 | fn evaluate(&self, env: &Properties<'source>) -> EvalResult<'source> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 424 | impl<'source> PipeExpr<'source> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 425 | fn evaluate(&self, env: &Properties<'source>) -> EvalResult<'source> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 462 | impl<'source> ComparationExpr<'source> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 463 | fn evaluate(&self, env: &Properties<'source>) -> EvalResult<'source> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 497 | impl<'a> If<'a> { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 498 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 516 | impl<'a> AddSubExpr<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 517 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:532:8 [INFO] [stdout] | [INFO] [stdout] 531 | impl<'a> MulDivExpr<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 532 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 547 | impl<'a> BlockElement<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 548 | fn evaluate(&self, env: &Properties<'a>) -> (EvalResult<'a>, Properties<'a>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:566:8 [INFO] [stdout] | [INFO] [stdout] 565 | impl<'a> BlockInner<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 566 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 576 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 577 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:585:8 [INFO] [stdout] | [INFO] [stdout] 584 | impl<'a> FunctionApplication<'a> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 585 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 612 | impl<'a> PrimaryExpression<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 613 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:624:8 [INFO] [stdout] | [INFO] [stdout] 623 | impl<'a> BoolLiteral<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 624 | fn evaluate(&self) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/rocsho_grammar_trait.rs (1 fix) [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/interpreter.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [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: associated function `empty` is never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/interpreter.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [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: associated function `empty` is never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rocsho v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/interpreter.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [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: associated function `empty` is never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rocsho_grammar.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RocshoGrammar<'_> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rocsho_grammar_trait.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 806 | impl < 't, 'u > RocshoGrammarAuto < 't, 'u > [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] 807 | { [INFO] [stdout] 808 | pub fn new(user_grammar : & 'u mut dyn RocshoGrammarTrait <'t>) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TERMINALS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const TERMINALS : & [& str; 35] = & [ /* 0 */ UNMATCHABLE_TOKEN, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TERMINAL_NAMES` is never used [INFO] [stdout] --> src/rocsho_parser.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | TERMINAL_NAMES : & [& str; 35] = & [ /* 0 */ "EndOfInput", [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCANNER_0` is never used [INFO] [stdout] --> src/rocsho_parser.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const SCANNER_0 : (& [& str; 5], & [usize; 29]) = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_K` is never used [INFO] [stdout] --> src/rocsho_parser.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | const MAX_K : usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NON_TERMINALS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | pub const NON_TERMINALS : & [& str; 44] = & [ /* 0 */ "AddSubExpr", [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOKAHEAD_AUTOMATA` is never used [INFO] [stdout] --> src/rocsho_parser.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | pub const LOOKAHEAD_AUTOMATA : & [LookaheadDFA; 44] = & [/* 0 - "AddSubExpr" */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCTIONS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:515:11 [INFO] [stdout] | [INFO] [stdout] 515 | pub const PRODUCTIONS : & [Production; 72] = & [// 0 - Rocsho: Script; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TOKENIZERS` is never used [INFO] [stdout] --> src/rocsho_parser.rs:767:8 [INFO] [stdout] | [INFO] [stdout] 767 | static TOKENIZERS : Lazy < Vec < (& 'static str, Tokenizer) >> = Lazy :: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/rocsho_parser.rs:772:8 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn parse < 't, T > [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Properties<'a>(BTreeMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Properties` 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 `get` and `set` are never used [INFO] [stdout] --> src/interpreter.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> Properties<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get(&self, name: &str) -> Option<&Value<'a>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn set(&self, name: &str, value: Value<'a>) -> Properties<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parameters`, `body`, `env`, and `name` are never read [INFO] [stdout] --> src/interpreter.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 34 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | body: Expr<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | // pattern: Expr<'a>, [INFO] [stdout] 37 | env: Properties<'a>, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` 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 `evaluate_with` is never used [INFO] [stdout] --> src/interpreter.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Func<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 42 | /// Evaluate `self` with its environemnt and supplied arguments [INFO] [stdout] 43 | fn evaluate_with(&self, receiver: Value<'a>, arguments: Vec>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserDefined` is never constructed [INFO] [stdout] --> src/interpreter.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Method<'a> { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 70 | UserDefined(Func<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate_with` is never used [INFO] [stdout] --> src/interpreter.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl<'a> Method<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 77 | fn evaluate_with(&self, self_value: Value<'a>, args: Vec>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/interpreter.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> Methods<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get(&self, name: &str) -> Option<&Method<'a>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> src/interpreter.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum WrappedValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 115 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WrappedValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `properties` and `methods` are never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 121 | methods: Methods<'a>, [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: associated items `empty`, `unit`, `try_call`, `try_call_method`, and `func` are never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn unit() -> Value<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn try_call(&self, self_value: Value<'a>, arguments: Vec>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn try_call_method( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn func(f: Func<'a>) -> Value<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eq` and `ne` are never used [INFO] [stdout] --> src/interpreter.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 314 | impl<'source> Value<'source> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 315 | fn eq(&self, other: &Self) -> EvalResult<'source> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn ne(&self, other: &Self) -> EvalResult<'source> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 339 | impl<'a> DecimalIntLiteral<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 340 | fn evaluate(&self) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 350 | impl<'a> Rocsho<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 351 | pub fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 369 | impl<'a> Identifier<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 370 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 378 | impl<'a> FunctionDeclaration<'a> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 379 | fn evaluate(&self, env: &Properties<'a>) -> Properties<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:410:8 [INFO] [stdout] | [INFO] [stdout] 409 | impl<'a> Expr<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 410 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 418 | impl<'source> PipeOperand<'source> { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 419 | fn evaluate(&self, env: &Properties<'source>) -> EvalResult<'source> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 424 | impl<'source> PipeExpr<'source> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 425 | fn evaluate(&self, env: &Properties<'source>) -> EvalResult<'source> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 462 | impl<'source> ComparationExpr<'source> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 463 | fn evaluate(&self, env: &Properties<'source>) -> EvalResult<'source> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 497 | impl<'a> If<'a> { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 498 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 516 | impl<'a> AddSubExpr<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 517 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:532:8 [INFO] [stdout] | [INFO] [stdout] 531 | impl<'a> MulDivExpr<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 532 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 547 | impl<'a> BlockElement<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 548 | fn evaluate(&self, env: &Properties<'a>) -> (EvalResult<'a>, Properties<'a>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:566:8 [INFO] [stdout] | [INFO] [stdout] 565 | impl<'a> BlockInner<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 566 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 576 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 577 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:585:8 [INFO] [stdout] | [INFO] [stdout] 584 | impl<'a> FunctionApplication<'a> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 585 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 612 | impl<'a> PrimaryExpression<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 613 | fn evaluate(&self, env: &Properties<'a>) -> EvalResult<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/interpreter.rs:624:8 [INFO] [stdout] | [INFO] [stdout] 623 | impl<'a> BoolLiteral<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 624 | fn evaluate(&self) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnc` [INFO] [stdout] --> src/interpreter.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Self::Builtin { f:fnc } => write!(f, ""), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fnc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/interpreter.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [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: associated function `empty` is never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/rocsho_grammar_trait.rs:793:60 [INFO] [stdout] | [INFO] [stdout] 793 | #[allow(dead_code)] pub struct RocshoGrammarAuto < 't, 'u > where 't : 'u [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, rust_2018_idioms, future_incompatible)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/interpreter.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Func<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/interpreter.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Value<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 120 | properties: Properties<'a>, [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: associated function `empty` is never used [INFO] [stdout] --> src/interpreter.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> Value<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 126 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: outlives requirements can be inferred [INFO] [stdout] --> src/rocsho_grammar_trait.rs:793:60 [INFO] [stdout] | [INFO] [stdout] 793 | #[allow(dead_code)] pub struct RocshoGrammarAuto < 't, 'u > where 't : 'u [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, rust_2018_idioms, future_incompatible)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(explicit_outlives_requirements)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "eb124fc10d44cfdd73ffb4f75a647cf9ef031d4b610ec0b609ca6dea4d26da3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb124fc10d44cfdd73ffb4f75a647cf9ef031d4b610ec0b609ca6dea4d26da3f", kill_on_drop: false }` [INFO] [stdout] eb124fc10d44cfdd73ffb4f75a647cf9ef031d4b610ec0b609ca6dea4d26da3f