[INFO] cloning repository https://github.com/ARACADERISE/mini-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ARACADERISE/mini-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FARACADERISE%2Fmini-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FARACADERISE%2Fmini-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdf5710668e758daede1233eb6d2cf4f1e462af0 [INFO] building ARACADERISE/mini-lang against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FARACADERISE%2Fmini-lang" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ARACADERISE/mini-lang on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ARACADERISE/mini-lang [INFO] finished tweaking git repo https://github.com/ARACADERISE/mini-lang [INFO] tweaked toml for git repo https://github.com/ARACADERISE/mini-lang written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ARACADERISE/mini-lang 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3deafc5fc865ee7ed072189e1fc68a3b12df4f219ee7932b1089265afc545e2d [INFO] running `Command { std: "docker" "start" "-a" "3deafc5fc865ee7ed072189e1fc68a3b12df4f219ee7932b1089265afc545e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3deafc5fc865ee7ed072189e1fc68a3b12df4f219ee7932b1089265afc545e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3deafc5fc865ee7ed072189e1fc68a3b12df4f219ee7932b1089265afc545e2d", kill_on_drop: false }` [INFO] [stdout] 3deafc5fc865ee7ed072189e1fc68a3b12df4f219ee7932b1089265afc545e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9849b07da7515c02f293a9515a2098af1d460c8e7e4ca3709fd0d0ba65352574 [INFO] running `Command { std: "docker" "start" "-a" "9849b07da7515c02f293a9515a2098af1d460c8e7e4ca3709fd0d0ba65352574", kill_on_drop: false }` [INFO] [stderr] Compiling jpg_decoder_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/imp.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | if(c == '"') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 166 - if(c == '"') [INFO] [stdout] 166 + if c == '"' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... Ok(mut p) => { [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: field `is_valid` is never read [INFO] [stdout] --> src/starter.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FileInfo [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub is_valid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/starter.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | NoSuchDir(io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | NoSuchDir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/starter.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | NoSuchFile(PathBuf), [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | NoSuchFile(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/starter.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | CreateFileErr(PathBuf) [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | CreateFileErr(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErrFuncs` is never used [INFO] [stdout] --> src/starter.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait ErrFuncs [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | TokenErr(Type) [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | TokenErr(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LErrorFuncs` is never used [INFO] [stdout] --> src/lexer.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait LErrorFuncs [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | UnexpectedToken(Type) [INFO] [stdout] | --------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | UnexpectedToken(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | NoSuchVar(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | NoSuchVar(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | IndexOutOfBounds(usize) [INFO] [stdout] | ---------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | IndexOutOfBounds(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `out_of_bounds` is never used [INFO] [stdout] --> src/ast.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait AstErrorFuncs [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn out_of_bounds(index: usize) -> AstError; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | ... parser.AST.go_through(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = parser.AST.go_through(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `varName` should have a snake case name [INFO] [stdout] --> src/imp.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | fn no_var(varName: String) -> AstError [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `var_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/imp.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | / match i { [INFO] [stdout] 333 | | Type::VarName => self.i_variable(), [INFO] [stdout] 334 | | Type::K_PRINT => self.i_print(), [INFO] [stdout] 335 | | _ => return Err(AstError::no_var("".to_string())) // we shouldn't have a problem. [INFO] [stdout] 336 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = match i { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AST` should have a snake case name [INFO] [stdout] --> src/parser.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub AST: Ast [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `varName` should have a snake case name [INFO] [stdout] --> src/ast.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | fn no_var(varName: String) -> AstError; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `var_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "9849b07da7515c02f293a9515a2098af1d460c8e7e4ca3709fd0d0ba65352574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9849b07da7515c02f293a9515a2098af1d460c8e7e4ca3709fd0d0ba65352574", kill_on_drop: false }` [INFO] [stdout] 9849b07da7515c02f293a9515a2098af1d460c8e7e4ca3709fd0d0ba65352574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a629f96bbef85e815ebccfd249addf6a47555c57b8585683871ff55467004ef [INFO] running `Command { std: "docker" "start" "-a" "5a629f96bbef85e815ebccfd249addf6a47555c57b8585683871ff55467004ef", kill_on_drop: false }` [INFO] [stderr] Compiling jpg_decoder_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/imp.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | if(c == '"') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 166 - if(c == '"') [INFO] [stdout] 166 + if c == '"' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... Ok(mut p) => { [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: field `is_valid` is never read [INFO] [stdout] --> src/starter.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FileInfo [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub is_valid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/starter.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | NoSuchDir(io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | NoSuchDir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/starter.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | NoSuchFile(PathBuf), [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | NoSuchFile(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/starter.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | CreateFileErr(PathBuf) [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | CreateFileErr(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErrFuncs` is never used [INFO] [stdout] --> src/starter.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait ErrFuncs [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | TokenErr(Type) [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | TokenErr(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LErrorFuncs` is never used [INFO] [stdout] --> src/lexer.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait LErrorFuncs [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | UnexpectedToken(Type) [INFO] [stdout] | --------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | UnexpectedToken(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | NoSuchVar(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | NoSuchVar(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | IndexOutOfBounds(usize) [INFO] [stdout] | ---------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | IndexOutOfBounds(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `out_of_bounds` is never used [INFO] [stdout] --> src/ast.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait AstErrorFuncs [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn out_of_bounds(index: usize) -> AstError; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | ... parser.AST.go_through(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = parser.AST.go_through(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `varName` should have a snake case name [INFO] [stdout] --> src/imp.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | fn no_var(varName: String) -> AstError [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `var_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/imp.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | / match i { [INFO] [stdout] 333 | | Type::VarName => self.i_variable(), [INFO] [stdout] 334 | | Type::K_PRINT => self.i_print(), [INFO] [stdout] 335 | | _ => return Err(AstError::no_var("".to_string())) // we shouldn't have a problem. [INFO] [stdout] 336 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = match i { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AST` should have a snake case name [INFO] [stdout] --> src/parser.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub AST: Ast [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `varName` should have a snake case name [INFO] [stdout] --> src/ast.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | fn no_var(varName: String) -> AstError; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `var_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "5a629f96bbef85e815ebccfd249addf6a47555c57b8585683871ff55467004ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a629f96bbef85e815ebccfd249addf6a47555c57b8585683871ff55467004ef", kill_on_drop: false }` [INFO] [stdout] 5a629f96bbef85e815ebccfd249addf6a47555c57b8585683871ff55467004ef