[INFO] cloning repository https://github.com/babblet/HackCompiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/babblet/HackCompiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabblet%2FHackCompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabblet%2FHackCompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed7eee26e2e678c04f8307e57b45692822f56887 [INFO] checking babblet/HackCompiler against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabblet%2FHackCompiler" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/babblet/HackCompiler on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/babblet/HackCompiler [INFO] finished tweaking git repo https://github.com/babblet/HackCompiler [INFO] tweaked toml for git repo https://github.com/babblet/HackCompiler written to /workspace/builds/worker-101/source/Cargo.toml [INFO] crate git repo https://github.com/babblet/HackCompiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 072cc3e74ef3cc30b4b73507bb3fc5b28409f8589f3b8181a897b475754df753 [INFO] running `Command { std: "docker" "start" "-a" "072cc3e74ef3cc30b4b73507bb3fc5b28409f8589f3b8181a897b475754df753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "072cc3e74ef3cc30b4b73507bb3fc5b28409f8589f3b8181a897b475754df753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "072cc3e74ef3cc30b4b73507bb3fc5b28409f8589f3b8181a897b475754df753", kill_on_drop: false }` [INFO] [stdout] 072cc3e74ef3cc30b4b73507bb3fc5b28409f8589f3b8181a897b475754df753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 904998cfa4ecc6e3059058c9941d0f3086126634a229b0ded59bae9abd353412 [INFO] running `Command { std: "docker" "start" "-a" "904998cfa4ecc6e3059058c9941d0f3086126634a229b0ded59bae9abd353412", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking hack_compiler v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/classes/compilation_engine.rs (2 fixes) [INFO] [stderr] Fixed src/classes/tokenizer.rs (2 fixes) [INFO] [stderr] Fixed src/models/token.rs (2 fixes) [INFO] [stdout] warning: field is never read: `input_lines` [INFO] [stdout] --> src/classes/compilation_engine.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | input_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output_buffer` [INFO] [stdout] --> src/classes/compilation_engine.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | output_buffer: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/classes/compilation_engine.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn run(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class` [INFO] [stdout] --> src/classes/compilation_engine.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | fn compile_class() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | fn compile_class_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | fn compile_subroutine_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_parameter_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | fn compile_parameter_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_body` [INFO] [stdout] --> src/classes/compilation_engine.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | fn compile_subroutine_body() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | fn compile_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_statements` [INFO] [stdout] --> src/classes/compilation_engine.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | fn compile_statements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_let` [INFO] [stdout] --> src/classes/compilation_engine.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | fn compile_let() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_if` [INFO] [stdout] --> src/classes/compilation_engine.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | fn compile_if () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_while` [INFO] [stdout] --> src/classes/compilation_engine.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | fn compile_while () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_do` [INFO] [stdout] --> src/classes/compilation_engine.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | fn compile_do() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_return` [INFO] [stdout] --> src/classes/compilation_engine.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | fn compile_return() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression` [INFO] [stdout] --> src/classes/compilation_engine.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | fn compile_expression() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_term` [INFO] [stdout] --> src/classes/compilation_engine.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | fn compile_term() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | fn compile_expression_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getKindArray` should have a snake case name [INFO] [stdout] --> src/grammar/mod.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn getKindArray() -> [Keyword; 21] { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_kind_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_lines` [INFO] [stdout] --> src/classes/compilation_engine.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | input_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output_buffer` [INFO] [stdout] --> src/classes/compilation_engine.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | output_buffer: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/classes/compilation_engine.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn run(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class` [INFO] [stdout] --> src/classes/compilation_engine.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | fn compile_class() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | fn compile_class_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | fn compile_subroutine_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_parameter_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | fn compile_parameter_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_body` [INFO] [stdout] --> src/classes/compilation_engine.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | fn compile_subroutine_body() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | fn compile_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_statements` [INFO] [stdout] --> src/classes/compilation_engine.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | fn compile_statements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_let` [INFO] [stdout] --> src/classes/compilation_engine.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | fn compile_let() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_if` [INFO] [stdout] --> src/classes/compilation_engine.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | fn compile_if () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_while` [INFO] [stdout] --> src/classes/compilation_engine.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | fn compile_while () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_do` [INFO] [stdout] --> src/classes/compilation_engine.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | fn compile_do() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_return` [INFO] [stdout] --> src/classes/compilation_engine.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | fn compile_return() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression` [INFO] [stdout] --> src/classes/compilation_engine.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | fn compile_expression() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_term` [INFO] [stdout] --> src/classes/compilation_engine.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | fn compile_term() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | fn compile_expression_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getKindArray` should have a snake case name [INFO] [stdout] --> src/grammar/mod.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn getKindArray() -> [Keyword; 21] { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_kind_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/mod.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/arguments/mod.rs (1 fix) [INFO] [stderr] Fixed tests/compilation_engine/mod.rs (1 fix) [INFO] [stderr] Fixed tests/analyzer/mod.rs (1 fix) [INFO] [stderr] Fixed tests/tokenizer/mod.rs (3 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.98s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking hack_compiler v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: field is never read: `input_lines` [INFO] [stdout] --> src/classes/compilation_engine.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | input_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output_buffer` [INFO] [stdout] --> src/classes/compilation_engine.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | output_buffer: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/classes/compilation_engine.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn run(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class` [INFO] [stdout] --> src/classes/compilation_engine.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | fn compile_class() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | fn compile_class_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | fn compile_subroutine_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_parameter_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | fn compile_parameter_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_body` [INFO] [stdout] --> src/classes/compilation_engine.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | fn compile_subroutine_body() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | fn compile_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_statements` [INFO] [stdout] --> src/classes/compilation_engine.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | fn compile_statements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_let` [INFO] [stdout] --> src/classes/compilation_engine.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | fn compile_let() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_if` [INFO] [stdout] --> src/classes/compilation_engine.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | fn compile_if () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_while` [INFO] [stdout] --> src/classes/compilation_engine.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | fn compile_while () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_do` [INFO] [stdout] --> src/classes/compilation_engine.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | fn compile_do() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_return` [INFO] [stdout] --> src/classes/compilation_engine.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | fn compile_return() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression` [INFO] [stdout] --> src/classes/compilation_engine.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | fn compile_expression() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_term` [INFO] [stdout] --> src/classes/compilation_engine.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | fn compile_term() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | fn compile_expression_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getKindArray` should have a snake case name [INFO] [stdout] --> src/grammar/mod.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn getKindArray() -> [Keyword; 21] { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_kind_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_lines` [INFO] [stdout] --> src/classes/compilation_engine.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | input_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output_buffer` [INFO] [stdout] --> src/classes/compilation_engine.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | output_buffer: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/classes/compilation_engine.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn run(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class` [INFO] [stdout] --> src/classes/compilation_engine.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | fn compile_class() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_class_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | fn compile_class_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | fn compile_subroutine_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_parameter_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | fn compile_parameter_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_subroutine_body` [INFO] [stdout] --> src/classes/compilation_engine.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | fn compile_subroutine_body() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_var_dec` [INFO] [stdout] --> src/classes/compilation_engine.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | fn compile_var_dec() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_statements` [INFO] [stdout] --> src/classes/compilation_engine.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | fn compile_statements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_let` [INFO] [stdout] --> src/classes/compilation_engine.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | fn compile_let() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_if` [INFO] [stdout] --> src/classes/compilation_engine.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | fn compile_if () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_while` [INFO] [stdout] --> src/classes/compilation_engine.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | fn compile_while () { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_do` [INFO] [stdout] --> src/classes/compilation_engine.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | fn compile_do() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_return` [INFO] [stdout] --> src/classes/compilation_engine.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | fn compile_return() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression` [INFO] [stdout] --> src/classes/compilation_engine.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | fn compile_expression() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_term` [INFO] [stdout] --> src/classes/compilation_engine.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | fn compile_term() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_expression_list` [INFO] [stdout] --> src/classes/compilation_engine.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | fn compile_expression_list() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getKindArray` should have a snake case name [INFO] [stdout] --> src/grammar/mod.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn getKindArray() -> [Keyword; 21] { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_kind_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "904998cfa4ecc6e3059058c9941d0f3086126634a229b0ded59bae9abd353412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904998cfa4ecc6e3059058c9941d0f3086126634a229b0ded59bae9abd353412", kill_on_drop: false }` [INFO] [stdout] 904998cfa4ecc6e3059058c9941d0f3086126634a229b0ded59bae9abd353412