[INFO] cloning repository https://github.com/gedatsu217/monkey_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gedatsu217/monkey_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgedatsu217%2Fmonkey_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgedatsu217%2Fmonkey_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36e7ddaba3a91fbb160a4b3e5b0f05fcf6855621 [INFO] checking gedatsu217/monkey_interpreter/36e7ddaba3a91fbb160a4b3e5b0f05fcf6855621 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgedatsu217%2Fmonkey_interpreter" "/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/gedatsu217/monkey_interpreter on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gedatsu217/monkey_interpreter [INFO] finished tweaking git repo https://github.com/gedatsu217/monkey_interpreter [INFO] tweaked toml for git repo https://github.com/gedatsu217/monkey_interpreter written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gedatsu217/monkey_interpreter 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_generator v0.9.0 [INFO] [stderr] Downloaded phf_macros v0.9.0 [INFO] [stderr] Downloaded siphasher v0.3.5 [INFO] [stderr] Downloaded phf_shared v0.9.0 [INFO] [stderr] Downloaded phf v0.9.0 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01e2b354ca1618242f6f2e780788c7cffb6a8e2ec8309588b2f18c063bbed053 [INFO] running `Command { std: "docker" "start" "-a" "01e2b354ca1618242f6f2e780788c7cffb6a8e2ec8309588b2f18c063bbed053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e2b354ca1618242f6f2e780788c7cffb6a8e2ec8309588b2f18c063bbed053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e2b354ca1618242f6f2e780788c7cffb6a8e2ec8309588b2f18c063bbed053", kill_on_drop: false }` [INFO] [stdout] 01e2b354ca1618242f6f2e780788c7cffb6a8e2ec8309588b2f18c063bbed053 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96b300e5a9c286af8a7961f73b6a1151b9449afefdfc35f8e69027d533acff43 [INFO] running `Command { std: "docker" "start" "-a" "96b300e5a9c286af8a7961f73b6a1151b9449afefdfc35f8e69027d533acff43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Checking phf_shared v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling phf_generator v0.9.0 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Checking phf v0.9.0 [INFO] [stderr] Checking monkey_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `token::Token` [INFO] [stdout] --> src/parser.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, ast::Program, lexer, lexer::Lexer, token, token::Token}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::Token` [INFO] [stdout] --> src/parser.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast, ast::Program, lexer, lexer::Lexer, token, token::Token}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `repl` and `token` [INFO] [stdout] --> src/repl.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{evaluator, lexer, object, repl, token}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `repl` and `token` [INFO] [stdout] --> src/repl.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{evaluator, lexer, object, repl, token}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Nil` is named the same as one of the variants of the type `ast::Statement` [INFO] [stdout] --> src/ast.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Nil => "".to_string(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `ast::Statement::Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Nil` is named the same as one of the variants of the type `ast::Statement` [INFO] [stdout] --> src/ast.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Nil => "".to_string(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `ast::Statement::Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | Statement::ExpressionStatement { Token, Expression } => Expression.into_string(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | Statement::BlockStatement { Token, Statements } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | Statement::ExpressionStatement { Token, Expression } => Expression.into_string(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Nil` [INFO] [stdout] --> src/ast.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Nil => "".to_string(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | Statement::BlockStatement { Token, Statements } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Nil` [INFO] [stdout] --> src/ast.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Nil => "".to_string(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Value` [INFO] [stdout] --> src/ast.rs:130:50 [INFO] [stdout] | [INFO] [stdout] 130 | Expression::IntergerLiteral { Token, Value } => Token.Literal.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Value` [INFO] [stdout] --> src/ast.rs:150:42 [INFO] [stdout] | [INFO] [stdout] 150 | Expression::Boolean { Token, Value } => Token.Literal.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Value` [INFO] [stdout] --> src/ast.rs:130:50 [INFO] [stdout] | [INFO] [stdout] 130 | Expression::IntergerLiteral { Token, Value } => Token.Literal.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Value` [INFO] [stdout] --> src/ast.rs:150:42 [INFO] [stdout] | [INFO] [stdout] 150 | Expression::Boolean { Token, Value } => Token.Literal.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/ast.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Message` [INFO] [stdout] --> src/evaluator.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | } else if let object::Object::Error { Message } = &result { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `Message: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | ast::Statement::ExpressionStatement { Token, Expression } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | ast::Statement::BlockStatement { Token, Statements } => evalBlockStatement(stmt, env), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Statements` [INFO] [stdout] --> src/evaluator.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | ast::Statement::BlockStatement { Token, Statements } => evalBlockStatement(stmt, env), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `Statements: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | ast::Statement::ReturnStatement { Token, ReturnValue } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | ast::Statement::LetStatement { Token, Name, Value } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Message` [INFO] [stdout] --> src/evaluator.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | } else if let object::Object::Error { Message } = &result { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `Message: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | ast::Expression::IntergerLiteral { Token, Value } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | ast::Expression::Boolean { Token, Value } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | ast::Statement::ExpressionStatement { Token, Expression } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | ast::Statement::BlockStatement { Token, Statements } => evalBlockStatement(stmt, env), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Statements` [INFO] [stdout] --> src/evaluator.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | ast::Statement::BlockStatement { Token, Statements } => evalBlockStatement(stmt, env), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `Statements: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | ast::Statement::ReturnStatement { Token, ReturnValue } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | ast::Statement::LetStatement { Token, Name, Value } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Condition` [INFO] [stdout] --> src/evaluator.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | Condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `Condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Consequence` [INFO] [stdout] --> src/evaluator.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Consequence, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `Consequence: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Alternative` [INFO] [stdout] --> src/evaluator.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | Alternative, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `Alternative: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | ast::Expression::IntergerLiteral { Token, Value } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | ast::Expression::Boolean { Token, Value } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Condition` [INFO] [stdout] --> src/evaluator.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | Condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `Condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Consequence` [INFO] [stdout] --> src/evaluator.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Consequence, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `Consequence: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Alternative` [INFO] [stdout] --> src/evaluator.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | Alternative, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `Alternative: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluator.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let mut args = evalExpressions(Arguments, env); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluator.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let mut args = evalExpressions(Arguments, env); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:275:45 [INFO] [stdout] | [INFO] [stdout] 275 | if let ast::Statement::BlockStatement { Token, Statements } = block { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Parameters` [INFO] [stdout] --> src/evaluator.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | Parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `Parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Env` [INFO] [stdout] --> src/evaluator.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | Env, [INFO] [stdout] | ^^^ help: try ignoring the field: `Env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | Token, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Body` [INFO] [stdout] --> src/evaluator.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | Body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `Body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/evaluator.rs:275:45 [INFO] [stdout] | [INFO] [stdout] 275 | if let ast::Statement::BlockStatement { Token, Statements } = block { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `Token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Parameters` [INFO] [stdout] --> src/evaluator.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | Parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `Parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Env` [INFO] [stdout] --> src/evaluator.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | Env, [INFO] [stdout] | ^^^ help: try ignoring the field: `Env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Body` [INFO] [stdout] --> src/evaluator.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | Body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `Body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Env` [INFO] [stdout] --> src/object.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | Env, [INFO] [stdout] | ^^^ help: try ignoring the field: `Env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Parameters` [INFO] [stdout] --> src/object.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | Parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `Parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Body` [INFO] [stdout] --> src/object.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `Body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Env` [INFO] [stdout] --> src/object.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | Env, [INFO] [stdout] | ^^^ help: try ignoring the field: `Env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Env` [INFO] [stdout] --> src/object.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | Env, [INFO] [stdout] | ^^^ help: try ignoring the field: `Env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Parameters` [INFO] [stdout] --> src/object.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | Parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `Parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Body` [INFO] [stdout] --> src/object.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `Body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Env` [INFO] [stdout] --> src/object.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | Env, [INFO] [stdout] | ^^^ help: try ignoring the field: `Env: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/token.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let tok: TokenType; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/token.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let tok: TokenType; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROMPT` is never used [INFO] [stdout] --> src/repl.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PROMPT: &str = ">> "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROMPT` is never used [INFO] [stdout] --> src/repl.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PROMPT: &str = ">> "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/ast.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Name: Identifier, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Value: Expression, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Name` should have a snake case name [INFO] [stdout] --> src/ast.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Name: Identifier, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Value: Expression, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ReturnValue` should have a snake case name [INFO] [stdout] --> src/ast.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ReturnValue: Expression, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ReturnValue` should have a snake case name [INFO] [stdout] --> src/ast.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ReturnValue: Expression, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Expression` should have a snake case name [INFO] [stdout] --> src/ast.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Statements` should have a snake case name [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Nil` should have a snake case name [INFO] [stdout] --> src/ast.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Nil => "".to_string(), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Expression` should have a snake case name [INFO] [stdout] --> src/ast.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Expression: Expression, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Statements` should have a snake case name [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Nil` should have a snake case name [INFO] [stdout] --> src/ast.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Nil => "".to_string(), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub Value: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub Value: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Value: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Value: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Operator` should have a snake case name [INFO] [stdout] --> src/ast.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Operator: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Right` should have a snake case name [INFO] [stdout] --> src/ast.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Right: Box, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Left` should have a snake case name [INFO] [stdout] --> src/ast.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Left: Box, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Operator` should have a snake case name [INFO] [stdout] --> src/ast.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Operator: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Right` should have a snake case name [INFO] [stdout] --> src/ast.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | Right: Box, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | Value: bool, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Condition` should have a snake case name [INFO] [stdout] --> src/ast.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | Condition: Box, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Consequence` should have a snake case name [INFO] [stdout] --> src/ast.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | Consequence: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `consequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Operator` should have a snake case name [INFO] [stdout] --> src/ast.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Operator: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Alternative` should have a snake case name [INFO] [stdout] --> src/ast.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Alternative: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `alternative` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Parameters` should have a snake case name [INFO] [stdout] --> src/ast.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Right` should have a snake case name [INFO] [stdout] --> src/ast.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Right: Box, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Body` should have a snake case name [INFO] [stdout] --> src/ast.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Body: Box, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Left` should have a snake case name [INFO] [stdout] --> src/ast.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Left: Box, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Function` should have a snake case name [INFO] [stdout] --> src/ast.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Function: Box, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Operator` should have a snake case name [INFO] [stdout] --> src/ast.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Operator: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Right` should have a snake case name [INFO] [stdout] --> src/ast.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | Right: Box, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Arguments` should have a snake case name [INFO] [stdout] --> src/ast.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/ast.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | Value: bool, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Identifier` should have a snake case name [INFO] [stdout] --> src/ast.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | Expression::Identifier(Identifier) => Identifier.Value.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Condition` should have a snake case name [INFO] [stdout] --> src/ast.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | Condition: Box, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Statements` should have a snake case name [INFO] [stdout] --> src/ast.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub Statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Eval` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn Eval(node: ast::Program, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Consequence` should have a snake case name [INFO] [stdout] --> src/ast.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | Consequence: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `consequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Alternative` should have a snake case name [INFO] [stdout] --> src/ast.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Alternative: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `alternative` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalStatements` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn evalStatements(stmts: &Vec, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalStatement` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn evalStatement(stmt: &ast::Statement, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Parameters` should have a snake case name [INFO] [stdout] --> src/ast.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn evalExpression(exp: &ast::Expression, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Body` should have a snake case name [INFO] [stdout] --> src/ast.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Body: Box, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalPrefixExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn evalPrefixExpression(operator: &String, right: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_prefix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Token` should have a snake case name [INFO] [stdout] --> src/ast.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Token: token::Token, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalBangOperatorExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn evalBangOperatorExpression(right: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_bang_operator_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Function` should have a snake case name [INFO] [stdout] --> src/ast.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Function: Box, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalMinusPrefixOperatorExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn evalMinusPrefixOperatorExpression(right: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_minus_prefix_operator_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Arguments` should have a snake case name [INFO] [stdout] --> src/ast.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalInfixExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn evalInfixExpression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_infix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Identifier` should have a snake case name [INFO] [stdout] --> src/ast.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | Expression::Identifier(Identifier) => Identifier.Value.clone(), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalIntegerInfixExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn evalIntegerInfixExpression(operator: &String, left: i64, right: i64) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_integer_infix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Statements` should have a snake case name [INFO] [stdout] --> src/ast.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub Statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalIfExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn evalIfExpression(ie: &ast::Expression, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_if_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isTruthy` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn isTruthy(obj: &object::Object) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_truthy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Eval` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn Eval(node: ast::Program, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalBlockStatement` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn evalBlockStatement(block: &ast::Statement, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_block_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalStatements` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn evalStatements(stmts: &Vec, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newError` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn newError(format: String) -> object::Object { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalStatement` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn evalStatement(stmt: &ast::Statement, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn evalExpression(exp: &ast::Expression, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isError` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn isError(obj: &object::Object) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalPrefixExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn evalPrefixExpression(operator: &String, right: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_prefix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalIdentifier` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn evalIdentifier(node: &ast::Identifier, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalBangOperatorExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn evalBangOperatorExpression(right: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_bang_operator_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalExpressions` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn evalExpressions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalMinusPrefixOperatorExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn evalMinusPrefixOperatorExpression(right: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_minus_prefix_operator_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `applyFunction` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn applyFunction(f: object::Object, args: Vec) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `extendedEnv` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | let mut extendedEnv = extendFunctionEnv(f.clone(), args); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `extended_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalInfixExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn evalInfixExpression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_infix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extendFunctionEnv` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | fn extendFunctionEnv(f: object::Object, args: Vec) -> object::Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `extend_function_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalIntegerInfixExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn evalIntegerInfixExpression(operator: &String, left: i64, right: i64) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_integer_infix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrapReturnValue` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | fn unwrapReturnValue(obj: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unwrap_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalIfExpression` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn evalIfExpression(ie: &ast::Expression, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_if_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `readPosition` should have a snake case name [INFO] [stdout] --> src/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | readPosition: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `read_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isTruthy` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn isTruthy(obj: &object::Object) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_truthy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalBlockStatement` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn evalBlockStatement(block: &ast::Statement, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_block_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `New` should have a snake case name [INFO] [stdout] --> src/lexer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn New(input: String) -> Lexer { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readChar` should have a snake case name [INFO] [stdout] --> src/lexer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn readChar(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newError` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn newError(format: String) -> object::Object { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NextToken` should have a snake case name [INFO] [stdout] --> src/lexer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn NextToken(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isError` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn isError(obj: &object::Object) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readIdentifier` should have a snake case name [INFO] [stdout] --> src/lexer.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn readIdentifier(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readNumber` should have a snake case name [INFO] [stdout] --> src/lexer.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn readNumber(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `read_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalIdentifier` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn evalIdentifier(node: &ast::Identifier, env: &mut object::Environment) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skipWhitespace` should have a snake case name [INFO] [stdout] --> src/lexer.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn skipWhitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `skip_whitespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evalExpressions` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn evalExpressions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `eval_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekChar` should have a snake case name [INFO] [stdout] --> src/lexer.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn peekChar(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `peek_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `applyFunction` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn applyFunction(f: object::Object, args: Vec) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newToken` should have a snake case name [INFO] [stdout] --> src/lexer.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn newToken(tokenType: token::TokenType, ch: &Option) -> Token { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `extendedEnv` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | let mut extendedEnv = extendFunctionEnv(f.clone(), args); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `extended_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenType` should have a snake case name [INFO] [stdout] --> src/lexer.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn newToken(tokenType: token::TokenType, ch: &Option) -> Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extendFunctionEnv` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | fn extendFunctionEnv(f: object::Object, args: Vec) -> object::Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `extend_function_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrapReturnValue` should have a snake case name [INFO] [stdout] --> src/evaluator.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | fn unwrapReturnValue(obj: object::Object) -> object::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unwrap_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isLetter` should have a snake case name [INFO] [stdout] --> src/lexer.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn isLetter(s: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_letter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `readPosition` should have a snake case name [INFO] [stdout] --> src/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | readPosition: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `read_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `New` should have a snake case name [INFO] [stdout] --> src/lexer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn New(input: String) -> Lexer { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isDigit` should have a snake case name [INFO] [stdout] --> src/lexer.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn isDigit(s: &Option) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_digit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readChar` should have a snake case name [INFO] [stdout] --> src/lexer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn readChar(&mut self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NextToken` should have a snake case name [INFO] [stdout] --> src/lexer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn NextToken(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readIdentifier` should have a snake case name [INFO] [stdout] --> src/lexer.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn readIdentifier(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readNumber` should have a snake case name [INFO] [stdout] --> src/lexer.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn readNumber(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `read_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/object.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Value: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `skipWhitespace` should have a snake case name [INFO] [stdout] --> src/lexer.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn skipWhitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `skip_whitespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekChar` should have a snake case name [INFO] [stdout] --> src/lexer.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn peekChar(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `peek_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/object.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Value: bool, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newToken` should have a snake case name [INFO] [stdout] --> src/lexer.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn newToken(tokenType: token::TokenType, ch: &Option) -> Token { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/object.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Value: Box, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenType` should have a snake case name [INFO] [stdout] --> src/lexer.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn newToken(tokenType: token::TokenType, ch: &Option) -> Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isLetter` should have a snake case name [INFO] [stdout] --> src/lexer.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn isLetter(s: &Option) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_letter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Message` should have a snake case name [INFO] [stdout] --> src/object.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Message: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isDigit` should have a snake case name [INFO] [stdout] --> src/lexer.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn isDigit(s: &Option) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_digit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/object.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Value: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Parameters` should have a snake case name [INFO] [stdout] --> src/object.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/object.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Value: bool, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Value` should have a snake case name [INFO] [stdout] --> src/object.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Value: Box, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Body` should have a snake case name [INFO] [stdout] --> src/object.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Body: Box, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Message` should have a snake case name [INFO] [stdout] --> src/object.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Message: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Parameters` should have a snake case name [INFO] [stdout] --> src/object.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Body` should have a snake case name [INFO] [stdout] --> src/object.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Body: Box, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Env` should have a snake case name [INFO] [stdout] --> src/object.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Env: Environment, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Env` should have a snake case name [INFO] [stdout] --> src/object.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Env: Environment, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Type` should have a snake case name [INFO] [stdout] --> src/object.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn Type(&self) -> ObjectType { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 37 | pub fn r#type(&self) -> ObjectType { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Inspect` should have a snake case name [INFO] [stdout] --> src/object.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn Inspect(&self) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `inspect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Type` should have a snake case name [INFO] [stdout] --> src/object.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn Type(&self) -> ObjectType { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 37 | pub fn r#type(&self) -> ObjectType { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NewEnvironment` should have a snake case name [INFO] [stdout] --> src/object.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn NewEnvironment() -> Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NewEnclosedEnvironment` should have a snake case name [INFO] [stdout] --> src/object.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn NewEnclosedEnvironment(outer: Environment) -> Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_enclosed_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Inspect` should have a snake case name [INFO] [stdout] --> src/object.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn Inspect(&self) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `inspect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Get` should have a snake case name [INFO] [stdout] --> src/object.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn Get(&self, name: &String) -> Option<&Object> { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Set` should have a snake case name [INFO] [stdout] --> src/object.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn Set(&mut self, name: &String, val: Object) -> Object { [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `precedences` should have an upper case name [INFO] [stdout] --> src/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static precedences: phf::Map<&'static str, i32> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PRECEDENCES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `curToken` should have a snake case name [INFO] [stdout] --> src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | curToken: token::Token, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cur_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NewEnvironment` should have a snake case name [INFO] [stdout] --> src/object.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn NewEnvironment() -> Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `peekToken` should have a snake case name [INFO] [stdout] --> src/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | peekToken: token::Token, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `New` should have a snake case name [INFO] [stdout] --> src/parser.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn New(self) -> Parser { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextToken` should have a snake case name [INFO] [stdout] --> src/parser.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn nextToken(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NewEnclosedEnvironment` should have a snake case name [INFO] [stdout] --> src/object.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn NewEnclosedEnvironment(outer: Environment) -> Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_enclosed_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseProgram` should have a snake case name [INFO] [stdout] --> src/parser.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn ParseProgram(&mut self) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Get` should have a snake case name [INFO] [stdout] --> src/object.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn Get(&self, name: &String) -> Option<&Object> { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn parseStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Set` should have a snake case name [INFO] [stdout] --> src/object.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn Set(&mut self, name: &String, val: Object) -> Object { [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseLetStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parseLetStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_let_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `precedences` should have an upper case name [INFO] [stdout] --> src/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static precedences: phf::Map<&'static str, i32> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PRECEDENCES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `curToken` should have a snake case name [INFO] [stdout] --> src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | curToken: token::Token, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cur_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `peekToken` should have a snake case name [INFO] [stdout] --> src/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | peekToken: token::Token, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `New` should have a snake case name [INFO] [stdout] --> src/parser.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn New(self) -> Parser { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextToken` should have a snake case name [INFO] [stdout] --> src/parser.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn nextToken(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseProgram` should have a snake case name [INFO] [stdout] --> src/parser.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn ParseProgram(&mut self) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn parseStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseLetStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn parseLetStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_let_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `curTokenIs` should have a snake case name [INFO] [stdout] --> src/parser.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn curTokenIs(&self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `cur_token_is` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekTokenIs` should have a snake case name [INFO] [stdout] --> src/parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn peekTokenIs(&self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `peek_token_is` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expectPeek` should have a snake case name [INFO] [stdout] --> src/parser.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn expectPeek(&mut self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expect_peek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Errors` should have a snake case name [INFO] [stdout] --> src/parser.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn Errors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekError` should have a snake case name [INFO] [stdout] --> src/parser.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn peekError(&mut self, t: token::TokenType) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkParserErrors` should have a snake case name [INFO] [stdout] --> src/parser.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn checkParserErrors(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_parser_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseReturnStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn parseReturnStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_return_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseExpressionStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn parseExpressionStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn parseExpression(&mut self, precedence: i32) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseIntergerLiteral` should have a snake case name [INFO] [stdout] --> src/parser.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn parseIntergerLiteral(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_interger_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parsePrefixExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn parsePrefixExpression(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_prefix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekPrecedence` should have a snake case name [INFO] [stdout] --> src/parser.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn peekPrecedence(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `peek_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `curPrecedence` should have a snake case name [INFO] [stdout] --> src/parser.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn curPrecedence(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cur_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseInfixExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | fn parseInfixExpression(&mut self, left: ast::Expression) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_infix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseBoolean` should have a snake case name [INFO] [stdout] --> src/parser.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn parseBoolean(&self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_boolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseGroupedExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn parseGroupedExpression(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_grouped_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseIfExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn parseIfExpression(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_if_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseBlockStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | fn parseBlockStatement(&mut self) -> ast::Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_block_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseFunctionLiteral` should have a snake case name [INFO] [stdout] --> src/parser.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | fn parseFunctionLiteral(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_function_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseFunctionParameters` should have a snake case name [INFO] [stdout] --> src/parser.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | fn parseFunctionParameters(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_function_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseCallExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn parseCallExpression(&mut self, function: ast::Expression) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_call_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseCallArguments` should have a snake case name [INFO] [stdout] --> src/parser.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | fn parseCallArguments(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_call_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey_interpreter` (lib test) due to 2 previous errors; 155 warnings emitted [INFO] [stdout] warning: method `curTokenIs` should have a snake case name [INFO] [stdout] --> src/parser.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn curTokenIs(&self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `cur_token_is` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `Start` should have a snake case name [INFO] [stdout] --> src/repl.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn Start() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekTokenIs` should have a snake case name [INFO] [stdout] --> src/parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn peekTokenIs(&self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `peek_token_is` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printParserErrors` should have a snake case name [INFO] [stdout] --> src/repl.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn printParserErrors(errors: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_parser_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expectPeek` should have a snake case name [INFO] [stdout] --> src/parser.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn expectPeek(&mut self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expect_peek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/token.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub Type: TokenType, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 41 | pub r#type: TokenType, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Errors` should have a snake case name [INFO] [stdout] --> src/parser.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn Errors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Literal` should have a snake case name [INFO] [stdout] --> src/token.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub Literal: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekError` should have a snake case name [INFO] [stdout] --> src/parser.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn peekError(&mut self, t: token::TokenType) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LookupIdent` should have a snake case name [INFO] [stdout] --> src/token.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn LookupIdent(ident: &String) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lookup_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkParserErrors` should have a snake case name [INFO] [stdout] --> src/parser.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn checkParserErrors(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_parser_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseReturnStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn parseReturnStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_return_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseExpressionStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn parseExpressionStatement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn parseExpression(&mut self, precedence: i32) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseIntergerLiteral` should have a snake case name [INFO] [stdout] --> src/parser.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn parseIntergerLiteral(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_interger_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parsePrefixExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn parsePrefixExpression(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_prefix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peekPrecedence` should have a snake case name [INFO] [stdout] --> src/parser.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn peekPrecedence(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `peek_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `curPrecedence` should have a snake case name [INFO] [stdout] --> src/parser.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn curPrecedence(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cur_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseInfixExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | fn parseInfixExpression(&mut self, left: ast::Expression) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_infix_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseBoolean` should have a snake case name [INFO] [stdout] --> src/parser.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn parseBoolean(&self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_boolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseGroupedExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn parseGroupedExpression(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_grouped_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseIfExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | fn parseIfExpression(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_if_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey_interpreter` (lib) due to 2 previous errors; 155 warnings emitted [INFO] [stdout] warning: method `parseBlockStatement` should have a snake case name [INFO] [stdout] --> src/parser.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | fn parseBlockStatement(&mut self) -> ast::Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_block_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseFunctionLiteral` should have a snake case name [INFO] [stdout] --> src/parser.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | fn parseFunctionLiteral(&mut self) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_function_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseFunctionParameters` should have a snake case name [INFO] [stdout] --> src/parser.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | fn parseFunctionParameters(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_function_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseCallExpression` should have a snake case name [INFO] [stdout] --> src/parser.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | fn parseCallExpression(&mut self, function: ast::Expression) -> ast::Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_call_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseCallArguments` should have a snake case name [INFO] [stdout] --> src/parser.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | fn parseCallArguments(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_call_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Start` should have a snake case name [INFO] [stdout] --> src/repl.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn Start() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printParserErrors` should have a snake case name [INFO] [stdout] --> src/repl.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn printParserErrors(errors: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_parser_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/token.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub Type: TokenType, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 41 | pub r#type: TokenType, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Literal` should have a snake case name [INFO] [stdout] --> src/token.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub Literal: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LookupIdent` should have a snake case name [INFO] [stdout] --> src/token.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn LookupIdent(ident: &String) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lookup_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 155 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 155 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96b300e5a9c286af8a7961f73b6a1151b9449afefdfc35f8e69027d533acff43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b300e5a9c286af8a7961f73b6a1151b9449afefdfc35f8e69027d533acff43", kill_on_drop: false }` [INFO] [stdout] 96b300e5a9c286af8a7961f73b6a1151b9449afefdfc35f8e69027d533acff43