[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 master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEd-Visinheski%2Fcalculator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ed-Visinheski/calculator on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8243191e9d6168b7d80b1245a7f150abf09156529acb0d02893c20634e7bd01a
[INFO] running `Command { std: "docker" "start" "-a" "8243191e9d6168b7d80b1245a7f150abf09156529acb0d02893c20634e7bd01a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8243191e9d6168b7d80b1245a7f150abf09156529acb0d02893c20634e7bd01a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8243191e9d6168b7d80b1245a7f150abf09156529acb0d02893c20634e7bd01a", kill_on_drop: false }`
[INFO] [stdout] 8243191e9d6168b7d80b1245a7f150abf09156529acb0d02893c20634e7bd01a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2d5296dad300d69af01345791a99b6a2123678aeedfca3039471cc34af4ede4
[INFO] running `Command { std: "docker" "start" "-a" "e2d5296dad300d69af01345791a99b6a2123678aeedfca3039471cc34af4ede4", 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[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[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] 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: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] [stderr] error: could not compile `calculator` (bin "calculator") due to 4 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `calculator` (bin "calculator" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "e2d5296dad300d69af01345791a99b6a2123678aeedfca3039471cc34af4ede4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2d5296dad300d69af01345791a99b6a2123678aeedfca3039471cc34af4ede4", kill_on_drop: false }`
[INFO] [stdout] e2d5296dad300d69af01345791a99b6a2123678aeedfca3039471cc34af4ede4
