[INFO] cloning repository https://github.com/ego-programming-language/ego [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ego-programming-language/ego" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fego-programming-language%2Fego", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fego-programming-language%2Fego'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75592d6b045549d105437f84ce23ed1fbd598759 [INFO] checking ego-programming-language/ego against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fego-programming-language%2Fego" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ego-programming-language/ego on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ego-programming-language/ego [INFO] finished tweaking git repo https://github.com/ego-programming-language/ego [INFO] tweaked toml for git repo https://github.com/ego-programming-language/ego written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ego-programming-language/ego already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/noreplydev/self` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11c8ca272a13016bd64e7cdaaf80e4bbab09506c6be785f72afac65d9d35ffa9 [INFO] running `Command { std: "docker" "start" "-a" "11c8ca272a13016bd64e7cdaaf80e4bbab09506c6be785f72afac65d9d35ffa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11c8ca272a13016bd64e7cdaaf80e4bbab09506c6be785f72afac65d9d35ffa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c8ca272a13016bd64e7cdaaf80e4bbab09506c6be785f72afac65d9d35ffa9", kill_on_drop: false }` [INFO] [stdout] 11c8ca272a13016bd64e7cdaaf80e4bbab09506c6be785f72afac65d9d35ffa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b91e0d3e83a6fc92618c97af8e82e62759922336df2dacd19d06fa8ba59d8467 [INFO] running `Command { std: "docker" "start" "-a" "b91e0d3e83a6fc92618c97af8e82e62759922336df2dacd19d06fa8ba59d8467", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking self-vm v0.1.0 (https://github.com/noreplydev/self#a9af2481) [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking ego v0.0.0-alpha.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | ... current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | ... current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/handlers/print.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => panic!("Conversion failed: out of range"), [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElseStatement` is never constructed [INFO] [stdout] --> src/ast/nodes/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AstNodeType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | ElseStatement(ElseStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNodeType` 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: method `at` is never used [INFO] [stdout] --> src/ast/nodes/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl AstNodeType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn at(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/nodes/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Nothing(Nothing), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 127 | Nothing(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/assignament_statement.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AssignamentNode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignamentNode` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/bool.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Bool { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub value: bool, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bool` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/break_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BreakStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BreakStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/else_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElseStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | pub body: Block, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElseStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/group.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Group { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/if_statement.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IfStatement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` 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 `module`, `members`, and `at` are never read [INFO] [stdout] --> src/ast/nodes/import_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImportStatement { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | pub module: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | pub members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportStatement` 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: field `module_name` is never read [INFO] [stdout] --> src/ast/nodes/module.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ModuleAst { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleAst` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/nothing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Nothing { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nothing` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/number.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | pub value: f64, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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 `new` is never used [INFO] [stdout] --> src/ast/nodes/number.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Number { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(value: f64, at: usize, line: usize) -> Number { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/return_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | pub value: Expression, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/string_literal.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StringLiteral { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 3 | pub value: String, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/vector.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vector { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/while_statement.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WhileStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` 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: enum `Command` is never used [INFO] [stdout] --> src/commands/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `cmd_from_str`, and `exec` are never used [INFO] [stdout] --> src/commands/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | pub fn parse() -> Command { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn cmd_from_str(command: &str, args: Vec) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logo` is never constructed [INFO] [stdout] --> src/commands/logo.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Logo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exec` are never used [INFO] [stdout] --> src/commands/logo.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Logo { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(args: Vec) -> Logo { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `New` is never constructed [INFO] [stdout] --> src/commands/new.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct New { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exec` are never used [INFO] [stdout] --> src/commands/new.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl New { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(args: Vec) -> New { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Run` is never constructed [INFO] [stdout] --> src/commands/run.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Run { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `debug`, and `exec` are never used [INFO] [stdout] --> src/commands/run.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Run { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(args: Vec) -> Run { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn debug(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EgoUsageError` and `FatalError` are never constructed [INFO] [stdout] --> src/core/error/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ErrorType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 4 | SyntaxError, [INFO] [stdout] 5 | EgoUsageError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | FatalError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `line` are never read [INFO] [stdout] --> src/core/runtypes/function.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RnFunction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RnFunction` 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: field `invoker` is never read [INFO] [stdout] --> src/runtime/scope.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 94 | vars: HashMap, [INFO] [stdout] 95 | pub invoker: ScopeInvoker, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/handlers/print.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => panic!("Conversion failed: out of range"), [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElseStatement` is never constructed [INFO] [stdout] --> src/ast/nodes/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AstNodeType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | ElseStatement(ElseStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNodeType` 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: method `at` is never used [INFO] [stdout] --> src/ast/nodes/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl AstNodeType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn at(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/nodes/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Nothing(Nothing), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 127 | Nothing(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/assignament_statement.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AssignamentNode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignamentNode` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/bool.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Bool { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub value: bool, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bool` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/break_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BreakStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BreakStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/else_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElseStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | pub body: Block, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElseStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/group.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Group { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/if_statement.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IfStatement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` 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 `module`, `members`, and `at` are never read [INFO] [stdout] --> src/ast/nodes/import_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImportStatement { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | pub module: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | pub members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportStatement` 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: field `module_name` is never read [INFO] [stdout] --> src/ast/nodes/module.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ModuleAst { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleAst` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/nothing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Nothing { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nothing` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/number.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | pub value: f64, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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 `new` is never used [INFO] [stdout] --> src/ast/nodes/number.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Number { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(value: f64, at: usize, line: usize) -> Number { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/return_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | pub value: Expression, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/string_literal.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StringLiteral { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 3 | pub value: String, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/vector.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vector { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/while_statement.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WhileStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` 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: enum `Command` is never used [INFO] [stdout] --> src/commands/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `cmd_from_str`, and `exec` are never used [INFO] [stdout] --> src/commands/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | pub fn parse() -> Command { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn cmd_from_str(command: &str, args: Vec) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logo` is never constructed [INFO] [stdout] --> src/commands/logo.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Logo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exec` are never used [INFO] [stdout] --> src/commands/logo.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Logo { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(args: Vec) -> Logo { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `New` is never constructed [INFO] [stdout] --> src/commands/new.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct New { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exec` are never used [INFO] [stdout] --> src/commands/new.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl New { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(args: Vec) -> New { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Run` is never constructed [INFO] [stdout] --> src/commands/run.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Run { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `debug`, and `exec` are never used [INFO] [stdout] --> src/commands/run.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Run { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(args: Vec) -> Run { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn debug(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn exec(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EgoUsageError` and `FatalError` are never constructed [INFO] [stdout] --> src/core/error/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ErrorType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 4 | SyntaxError, [INFO] [stdout] 5 | EgoUsageError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | FatalError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `line` are never read [INFO] [stdout] --> src/core/runtypes/function.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RnFunction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RnFunction` 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: field `invoker` is never read [INFO] [stdout] --> src/runtime/scope.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 94 | vars: HashMap, [INFO] [stdout] 95 | pub invoker: ScopeInvoker, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | ... current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | ... current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_token` is never read [INFO] [stdout] --> src/ast/lexer.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | current_token = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/handlers/print.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => panic!("Conversion failed: out of range"), [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElseStatement` is never constructed [INFO] [stdout] --> src/ast/nodes/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AstNodeType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | ElseStatement(ElseStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNodeType` 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: method `at` is never used [INFO] [stdout] --> src/ast/nodes/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl AstNodeType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn at(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/nodes/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Nothing(Nothing), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 127 | Nothing(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/assignament_statement.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AssignamentNode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignamentNode` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/bool.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Bool { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub value: bool, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bool` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/break_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BreakStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BreakStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/else_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElseStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | pub body: Block, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElseStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/group.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Group { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/if_statement.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IfStatement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` 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 `module`, `members`, and `at` are never read [INFO] [stdout] --> src/ast/nodes/import_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImportStatement { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | pub module: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | pub members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportStatement` 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: field `module_name` is never read [INFO] [stdout] --> src/ast/nodes/module.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ModuleAst { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleAst` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/nothing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Nothing { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nothing` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/number.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | pub value: f64, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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 `new` is never used [INFO] [stdout] --> src/ast/nodes/number.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Number { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(value: f64, at: usize, line: usize) -> Number { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/return_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | pub value: Expression, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/string_literal.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StringLiteral { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 3 | pub value: String, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/vector.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vector { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/while_statement.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WhileStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` 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: field `args` is never read [INFO] [stdout] --> src/commands/logo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Logo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_log_history` is never used [INFO] [stdout] --> src/core/logs.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_log_history() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `line` are never read [INFO] [stdout] --> src/core/runtypes/function.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RnFunction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RnFunction` 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: field `invoker` is never read [INFO] [stdout] --> src/runtime/scope.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 94 | vars: HashMap, [INFO] [stdout] 95 | pub invoker: ScopeInvoker, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: unreachable pattern [INFO] [stdout] --> src/compiler/handlers/print.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | Err(_) => panic!("Conversion failed: out of range"), [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElseStatement` is never constructed [INFO] [stdout] --> src/ast/nodes/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AstNodeType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | ElseStatement(ElseStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNodeType` 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: method `at` is never used [INFO] [stdout] --> src/ast/nodes/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl AstNodeType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn at(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/nodes/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Nothing(Nothing), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 127 | Nothing(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/assignament_statement.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AssignamentNode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignamentNode` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/bool.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Bool { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub value: bool, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bool` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/break_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BreakStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BreakStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/else_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ElseStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | pub body: Block, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElseStatement` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/group.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Group { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/if_statement.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IfStatement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` 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 `module`, `members`, and `at` are never read [INFO] [stdout] --> src/ast/nodes/import_statement.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImportStatement { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | pub module: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | pub members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportStatement` 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: field `module_name` is never read [INFO] [stdout] --> src/ast/nodes/module.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ModuleAst { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub module_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleAst` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/nothing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Nothing { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nothing` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/number.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | pub value: f64, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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 `new` is never used [INFO] [stdout] --> src/ast/nodes/number.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Number { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(value: f64, at: usize, line: usize) -> Number { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/ast/nodes/return_statement.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | pub value: Expression, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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 `at` and `line` are never read [INFO] [stdout] --> src/ast/nodes/string_literal.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StringLiteral { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 3 | pub value: String, [INFO] [stdout] 4 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/vector.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vector { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub children: Vec>, [INFO] [stdout] 6 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` 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: field `at` is never read [INFO] [stdout] --> src/ast/nodes/while_statement.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WhileStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` 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: field `args` is never read [INFO] [stdout] --> src/commands/logo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Logo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_log_history` is never used [INFO] [stdout] --> src/core/logs.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_log_history() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `line` are never read [INFO] [stdout] --> src/core/runtypes/function.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RnFunction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub at: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RnFunction` 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: field `invoker` is never read [INFO] [stdout] --> src/runtime/scope.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 94 | vars: HashMap, [INFO] [stdout] 95 | pub invoker: ScopeInvoker, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/runtime/scope.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while counter >= 0 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.67s [INFO] running `Command { std: "docker" "inspect" "b91e0d3e83a6fc92618c97af8e82e62759922336df2dacd19d06fa8ba59d8467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91e0d3e83a6fc92618c97af8e82e62759922336df2dacd19d06fa8ba59d8467", kill_on_drop: false }` [INFO] [stdout] b91e0d3e83a6fc92618c97af8e82e62759922336df2dacd19d06fa8ba59d8467