[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] checking meganehouser/loris against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeganehouser%2Floris" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/meganehouser/loris on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded syn v0.14.7 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded quote v0.6.5 [INFO] [stderr] Downloaded users v0.7.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.9 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0163960e6b81edbd8fb12783eaa6c65f92dcc3e463f9e0ab4e630f084c381bf1 [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" "0163960e6b81edbd8fb12783eaa6c65f92dcc3e463f9e0ab4e630f084c381bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0163960e6b81edbd8fb12783eaa6c65f92dcc3e463f9e0ab4e630f084c381bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0163960e6b81edbd8fb12783eaa6c65f92dcc3e463f9e0ab4e630f084c381bf1", kill_on_drop: false }` [INFO] [stdout] 0163960e6b81edbd8fb12783eaa6c65f92dcc3e463f9e0ab4e630f084c381bf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc24f919a6ebdb9711a8028adbd022cba449f31bc5c0f86c9e9345bf1115f717 [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" "dc24f919a6ebdb9711a8028adbd022cba449f31bc5c0f86c9e9345bf1115f717", kill_on_drop: false }` [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking users v0.7.0 [INFO] [stderr] Checking backtrace-sys v0.1.23 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking 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 `#[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: 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 a macro (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 a macro (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/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 a macro (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 a macro (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[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] [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] [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] [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] [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] [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] [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: 10 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 16.76s [INFO] running `Command { std: "docker" "inspect" "dc24f919a6ebdb9711a8028adbd022cba449f31bc5c0f86c9e9345bf1115f717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc24f919a6ebdb9711a8028adbd022cba449f31bc5c0f86c9e9345bf1115f717", kill_on_drop: false }` [INFO] [stdout] dc24f919a6ebdb9711a8028adbd022cba449f31bc5c0f86c9e9345bf1115f717