[INFO] cloning repository https://github.com/tsatow/toys
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsatow/toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsatow%2Ftoys", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsatow%2Ftoys'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0e56e919724815292808d492cc0c8c1eb5ab371
[INFO] checking tsatow/toys against try#1c4199da70f816f2239f41c55168ff75a3663718 for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsatow%2Ftoys" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tsatow/toys
[INFO] finished tweaking git repo https://github.com/tsatow/toys
[INFO] tweaked toml for git repo https://github.com/tsatow/toys written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tsatow/toys on toolchain 1c4199da70f816f2239f41c55168ff75a3663718
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tsatow/toys 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" "+1c4199da70f816f2239f41c55168ff75a3663718" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b78f201c085eb0443f1ba4141664dae7f70c6f6ec8b1dace2b4ffcff7e07f2e
[INFO] running `Command { std: "docker" "start" "-a" "6b78f201c085eb0443f1ba4141664dae7f70c6f6ec8b1dace2b4ffcff7e07f2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b78f201c085eb0443f1ba4141664dae7f70c6f6ec8b1dace2b4ffcff7e07f2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b78f201c085eb0443f1ba4141664dae7f70c6f6ec8b1dace2b4ffcff7e07f2e", kill_on_drop: false }`
[INFO] [stdout] 6b78f201c085eb0443f1ba4141664dae7f70c6f6ec8b1dace2b4ffcff7e07f2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea714a3bf05f85e477023675612bf977ac0ad1753755827999f8693b4bdf8f33
[INFO] running `Command { std: "docker" "start" "-a" "ea714a3bf05f85e477023675612bf977ac0ad1753755827999f8693b4bdf8f33", kill_on_drop: false }`
[INFO] [stderr]     Checking toys v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `add`, `divide`, `integer`, `multiply`, and `subtract`
[INFO] [stdout]  --> src/interpreter.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{add, divide, integer, multiply, subtract, Environment, Expression, Operator, Program, TopLevel, Value};
[INFO] [stdout]   |                  ^^^  ^^^^^^  ^^^^^^^  ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::panic::panic_any`
[INFO] [stdout]  --> src/interpreter.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::panic::panic_any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/interpreter.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |             FunctionCall { name, args } => todo!(),
[INFO] [stdout]    |                            ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/interpreter.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |             FunctionCall { name, args } => todo!(),
[INFO] [stdout]    |                                  ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ValueExp` is never used
[INFO] [stdout]   --> src/ast.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl<'a> Expression<'a> {
[INFO] [stdout]    | ----------------------- associated constant in this implementation
[INFO] [stdout] 43 |     const ValueExp: Expression<'static> = ValueExpression(1);
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interpreter` is never constructed
[INFO] [stdout]  --> src/interpreter.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Interpreter<'a> {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `call_main` and `interpret` are never used
[INFO] [stdout]   --> src/interpreter.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<'a> Interpreter<'a> {
[INFO] [stdout]    | ------------------------ methods in this implementation
[INFO] [stdout] 14 |     pub fn call_main(&mut self, program: &'a Program) -> Value {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn interpret(&mut self, expression: &'a Expression<'a>) -> Value {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ValueExp` should have an upper case name
[INFO] [stdout]   --> src/ast.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 |     const ValueExp: Expression<'static> = ValueExpression(1);
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper case: `VALUE_EXP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `topLevels` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let topLevels = program.definitions;
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `top_levels`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `topLevel` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for topLevel in topLevels {
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `top_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `divide`, `multiply`, and `subtract`
[INFO] [stdout]  --> src/interpreter.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{add, divide, integer, multiply, subtract, Environment, Expression, Operator, Program, TopLevel, Value};
[INFO] [stdout]   |                       ^^^^^^           ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::panic::panic_any`
[INFO] [stdout]  --> src/interpreter.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::panic::panic_any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]  --> src/main.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Tree::new(Tree::)
[INFO] [stdout]   |                     ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `println`
[INFO] [stdout]  --> src/main.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Tree::new(Tree::)
[INFO] [stdout]   |                      ^ help: add `;` here
[INFO] [stdout] 5 |     println!("Hello, world!");
[INFO] [stdout]   |     ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `toys::tree`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use toys::tree::Tree;
[INFO] [stdout]   |           ^^^^ could not find `tree` in `toys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/interpreter.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |             FunctionCall { name, args } => todo!(),
[INFO] [stdout]    |                            ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/interpreter.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |             FunctionCall { name, args } => todo!(),
[INFO] [stdout]    |                                  ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ValueExp` is never used
[INFO] [stdout]   --> src/ast.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl<'a> Expression<'a> {
[INFO] [stdout]    | ----------------------- associated constant in this implementation
[INFO] [stdout] 43 |     const ValueExp: Expression<'static> = ValueExpression(1);
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `function_environment` is never read
[INFO] [stdout]   --> src/interpreter.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Interpreter<'a> {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout]  9 |     environment: Environment<'a>,
[INFO] [stdout] 10 |     function_environment: HashMap<&'a str, &'a TopLevel<'a>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call_main` is never used
[INFO] [stdout]   --> src/interpreter.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<'a> Interpreter<'a> {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] 14 |     pub fn call_main(&mut self, program: &'a Program) -> Value {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ValueExp` should have an upper case name
[INFO] [stdout]   --> src/ast.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 |     const ValueExp: Expression<'static> = ValueExpression(1);
[INFO] [stdout]    |           ^^^^^^^^ help: convert the identifier to upper case: `VALUE_EXP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `topLevels` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let topLevels = program.definitions;
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `top_levels`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `topLevel` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for topLevel in topLevels {
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `top_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `toys` (bin "toys") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]  --> src/main.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Tree::new(Tree::)
[INFO] [stdout]   |                     ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `println`
[INFO] [stdout]  --> src/main.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Tree::new(Tree::)
[INFO] [stdout]   |                      ^ help: add `;` here
[INFO] [stdout] 5 |     println!("Hello, world!");
[INFO] [stdout]   |     ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `toys::tree`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use toys::tree::Tree;
[INFO] [stdout]   |           ^^^^ could not find `tree` in `toys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `toys` (bin "toys" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "ea714a3bf05f85e477023675612bf977ac0ad1753755827999f8693b4bdf8f33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea714a3bf05f85e477023675612bf977ac0ad1753755827999f8693b4bdf8f33", kill_on_drop: false }`
[INFO] [stdout] ea714a3bf05f85e477023675612bf977ac0ad1753755827999f8693b4bdf8f33
