[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 [INFO] checking ego-programming-language/ego against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fego-programming-language%2Fego" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ego-programming-language/ego on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 330a5dd4bd7bacdfd0cccfdb9defbf4e4b982130b309917ae96cd279a32a0346 [INFO] running `Command { std: "docker" "start" "-a" "330a5dd4bd7bacdfd0cccfdb9defbf4e4b982130b309917ae96cd279a32a0346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "330a5dd4bd7bacdfd0cccfdb9defbf4e4b982130b309917ae96cd279a32a0346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330a5dd4bd7bacdfd0cccfdb9defbf4e4b982130b309917ae96cd279a32a0346", kill_on_drop: false }` [INFO] [stdout] 330a5dd4bd7bacdfd0cccfdb9defbf4e4b982130b309917ae96cd279a32a0346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f657e0048f3fdf89f343cd5a8fee193c9340557cc35d1f3d90022741dd0bdf40 [INFO] running `Command { std: "docker" "start" "-a" "f657e0048f3fdf89f343cd5a8fee193c9340557cc35d1f3d90022741dd0bdf40", 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 log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.19.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] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking regex v1.10.5 [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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:521:43 [INFO] [stdout] | [INFO] [stdout] 453 | let expr = self.parse_comparison(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 521 | AstNodeType::AssignamentStatement(AssignamentNode::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 522 | | identifier_node, [INFO] [stdout] 523 | | expr, [INFO] [stdout] 524 | | var_type, [INFO] [stdout] 525 | | at, [INFO] [stdout] 526 | | line, [INFO] [stdout] 527 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:615:42 [INFO] [stdout] | [INFO] [stdout] 602 | let block_node = self.block(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 603 | let function_body = match block_node { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 604 | AstNodeType::Block(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | AstNodeType::FunctionDeclaration(FunctionDeclaration::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 616 | | identifier_node, [INFO] [stdout] 617 | | arguments, [INFO] [stdout] 618 | | function_body, [INFO] [stdout] 619 | | token.at, [INFO] [stdout] 620 | | token.line, [INFO] [stdout] 621 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:694:34 [INFO] [stdout] | [INFO] [stdout] 633 | let expr = self.expression(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 634 | let expr_node = match expr { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 635 | AstNodeType::Expression(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 656 | let block = self.block(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 657 | let block_node = match block { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 658 | AstNodeType::Block(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | let mut else_node = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | AstNodeType::IfStatement(IfStatement::new(expr_node, block_node, else_node, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:746:37 [INFO] [stdout] | [INFO] [stdout] 706 | let expr = self.expression(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | let expr_node = match expr { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | AstNodeType::Expression(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 733 | let block = self.block(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let block_node = match block { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | AstNodeType::Block(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | AstNodeType::WhileStatement(WhileStatement::new(expr_node, block_node, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:869:38 [INFO] [stdout] | [INFO] [stdout] 859 | let expression_node = self.parse_comparison(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 869 | AstNodeType::ReturnStatement(ReturnStatement::new(expression_node, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:1144:36 [INFO] [stdout] | [INFO] [stdout] 1129 | let arguments_node = self.group(Some(format!("{}()", identifier_node.name).as_str())); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1130 | [INFO] [stdout] 1131 | let arguments_node = if let AstNodeType::Group(arguments_node) = arguments_node { [INFO] [stdout] | -------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1144 | Expression::CallExpression(CallExpression::new( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 1145 | | identifier_node, [INFO] [stdout] 1146 | | arguments_node, [INFO] [stdout] 1147 | | at, [INFO] [stdout] 1148 | | line, [INFO] [stdout] 1149 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/handlers/type_handler.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn type_of(rt: RuntimeType) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | Some(match rt { [INFO] [stdout] | __________^ [INFO] [stdout] 5 | | RuntimeType::Nothing(_) => RuntimeType::string("nothing".to_string(), true), [INFO] [stdout] 6 | | RuntimeType::RnBoolean(_) => RuntimeType::string("boolean".to_string(), true), [INFO] [stdout] 7 | | RuntimeType::RnNumber(_) => RuntimeType::string("number".to_string(), true), [INFO] [stdout] ... | [INFO] [stdout] 10 | | RuntimeType::RnFunction(_) => RuntimeType::string("function".to_string(), true), [INFO] [stdout] 11 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/runtypes/runtime_type.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 55 | body: Block, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | RuntimeType::RnFunction(RnFunction::new(identifier, parameters, body, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/interpreter.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(ast: ModuleAst) -> Interpreter { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | scopes: ScopesStack::new(ScopeInvoker::Module), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/scope.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 106 | fn add(&mut self, identifier: String, value: RuntimeType) -> bool { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | match self.vars.insert(identifier.clone(), value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/scope.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 128 | fn set(&mut self, identifier: String, value: RuntimeType) -> bool { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | match self.vars.insert(identifier, value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] error: aborting due to 11 previous errors; 34 warnings emitted [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:521:43 [INFO] [stdout] | [INFO] [stdout] 453 | let expr = self.parse_comparison(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 521 | AstNodeType::AssignamentStatement(AssignamentNode::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 522 | | identifier_node, [INFO] [stdout] 523 | | expr, [INFO] [stdout] 524 | | var_type, [INFO] [stdout] 525 | | at, [INFO] [stdout] 526 | | line, [INFO] [stdout] 527 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:615:42 [INFO] [stdout] | [INFO] [stdout] 602 | let block_node = self.block(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 603 | let function_body = match block_node { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 604 | AstNodeType::Block(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | AstNodeType::FunctionDeclaration(FunctionDeclaration::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 616 | | identifier_node, [INFO] [stdout] 617 | | arguments, [INFO] [stdout] 618 | | function_body, [INFO] [stdout] 619 | | token.at, [INFO] [stdout] 620 | | token.line, [INFO] [stdout] 621 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:694:34 [INFO] [stdout] | [INFO] [stdout] 633 | let expr = self.expression(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 634 | let expr_node = match expr { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 635 | AstNodeType::Expression(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 656 | let block = self.block(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 657 | let block_node = match block { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 658 | AstNodeType::Block(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | let mut else_node = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | AstNodeType::IfStatement(IfStatement::new(expr_node, block_node, else_node, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:746:37 [INFO] [stdout] | [INFO] [stdout] 706 | let expr = self.expression(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | let expr_node = match expr { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | AstNodeType::Expression(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 733 | let block = self.block(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 734 | let block_node = match block { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | AstNodeType::Block(b) => b, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | AstNodeType::WhileStatement(WhileStatement::new(expr_node, block_node, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:869:38 [INFO] [stdout] | [INFO] [stdout] 859 | let expression_node = self.parse_comparison(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 869 | AstNodeType::ReturnStatement(ReturnStatement::new(expression_node, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/parser.rs:1144:36 [INFO] [stdout] | [INFO] [stdout] 1129 | let arguments_node = self.group(Some(format!("{}()", identifier_node.name).as_str())); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1130 | [INFO] [stdout] 1131 | let arguments_node = if let AstNodeType::Group(arguments_node) = arguments_node { [INFO] [stdout] | -------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1144 | Expression::CallExpression(CallExpression::new( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 1145 | | identifier_node, [INFO] [stdout] 1146 | | arguments_node, [INFO] [stdout] 1147 | | at, [INFO] [stdout] 1148 | | line, [INFO] [stdout] 1149 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/handlers/type_handler.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn type_of(rt: RuntimeType) -> Option { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | Some(match rt { [INFO] [stdout] | __________^ [INFO] [stdout] 5 | | RuntimeType::Nothing(_) => RuntimeType::string("nothing".to_string(), true), [INFO] [stdout] 6 | | RuntimeType::RnBoolean(_) => RuntimeType::string("boolean".to_string(), true), [INFO] [stdout] 7 | | RuntimeType::RnNumber(_) => RuntimeType::string("number".to_string(), true), [INFO] [stdout] ... | [INFO] [stdout] 10 | | RuntimeType::RnFunction(_) => RuntimeType::string("function".to_string(), true), [INFO] [stdout] 11 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/runtypes/runtime_type.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 55 | body: Block, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | RuntimeType::RnFunction(RnFunction::new(identifier, parameters, body, at, line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/interpreter.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(ast: ModuleAst) -> Interpreter { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | scopes: ScopesStack::new(ScopeInvoker::Module), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/scope.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 106 | fn add(&mut self, identifier: String, value: RuntimeType) -> bool { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | match self.vars.insert(identifier.clone(), value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/scope.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 128 | fn set(&mut self, identifier: String, value: RuntimeType) -> bool { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | match self.vars.insert(identifier, value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ego` (lib) due to 12 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ego` (lib test) due to 12 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f657e0048f3fdf89f343cd5a8fee193c9340557cc35d1f3d90022741dd0bdf40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f657e0048f3fdf89f343cd5a8fee193c9340557cc35d1f3d90022741dd0bdf40", kill_on_drop: false }` [INFO] [stdout] f657e0048f3fdf89f343cd5a8fee193c9340557cc35d1f3d90022741dd0bdf40