[INFO] cloning repository https://github.com/coreyp7/compiler-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coreyp7/compiler-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoreyp7%2Fcompiler-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoreyp7%2Fcompiler-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1999e64a4faba681c0ee73e22bf30b36cd25e727 [INFO] checking coreyp7/compiler-in-Rust against df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoreyp7%2Fcompiler-in-Rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coreyp7/compiler-in-Rust [INFO] finished tweaking git repo https://github.com/coreyp7/compiler-in-Rust [INFO] tweaked toml for git repo https://github.com/coreyp7/compiler-in-Rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coreyp7/compiler-in-Rust on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coreyp7/compiler-in-Rust 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63 [INFO] running `Command { std: "docker" "start" "869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tokenizer/mod.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / /** [INFO] [stdout] 206 | | * TODO: need to split up this function and [INFO] [stdout] 207 | | * change the name to be less esoteric. [INFO] [stdout] 208 | | * [INFO] [stdout] 209 | | * top if block handles matching symbols only [INFO] [stdout] 210 | | * bottom else block handles strings, keywords, and numbers. [INFO] [stdout] 211 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 212 | / if let Some(token_match) = token_map.get(&curr) { [INFO] [stdout] 213 | | match token_match { [INFO] [stdout] 214 | | TokenMatch::Single(token_type) => ( [INFO] [stdout] 215 | | create_token( [INFO] [stdout] ... | [INFO] [stdout] 313 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expression` [INFO] [stdout] --> src/ast/statement.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::value_hierarchy::{Expression, Logical}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | invalidop, // TODO: these should be changed to no op [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | invalidop, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `equalequal` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | equalequal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Equalequal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `notequal` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | notequal, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Notequal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lessthan` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | lessthan, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Lessthan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lessthanequalto` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | lessthanequalto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Lessthanequalto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `greaterthan` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | greaterthan, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Greaterthan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `greaterthanequalto` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | greaterthanequalto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Greaterthanequalto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | invalidop, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | invalidop, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_error::ParseError` [INFO] [stdout] --> src/ast/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use parse_error::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_comparison_op_to_general` and `convert_logical_op_to_general` [INFO] [stdout] --> src/ast/mod.rs:18:67 [INFO] [stdout] | [INFO] [stdout] 18 | LogicalOperator, Term, TermOperator, Unary, Value, ValueType, convert_comparison_op_to_general, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | convert_expression_op_to_general, convert_logical_op_to_general, convert_term_op_to_general, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Statement` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbol_table::SymbolTable` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use symbol_table::SymbolTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semantic_error::print_success_message` [INFO] [stdout] --> src/semantic/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use semantic_error::print_success_message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::GeneralOperator` [INFO] [stdout] --> src/semantic/type_resolution.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::GeneralOperator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Statement` [INFO] [stdout] --> src/semantic/type_resolution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::VariableAssignmentStatement` [INFO] [stdout] --> src/semantic/type_resolution.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ast::VariableAssignmentStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::VariableDeclarationStatement` [INFO] [stdout] --> src/semantic/type_resolution.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ast::VariableDeclarationStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_expression_op_to_general` and `convert_term_op_to_general` [INFO] [stdout] --> src/semantic/type_resolution.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::ast::{convert_expression_op_to_general, convert_term_op_to_general}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionSymbol` [INFO] [stdout] --> src/code_generate/mod.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{FunctionDeclarationStatement, FunctionSymbol, FunctionTable, Statement}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tokenizer/mod.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / /** [INFO] [stdout] 206 | | * TODO: need to split up this function and [INFO] [stdout] 207 | | * change the name to be less esoteric. [INFO] [stdout] 208 | | * [INFO] [stdout] 209 | | * top if block handles matching symbols only [INFO] [stdout] 210 | | * bottom else block handles strings, keywords, and numbers. [INFO] [stdout] 211 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 212 | / if let Some(token_match) = token_map.get(&curr) { [INFO] [stdout] 213 | | match token_match { [INFO] [stdout] 214 | | TokenMatch::Single(token_type) => ( [INFO] [stdout] 215 | | create_token( [INFO] [stdout] ... | [INFO] [stdout] 313 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expression` [INFO] [stdout] --> src/ast/statement.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::value_hierarchy::{Expression, Logical}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | invalidop, // TODO: these should be changed to no op [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | invalidop, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `equalequal` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | equalequal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Equalequal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `notequal` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | notequal, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Notequal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lessthan` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | lessthan, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Lessthan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `lessthanequalto` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | lessthanequalto, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Lessthanequalto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `greaterthan` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | greaterthan, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Greaterthan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `greaterthanequalto` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | greaterthanequalto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Greaterthanequalto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | invalidop, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalidop` should have an upper camel case name [INFO] [stdout] --> src/ast/value_hierarchy.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | invalidop, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Invalidop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_error::ParseError` [INFO] [stdout] --> src/ast/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use parse_error::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_comparison_op_to_general` and `convert_logical_op_to_general` [INFO] [stdout] --> src/ast/mod.rs:18:67 [INFO] [stdout] | [INFO] [stdout] 18 | LogicalOperator, Term, TermOperator, Unary, Value, ValueType, convert_comparison_op_to_general, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | convert_expression_op_to_general, convert_logical_op_to_general, convert_term_op_to_general, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Statement` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbol_table::SymbolTable` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use symbol_table::SymbolTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semantic_error::print_success_message` [INFO] [stdout] --> src/semantic/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use semantic_error::print_success_message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::GeneralOperator` [INFO] [stdout] --> src/semantic/type_resolution.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::GeneralOperator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Statement` [INFO] [stdout] --> src/semantic/type_resolution.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::VariableAssignmentStatement` [INFO] [stdout] --> src/semantic/type_resolution.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ast::VariableAssignmentStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::VariableDeclarationStatement` [INFO] [stdout] --> src/semantic/type_resolution.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ast::VariableDeclarationStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_expression_op_to_general` and `convert_term_op_to_general` [INFO] [stdout] --> src/semantic/type_resolution.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::ast::{convert_expression_op_to_general, convert_term_op_to_general}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionSymbol` [INFO] [stdout] --> src/code_generate/mod.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{FunctionDeclarationStatement, FunctionSymbol, FunctionTable, Statement}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tokenizer/token_type.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 82 | "Number" | "String" | "Boolean" => Ok(TokenType::VarDeclaration), [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 89 | "Boolean" => Ok(TokenType::Boolean), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tokenizer/token_type.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 82 | "Number" | "String" | "Boolean" => Ok(TokenType::VarDeclaration), [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 89 | "Boolean" => Ok(TokenType::Boolean), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/semantic/analyzer.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/semantic/analyzer.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 60 | Statement::VariableDeclaration(var_decl) => { [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Statement::VariableAssignment(var_ass) => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | Statement::FunctionDeclaration(func_decl) => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | Statement::Return(return_stmt) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 84 | _ => (), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/semantic/analyzer.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/semantic/analyzer.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 60 | Statement::VariableDeclaration(var_decl) => { [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | Statement::VariableAssignment(var_ass) => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | Statement::FunctionDeclaration(func_decl) => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | Statement::Return(return_stmt) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 84 | _ => (), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/semantic/analyzer.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | for (key, value) in state.context_stack.last().unwrap().symbol_table.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/semantic/analyzer.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | for (key, value) in state.context_stack.last().unwrap().symbol_table.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/semantic/type_resolution.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | for (idx, comparison) in &mut logical.comparisons.iter_mut().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/semantic/type_resolution.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | for (idx, comparison) in &mut logical.comparisons.iter_mut().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `col_number` is never read [INFO] [stdout] --> src/tokenizer/token.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub col_number: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/tokenizer/token_type.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TokenType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 102 | /// Converts a TokenType to its string representation [INFO] [stdout] 103 | pub fn to_string(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properly_returns` is never read [INFO] [stdout] --> src/ast/function_table.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FunctionSymbol { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub properly_returns: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSymbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_name`, `len`, `is_empty`, and `iter` are never used [INFO] [stdout] --> src/ast/function_table.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl FunctionTable { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn contains_name(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingSemicolon`, `MissingColon`, and `MissingDelimiter` are never constructed [INFO] [stdout] --> src/ast/parse_error.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | MissingSemicolon { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | MissingColon { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | MissingDelimiter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_number` is never used [INFO] [stdout] --> src/ast/parse_error.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ParseError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 56 | pub fn line_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_line_middle` is never used [INFO] [stdout] --> src/ast/parse_error.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn error_line_middle() -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `var_data_type` and `line_var_was_declared_on` are never read [INFO] [stdout] --> src/ast/statement.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct VariableAssignmentStatement { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 33 | pub var_name: String, [INFO] [stdout] 34 | pub var_data_type: DataType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub assigned_logical: Logical, [INFO] [stdout] 36 | pub line_var_was_declared_on: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableAssignmentStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GeneralOperator` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum GeneralOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expression` is never constructed [INFO] [stdout] --> src/ast/value_hierarchy.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ValueType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 43 | FunctionCall, [INFO] [stdout] 44 | Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueType` 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: function `convert_expression_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn convert_expression_op_to_general(op: ExpressionOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_term_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn convert_term_op_to_general(op: TermOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_comparison_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn convert_comparison_op_to_general(op: ComparisonOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_logical_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn convert_logical_op_to_general(op: LogicalOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id_with_symbol_name`, `contains_key`, `len`, `is_empty`, `remove`, and `clear` are never used [INFO] [stdout] --> src/symbol_table/mod.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SymbolTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_id_with_symbol_name(&self, symbol_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn contains_key(&self, key: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove(&mut self, key: u8) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidValueReference` and `ComparisonInvalid` are never constructed [INFO] [stdout] --> src/semantic/semantic_error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SemanticError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | InvalidValueReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | ComparisonInvalid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticError` 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: function `print_success_message` is never used [INFO] [stdout] --> src/semantic/semantic_error.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn print_success_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `col_number` is never read [INFO] [stdout] --> src/tokenizer/token.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub col_number: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/tokenizer/token_type.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TokenType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 102 | /// Converts a TokenType to its string representation [INFO] [stdout] 103 | pub fn to_string(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properly_returns` is never read [INFO] [stdout] --> src/ast/function_table.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FunctionSymbol { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub properly_returns: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSymbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_name`, `len`, `is_empty`, and `iter` are never used [INFO] [stdout] --> src/ast/function_table.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl FunctionTable { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn contains_name(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingSemicolon`, `MissingColon`, and `MissingDelimiter` are never constructed [INFO] [stdout] --> src/ast/parse_error.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | MissingSemicolon { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | MissingColon { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | MissingDelimiter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_number` is never used [INFO] [stdout] --> src/ast/parse_error.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ParseError { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 56 | pub fn line_number(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_line_middle` is never used [INFO] [stdout] --> src/ast/parse_error.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn error_line_middle() -> ColoredString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `var_data_type` and `line_var_was_declared_on` are never read [INFO] [stdout] --> src/ast/statement.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct VariableAssignmentStatement { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 33 | pub var_name: String, [INFO] [stdout] 34 | pub var_data_type: DataType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub assigned_logical: Logical, [INFO] [stdout] 36 | pub line_var_was_declared_on: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableAssignmentStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GeneralOperator` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum GeneralOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expression` is never constructed [INFO] [stdout] --> src/ast/value_hierarchy.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ValueType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 43 | FunctionCall, [INFO] [stdout] 44 | Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueType` 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: function `convert_expression_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn convert_expression_op_to_general(op: ExpressionOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_term_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn convert_term_op_to_general(op: TermOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_comparison_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn convert_comparison_op_to_general(op: ComparisonOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_logical_op_to_general` is never used [INFO] [stdout] --> src/ast/value_hierarchy.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn convert_logical_op_to_general(op: LogicalOperator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id_with_symbol_name`, `contains_key`, `len`, `is_empty`, `remove`, and `clear` are never used [INFO] [stdout] --> src/symbol_table/mod.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SymbolTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_id_with_symbol_name(&self, symbol_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn contains_key(&self, key: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove(&mut self, key: u8) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidValueReference` and `ComparisonInvalid` are never constructed [INFO] [stdout] --> src/semantic/semantic_error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SemanticError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | InvalidValueReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | ComparisonInvalid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticError` 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: function `print_success_message` is never used [INFO] [stdout] --> src/semantic/semantic_error.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn print_success_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63", kill_on_drop: false }` [INFO] [stdout] 869072e3b23d1866630ca43e82d1892e9d0d7da84945b35ed4143da6d59cea63