[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] testing meganehouser/loris against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeganehouser%2Floris" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/meganehouser/loris on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "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-8/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" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e75c9601821a9a8ac35d2f6b7b1cc01def347565bad631a6b5658f78b2f2b5d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2e75c9601821a9a8ac35d2f6b7b1cc01def347565bad631a6b5658f78b2f2b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e75c9601821a9a8ac35d2f6b7b1cc01def347565bad631a6b5658f78b2f2b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e75c9601821a9a8ac35d2f6b7b1cc01def347565bad631a6b5658f78b2f2b5d", kill_on_drop: false }`
[INFO] [stdout] 2e75c9601821a9a8ac35d2f6b7b1cc01def347565bad631a6b5658f78b2f2b5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d69ca0028dc7d93aba8a673f807a47786ddaf0111830d4432751f097ae96b8ea
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d69ca0028dc7d93aba8a673f807a47786ddaf0111830d4432751f097ae96b8ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.18
[INFO] [stderr]    Compiling libc v0.2.42
[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 quote v0.6.5
[INFO] [stderr]    Compiling users v0.7.0
[INFO] [stderr]    Compiling syn v0.14.7
[INFO] [stderr]    Compiling backtrace-sys v0.1.23
[INFO] [stderr]    Compiling backtrace v0.3.9
[INFO] [stderr]    Compiling synstructure v0.9.0
[INFO] [stderr]    Compiling failure_derive v0.1.2
[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<char> = {
[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<Box<Expression>>,
[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<Box<Expression>>,
[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 21.15s
[INFO] running `Command { std: "docker" "inspect" "d69ca0028dc7d93aba8a673f807a47786ddaf0111830d4432751f097ae96b8ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d69ca0028dc7d93aba8a673f807a47786ddaf0111830d4432751f097ae96b8ea", kill_on_drop: false }`
[INFO] [stdout] d69ca0028dc7d93aba8a673f807a47786ddaf0111830d4432751f097ae96b8ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d562367ec159bf2410472bec03c3fa457114d025f1c72879b653ffc3186e7661
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d562367ec159bf2410472bec03c3fa457114d025f1c72879b653ffc3186e7661", 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<char> = {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[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 1.51s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/loris-9a36b7f6b9127c9d)
[INFO] running `Command { std: "docker" "inspect" "d562367ec159bf2410472bec03c3fa457114d025f1c72879b653ffc3186e7661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d562367ec159bf2410472bec03c3fa457114d025f1c72879b653ffc3186e7661", kill_on_drop: false }`
[INFO] [stdout] d562367ec159bf2410472bec03c3fa457114d025f1c72879b653ffc3186e7661
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ff64c53aa43cbbcec5372f99f0ac1e7d69c5f79d0ffdfe74bac1405377abd7cd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ff64c53aa43cbbcec5372f99f0ac1e7d69c5f79d0ffdfe74bac1405377abd7cd", kill_on_drop: false }`
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/main.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]  --> src/parser.rs:5:15
[INFO] [stderr]   |
[INFO] [stderr] 5 | use failure::{Error, Fail};
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> src/token.rs:4:1
[INFO] [stderr]    |
[INFO] [stderr] 4  | / lazy_static! {
[INFO] [stderr] 5  | |     static ref KEYWORDS: HashMap<&'static str, Token> ={
[INFO] [stderr] 6  | |         let mut keywords = HashMap::new();
[INFO] [stderr] 7  | |         keywords.insert("let", Token::Let);
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     };
[INFO] [stderr] 16 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]  --> src/lexer.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | / lazy_static! {
[INFO] [stderr] 6 | |     static ref SKIP_CHARS: Vec<char> = {
[INFO] [stderr] 7 | |         vec![' ', '\t', '\n', '\r']
[INFO] [stderr] 8 | |     };
[INFO] [stderr] 9 | | }
[INFO] [stderr]   | |_^
[INFO] [stderr]   |
[INFO] [stderr]   = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning[E0170]: pattern binding `Illegal` is named the same as one of the variants of the type `Statement`
[INFO] [stderr]   --> src/ast.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |             Illegal => write!(f, "Illegal()"),
[INFO] [stderr]    |             ^^^^^^^ help: to match on the variant, qualify the path: `Statement::Illegal`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bindings_with_variant_name)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/ast.rs:39:24
[INFO] [stderr]    |
[INFO] [stderr] 39 |                 value: v,
[INFO] [stderr]    |                        ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/ast.rs:41:50
[INFO] [stderr]    |
[INFO] [stderr] 41 |             Statement::Return { token: t, value: v } => write!(f, "Return(token:{}, value:)", t), //, v)
[INFO] [stderr]    |                                                  ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `Illegal`
[INFO] [stderr]   --> src/ast.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |             Illegal => write!(f, "Illegal()"),
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Illegal`
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Identifier`
[INFO] [stderr]   --> src/ast.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     Identifier { token: token::Token, value: String },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/ast.rs:28:10
[INFO] [stderr]    |
[INFO] [stderr] 28 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/parser.rs:176:20
[INFO] [stderr]     |
[INFO] [stderr] 176 |             panic!(message);
[INFO] [stderr]     |                    ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 176 |             panic!("{}", message);
[INFO] [stderr]     |                    +++++
[INFO] [stderr] 
[INFO] [stderr] warning: variable `Illegal` should have a snake case name
[INFO] [stderr]   --> src/ast.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |             Illegal => write!(f, "Illegal()"),
[INFO] [stderr]    |             ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `illegal`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0170`.
[INFO] [stderr] warning: `loris` (bin "loris" test) generated 11 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/loris-9a36b7f6b9127c9d)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test parser::parser_test::test_let_statements ... ok
[INFO] [stdout] test parser::parser_test::test_return_statements ... ok
[INFO] [stdout] test lexer::text_lexer::test_next_token ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ff64c53aa43cbbcec5372f99f0ac1e7d69c5f79d0ffdfe74bac1405377abd7cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff64c53aa43cbbcec5372f99f0ac1e7d69c5f79d0ffdfe74bac1405377abd7cd", kill_on_drop: false }`
[INFO] [stdout] ff64c53aa43cbbcec5372f99f0ac1e7d69c5f79d0ffdfe74bac1405377abd7cd
