[INFO] cloning repository https://github.com/CatFoxMiao/kaleidoscope_rust_try
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CatFoxMiao/kaleidoscope_rust_try" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatFoxMiao%2Fkaleidoscope_rust_try", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatFoxMiao%2Fkaleidoscope_rust_try'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 285aa9e1a9eb11c85242396097a708a1b18ca95b
[INFO] checking CatFoxMiao/kaleidoscope_rust_try against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatFoxMiao%2Fkaleidoscope_rust_try" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CatFoxMiao/kaleidoscope_rust_try
[INFO] finished tweaking git repo https://github.com/CatFoxMiao/kaleidoscope_rust_try
[INFO] tweaked toml for git repo https://github.com/CatFoxMiao/kaleidoscope_rust_try written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CatFoxMiao/kaleidoscope_rust_try on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CatFoxMiao/kaleidoscope_rust_try 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 79d0505c6ac0ac4c692b270b191369b79ea898a2146908ba21b51e1cfc8cc6a0
[INFO] running `Command { std: "docker" "start" "-a" "79d0505c6ac0ac4c692b270b191369b79ea898a2146908ba21b51e1cfc8cc6a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79d0505c6ac0ac4c692b270b191369b79ea898a2146908ba21b51e1cfc8cc6a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79d0505c6ac0ac4c692b270b191369b79ea898a2146908ba21b51e1cfc8cc6a0", kill_on_drop: false }`
[INFO] [stdout] 79d0505c6ac0ac4c692b270b191369b79ea898a2146908ba21b51e1cfc8cc6a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0bd26564201df426d748526bca270ec61a3e197a625ad19ff57b5e783beead8f
[INFO] running `Command { std: "docker" "start" "-a" "0bd26564201df426d748526bca270ec61a3e197a625ad19ff57b5e783beead8f", kill_on_drop: false }`
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking kaleidoscope v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `{`, found keyword `break`
[INFO] [stdout]    --> src/lib.rs:476:49
[INFO] [stdout]     |
[INFO] [stdout] 476 |                         if (self.curtok == ')') break;
[INFO] [stdout]     |                                                 ^^^^^ expected `{`
[INFO] [stdout]     |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]    --> src/lib.rs:476:28
[INFO] [stdout]     |
[INFO] [stdout] 476 |                         if (self.curtok == ')') break;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you might have meant to write this as part of a block
[INFO] [stdout]     |
[INFO] [stdout] 476 |                         if (self.curtok == ')') { break };
[INFO] [stdout]     |                                                 +       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found keyword `break`
[INFO] [stdout]    --> src/lib.rs:476:49
[INFO] [stdout]     |
[INFO] [stdout] 476 |                         if (self.curtok == ')') break;
[INFO] [stdout]     |                                                 ^^^^^ expected `{`
[INFO] [stdout]     |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]    --> src/lib.rs:476:28
[INFO] [stdout]     |
[INFO] [stdout] 476 |                         if (self.curtok == ')') break;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you might have meant to write this as part of a block
[INFO] [stdout]     |
[INFO] [stdout] 476 |                         if (self.curtok == ')') { break };
[INFO] [stdout]     |                                                 +       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Name` in this scope
[INFO] [stdout]    --> src/lib.rs:468:62
[INFO] [stdout]     |
[INFO] [stdout] 468 |             Token::Char('(') => Rc::new(VariableExprAST::new(Name)),
[INFO] [stdout]     |                                                              ^^^^ help: a local variable with a similar name exists: `name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found macro `vec`
[INFO] [stdout]    --> src/lib.rs:471:27
[INFO] [stdout]     |
[INFO] [stdout] 471 |                 let args: vec<Rc<dyn ExprAST>>;
[INFO] [stdout]     |                           ---^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           not a type
[INFO] [stdout]     |                           help: a struct with a similar name exists (notice the capitalization): `Vec`
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/f77b5bc6c7c84df104f86b0dd01d9490e3923fa8/library/alloc/src/vec/mod.rs:434:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `Vec` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/lib.rs:473:26
[INFO] [stdout]     |
[INFO] [stdout] 473 |                     while(1){
[INFO] [stdout]     |                          ^ ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 473 -                     while(1){
[INFO] [stdout] 473 +                     while 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Name` in this scope
[INFO] [stdout]    --> src/lib.rs:468:62
[INFO] [stdout]     |
[INFO] [stdout] 468 |             Token::Char('(') => Rc::new(VariableExprAST::new(Name)),
[INFO] [stdout]     |                                                              ^^^^ help: a local variable with a similar name exists: `name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found macro `vec`
[INFO] [stdout]    --> src/lib.rs:471:27
[INFO] [stdout]     |
[INFO] [stdout] 471 |                 let args: vec<Rc<dyn ExprAST>>;
[INFO] [stdout]     |                           ---^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           not a type
[INFO] [stdout]     |                           help: a struct with a similar name exists (notice the capitalization): `Vec`
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/f77b5bc6c7c84df104f86b0dd01d9490e3923fa8/library/alloc/src/vec/mod.rs:434:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `Vec` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/lib.rs:473:26
[INFO] [stdout]     |
[INFO] [stdout] 473 |                     while(1){
[INFO] [stdout]     |                          ^ ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 473 -                     while(1){
[INFO] [stdout] 473 +                     while 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:472:35
[INFO] [stdout]     |
[INFO] [stdout] 472 |                 if self.curtok != ')'  {
[INFO] [stdout]     |                    -----------    ^^^ expected `Token`, found `char`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    expected because this is `Token`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `Token::Char`
[INFO] [stdout]     |
[INFO] [stdout] 472 |                 if self.curtok != Token::Char(')')  {
[INFO] [stdout]     |                                   ++++++++++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:472:35
[INFO] [stdout]     |
[INFO] [stdout] 472 |                 if self.curtok != ')'  {
[INFO] [stdout]     |                    -----------    ^^^ expected `Token`, found `char`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    expected because this is `Token`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `Token::Char`
[INFO] [stdout]     |
[INFO] [stdout] 472 |                 if self.curtok != Token::Char(')')  {
[INFO] [stdout]     |                                   ++++++++++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:473:26
[INFO] [stdout]     |
[INFO] [stdout] 473 |                     while(1){
[INFO] [stdout]     |                          ^^^ expected `bool`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:473:26
[INFO] [stdout]     |
[INFO] [stdout] 473 |                     while(1){
[INFO] [stdout]     |                          ^^^ expected `bool`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse_expression` found for mutable reference `&mut ASTParser<R>` in the current scope
[INFO] [stdout]    --> src/lib.rs:475:40
[INFO] [stdout]     |
[INFO] [stdout] 475 |                         let arg = self.parse_expression();
[INFO] [stdout]     |                                   -----^^^^^^^^^^^^^^^^--
[INFO] [stdout]     |                                   |    |
[INFO] [stdout]     |                                   |    this is an associated function, not a method
[INFO] [stdout]     |                                   help: use associated function syntax instead: `ASTParser::<R>::parse_expression()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `ASTParser<R>`
[INFO] [stdout]    --> src/lib.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 451 |     pub fn parse_expression() -> Rc<dyn ExprAST>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse_expression` found for mutable reference `&mut ASTParser<R>` in the current scope
[INFO] [stdout]    --> src/lib.rs:475:40
[INFO] [stdout]     |
[INFO] [stdout] 475 |                         let arg = self.parse_expression();
[INFO] [stdout]     |                                   -----^^^^^^^^^^^^^^^^--
[INFO] [stdout]     |                                   |    |
[INFO] [stdout]     |                                   |    this is an associated function, not a method
[INFO] [stdout]     |                                   help: use associated function syntax instead: `ASTParser::<R>::parse_expression()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `ASTParser<R>`
[INFO] [stdout]    --> src/lib.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 451 |     pub fn parse_expression() -> Rc<dyn ExprAST>{
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:473:21
[INFO] [stdout]     |
[INFO] [stdout] 473 | /                     while(1){
[INFO] [stdout] 474 | |                         
[INFO] [stdout] 475 | |                         let arg = self.parse_expression();
[INFO] [stdout] 476 | |                         if (self.curtok == ')') break;
[INFO] [stdout] ...   |
[INFO] [stdout] 479 | |                     }
[INFO] [stdout]     | |_____________________^ expected `Rc<dyn ExprAST>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Rc<(dyn ExprAST + 'static)>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = note: `while` loops evaluate to unit type `()`
[INFO] [stdout] help: consider returning a value here
[INFO] [stdout]     |
[INFO] [stdout] 479 ~                     }
[INFO] [stdout] 480 +                     /* `Rc<(dyn ExprAST + 'static)>` value */
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:473:21
[INFO] [stdout]     |
[INFO] [stdout] 473 | /                     while(1){
[INFO] [stdout] 474 | |                         
[INFO] [stdout] 475 | |                         let arg = self.parse_expression();
[INFO] [stdout] 476 | |                         if (self.curtok == ')') break;
[INFO] [stdout] ...   |
[INFO] [stdout] 479 | |                     }
[INFO] [stdout]     | |_____________________^ expected `Rc<dyn ExprAST>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::rc::Rc<(dyn ExprAST + 'static)>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = note: `while` loops evaluate to unit type `()`
[INFO] [stdout] help: consider returning a value here
[INFO] [stdout]     |
[INFO] [stdout] 479 ~                     }
[INFO] [stdout] 480 +                     /* `std::rc::Rc<(dyn ExprAST + 'static)>` value */
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0573, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0573, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kaleidoscope` (lib test) due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `kaleidoscope` (lib) due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0bd26564201df426d748526bca270ec61a3e197a625ad19ff57b5e783beead8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bd26564201df426d748526bca270ec61a3e197a625ad19ff57b5e783beead8f", kill_on_drop: false }`
[INFO] [stdout] 0bd26564201df426d748526bca270ec61a3e197a625ad19ff57b5e783beead8f
