[INFO] cloning repository https://github.com/Ed-Visinheski/calculator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ed-Visinheski/calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEd-Visinheski%2Fcalculator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEd-Visinheski%2Fcalculator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 52a480fc00396d41b9a3d79c7b74d4ab27a1e89e
[INFO] checking Ed-Visinheski/calculator against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEd-Visinheski%2Fcalculator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ed-Visinheski/calculator
[INFO] finished tweaking git repo https://github.com/Ed-Visinheski/calculator
[INFO] tweaked toml for git repo https://github.com/Ed-Visinheski/calculator written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ed-Visinheski/calculator on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ed-Visinheski/calculator 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking Ed-Visinheski/calculator against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEd-Visinheski%2Fcalculator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ed-Visinheski/calculator
[INFO] finished tweaking git repo https://github.com/Ed-Visinheski/calculator
[INFO] tweaked toml for git repo https://github.com/Ed-Visinheski/calculator written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ed-Visinheski/calculator on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ed-Visinheski/calculator 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70
[INFO] running `Command { std: "docker" "start" "b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking calculator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `Vec`
[INFO] [stdout]    --> src/calculator.rs:105:23
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let mut stack Vec<f32> = Vec::new();
[INFO] [stdout]     |                       ^^^ expected one of `:`, `;`, `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `Vec`
[INFO] [stdout]    --> src/calculator.rs:105:23
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let mut stack Vec<f32> = Vec::new();
[INFO] [stdout]     |                       ^^^ expected one of `:`, `;`, `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]  --> src/main.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     println!("{:?}", tokens);
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]  --> src/main.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     println!("{:?}", tokens);
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]  --> src/main.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let expr = calculator::Calculator::expression(tokens.unwrap());
[INFO] [stdout]   |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]  --> src/main.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let expr = calculator::Calculator::expression(tokens.unwrap());
[INFO] [stdout]   |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/calculator.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |       pub fn parse<T :AsRef<str>>(expr: T) -> Result<Vec<Token>, Error>{
[INFO] [stdout]    |                                               ------------------------- expected `Result<Vec<Token>, calculator::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 30 | /         for c in chars {
[INFO] [stdout] 31 | |             match c {
[INFO] [stdout] 32 | |                 '0'..='9' => match tokens.last_mut() {
[INFO] [stdout] 33 | |                     Some(Token::Number(n)) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             return Ok(tokens);
[INFO] [stdout] 68 | |         }
[INFO] [stdout]    | |_________^ expected `Result<Vec<Token>, Error>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Vec<Token>, calculator::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 68 ~         }
[INFO] [stdout] 69 +         Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/calculator.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |       pub fn parse<T :AsRef<str>>(expr: T) -> Result<Vec<Token>, Error>{
[INFO] [stdout]    |                                               ------------------------- expected `Result<Vec<Token>, calculator::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 30 | /         for c in chars {
[INFO] [stdout] 31 | |             match c {
[INFO] [stdout] 32 | |                 '0'..='9' => match tokens.last_mut() {
[INFO] [stdout] 33 | |                     Some(Token::Number(n)) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             return Ok(tokens);
[INFO] [stdout] 68 | |         }
[INFO] [stdout]    | |_________^ expected `Result<Vec<Token>, Error>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Vec<Token>, calculator::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 68 ~         }
[INFO] [stdout] 69 +         Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[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.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `calculator` (bin "calculator") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `calculator` (bin "calculator" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70", kill_on_drop: false }`
[INFO] [stdout] b09821e71c5ffeb1cf2d8335cf79842ec210674403945373676aa13ecd4add70
