[INFO] cloning repository https://github.com/meganehouser/loris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meganehouser/loris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeganehouser%2Floris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeganehouser%2Floris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2090eea589d09b8ea1476b0b490f281e91badb36 [INFO] building meganehouser/loris against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeganehouser%2Floris" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/meganehouser/loris on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meganehouser/loris [INFO] finished tweaking git repo https://github.com/meganehouser/loris [INFO] tweaked toml for git repo https://github.com/meganehouser/loris written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/meganehouser/loris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5eac2fe183a41db80e25f7c2ad806df4a5f454a221d1b68c9b0b501e61804c5 [INFO] running `Command { std: "docker" "start" "-a" "d5eac2fe183a41db80e25f7c2ad806df4a5f454a221d1b68c9b0b501e61804c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5eac2fe183a41db80e25f7c2ad806df4a5f454a221d1b68c9b0b501e61804c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5eac2fe183a41db80e25f7c2ad806df4a5f454a221d1b68c9b0b501e61804c5", kill_on_drop: false }` [INFO] [stdout] d5eac2fe183a41db80e25f7c2ad806df4a5f454a221d1b68c9b0b501e61804c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee89114b6aff869546a25294c1a2bc35301bb0d56247afb2f1568992a4f9a395 [INFO] running `Command { std: "docker" "start" "-a" "ee89114b6aff869546a25294c1a2bc35301bb0d56247afb2f1568992a4f9a395", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling users v0.7.0 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling loris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/parser.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::{Error, Fail}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/token.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref KEYWORDS: HashMap<&'static str, Token> ={ [INFO] [stdout] 6 | | let mut keywords = HashMap::new(); [INFO] [stdout] 7 | | keywords.insert("let", Token::Let); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref SKIP_CHARS: Vec = { [INFO] [stdout] 7 | | vec![' ', '\t', '\n', '\r'] [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Illegal` is named the same as one of the variants of the type `Statement` [INFO] [stdout] --> src/ast.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Illegal => write!(f, "Illegal()"), [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `Statement::Illegal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ast.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | value: v, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ast.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | Statement::Return { token: t, value: v } => write!(f, "Return(token:{}, value:)", t), //, v) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Illegal` [INFO] [stdout] --> src/ast.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Illegal => write!(f, "Illegal()"), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Illegal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Program` [INFO] [stdout] --> src/ast.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / Let { [INFO] [stdout] 17 | | token: token::Token, [INFO] [stdout] 18 | | name: String, [INFO] [stdout] 19 | | value: Option>, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Return { [INFO] [stdout] 22 | | token: token::Token, [INFO] [stdout] 23 | | value: Option>, [INFO] [stdout] 24 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Illegal` [INFO] [stdout] --> src/ast.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Identifier { token: token::Token, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(lxr: Lexer<'a>) -> Parser<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_token` [INFO] [stdout] --> src/parser.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_program` [INFO] [stdout] --> src/parser.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_program(&mut self) -> ast::Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_statement` [INFO] [stdout] --> src/parser.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_statement(&mut self) -> ast::Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_err` [INFO] [stdout] --> src/parser.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn push_err(&mut self, expected: Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_let_statement` [INFO] [stdout] --> src/parser.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn parse_let_statement(&mut self) -> ast::Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_return_statement` [INFO] [stdout] --> src/parser.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn parse_return_statement(&mut self) -> ast::Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Illegal` should have a snake case name [INFO] [stdout] --> src/ast.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Illegal => write!(f, "Illegal()"), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `illegal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.28s [INFO] running `Command { std: "docker" "inspect" "ee89114b6aff869546a25294c1a2bc35301bb0d56247afb2f1568992a4f9a395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee89114b6aff869546a25294c1a2bc35301bb0d56247afb2f1568992a4f9a395", kill_on_drop: false }` [INFO] [stdout] ee89114b6aff869546a25294c1a2bc35301bb0d56247afb2f1568992a4f9a395 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cb3ad0917ae8bcab97b1435a6860606907ff6bbf9e3f31a664b415afe03dfdc [INFO] running `Command { std: "docker" "start" "-a" "4cb3ad0917ae8bcab97b1435a6860606907ff6bbf9e3f31a664b415afe03dfdc", kill_on_drop: false }` [INFO] [stderr] Compiling loris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/parser.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::{Error, Fail}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/token.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref KEYWORDS: HashMap<&'static str, Token> ={ [INFO] [stdout] 6 | | let mut keywords = HashMap::new(); [INFO] [stdout] 7 | | keywords.insert("let", Token::Let); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref SKIP_CHARS: Vec = { [INFO] [stdout] 7 | | vec![' ', '\t', '\n', '\r'] [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Illegal` is named the same as one of the variants of the type `Statement` [INFO] [stdout] --> src/ast.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Illegal => write!(f, "Illegal()"), [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `Statement::Illegal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ast.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | value: v, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ast.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | Statement::Return { token: t, value: v } => write!(f, "Return(token:{}, value:)", t), //, v) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Illegal` [INFO] [stdout] --> src/ast.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Illegal => write!(f, "Illegal()"), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Illegal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/ast.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Identifier { token: token::Token, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | panic!(message); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 176 | panic!("{}", message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Illegal` should have a snake case name [INFO] [stdout] --> src/ast.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Illegal => write!(f, "Illegal()"), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `illegal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.69s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/loris-0aa4cb54fbc85644) [INFO] running `Command { std: "docker" "inspect" "4cb3ad0917ae8bcab97b1435a6860606907ff6bbf9e3f31a664b415afe03dfdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb3ad0917ae8bcab97b1435a6860606907ff6bbf9e3f31a664b415afe03dfdc", kill_on_drop: false }` [INFO] [stdout] 4cb3ad0917ae8bcab97b1435a6860606907ff6bbf9e3f31a664b415afe03dfdc