[INFO] cloning repository https://github.com/Maxxxxz/MACLang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maxxxxz/MACLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxxxxz%2FMACLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxxxxz%2FMACLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfb877c85d505ca3457f912ceb2880409bdb8a82 [INFO] checking Maxxxxz/MACLang against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxxxxz%2FMACLang" "/workspace/builds/worker-111/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-111/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maxxxxz/MACLang 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/Maxxxxz/MACLang [INFO] finished tweaking git repo https://github.com/Maxxxxz/MACLang [INFO] tweaked toml for git repo https://github.com/Maxxxxz/MACLang written to /workspace/builds/worker-111/source/Cargo.toml [INFO] crate git repo https://github.com/Maxxxxz/MACLang 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-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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] b40dde8bde7b322bfac173f95707113f85f9bb9ab7572ad07e46e577bebcaccf [INFO] running `Command { std: "docker" "start" "-a" "b40dde8bde7b322bfac173f95707113f85f9bb9ab7572ad07e46e577bebcaccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b40dde8bde7b322bfac173f95707113f85f9bb9ab7572ad07e46e577bebcaccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b40dde8bde7b322bfac173f95707113f85f9bb9ab7572ad07e46e577bebcaccf", kill_on_drop: false }` [INFO] [stdout] b40dde8bde7b322bfac173f95707113f85f9bb9ab7572ad07e46e577bebcaccf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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] 206807eb951e2b019eec6460ddd3a44dd14d76ddf4c8107bfe5864ae27f0651b [INFO] running `Command { std: "docker" "start" "-a" "206807eb951e2b019eec6460ddd3a44dd14d76ddf4c8107bfe5864ae27f0651b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking MACLang v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: variant `SET_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SET_EQUAL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SetEqual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TEST_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TEST_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TestEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/./core/lex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'z> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LocInfo` [INFO] [stdout] --> src/./core/lex.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LocInfo [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextRow` [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextCol` [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/./core/lex.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/./core/lex.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex` [INFO] [stdout] --> src/./core/lex.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn lex(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/./core/parse.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'z> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/./core/parse.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Token` [INFO] [stdout] --> src/./core/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Token [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commentDepth` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | commentDepth: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `comment_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextRow` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextCol` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toLex` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let toLex = ls.content; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/parse.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: variant `SET_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SET_EQUAL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SetEqual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TEST_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TEST_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TestEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/./core/lex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'z> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LocInfo` [INFO] [stdout] --> src/./core/lex.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LocInfo [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextRow` [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextCol` [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/./core/lex.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/./core/lex.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex` [INFO] [stdout] --> src/./core/lex.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn lex(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/./core/parse.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'z> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/./core/parse.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Token` [INFO] [stdout] --> src/./core/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Token [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commentDepth` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | commentDepth: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `comment_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextRow` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextCol` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toLex` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let toLex = ls.content; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/parse.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: crate `MACLang` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `maclang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFileName` should have a snake case name [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let inFileName = &args[1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `in_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_toLex` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let _toLex = readFile(inFileName); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `in_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | file.read_to_string(&mut out); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MACLang` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `maclang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFileName` should have a snake case name [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let inFileName = &args[1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `in_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_toLex` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let _toLex = readFile(inFileName); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `in_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | file.read_to_string(&mut out); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.50s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking MACLang v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: variant `SET_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SET_EQUAL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SetEqual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TEST_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TEST_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TestEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SET_EQUAL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SetEqual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TEST_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/./core/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TEST_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TestEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/./core/lex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'z> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/./core/lex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'z> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LocInfo` [INFO] [stdout] --> src/./core/lex.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LocInfo [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextRow` [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextCol` [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/./core/lex.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/./core/lex.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex` [INFO] [stdout] --> src/./core/lex.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn lex(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/./core/parse.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'z> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/./core/parse.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Token` [INFO] [stdout] --> src/./core/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Token [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commentDepth` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | commentDepth: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `comment_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextRow` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextCol` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toLex` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let toLex = ls.content; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/parse.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LocInfo` [INFO] [stdout] --> src/./core/lex.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LocInfo [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextRow` [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nextCol` [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/./core/lex.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/./core/lex.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn next(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex` [INFO] [stdout] --> src/./core/lex.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn lex(self: &mut Lexer<'z>) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/./core/parse.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'z> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/./core/parse.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Token` [INFO] [stdout] --> src/./core/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Token [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `commentDepth` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | commentDepth: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `comment_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextRow` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn nextRow(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nextCol` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn nextCol(&mut self, x: u64) [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(inStr: &'z str) -> Self [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toLex` should have a snake case name [INFO] [stdout] --> src/./core/lex.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let toLex = ls.content; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inStr` should have a snake case name [INFO] [stdout] --> src/./core/parse.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(inStr: &str)// -> what to return to compiler? 🤔 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `in_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MACLang` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `maclang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFileName` should have a snake case name [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let inFileName = &args[1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `in_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_toLex` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let _toLex = readFile(inFileName); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `in_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | file.read_to_string(&mut out); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MACLang` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `maclang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFileName` should have a snake case name [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let inFileName = &args[1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `in_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_toLex` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let _toLex = readFile(inFileName); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `_to_lex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inFile` should have a snake case name [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | fn readFile(inFile: &str) -> String //Vec [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `in_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | file.read_to_string(&mut out); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "206807eb951e2b019eec6460ddd3a44dd14d76ddf4c8107bfe5864ae27f0651b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "206807eb951e2b019eec6460ddd3a44dd14d76ddf4c8107bfe5864ae27f0651b", kill_on_drop: false }` [INFO] [stdout] 206807eb951e2b019eec6460ddd3a44dd14d76ddf4c8107bfe5864ae27f0651b