[INFO] updating cached repository https://github.com/OscarBrink/D7050E-simple-expr-parser [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/OscarBrink/D7050E-simple-expr-parser [INFO] [stderr] a1b9f34..e02ffde master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e02ffded0fe6a710c2d0f8d0e564148efa429f48 [INFO] testing OscarBrink/D7050E-simple-expr-parser against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarBrink%2FD7050E-simple-expr-parser" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OscarBrink/D7050E-simple-expr-parser on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/OscarBrink/D7050E-simple-expr-parser [INFO] finished tweaking git repo https://github.com/OscarBrink/D7050E-simple-expr-parser [INFO] tweaked toml for git repo https://github.com/OscarBrink/D7050E-simple-expr-parser written to work/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/OscarBrink/D7050E-simple-expr-parser already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 8ddcfcd812b5fdbaad48838c7962021305bd5ff9c1145c68c9b42bcc141228a4 [INFO] running `"docker" "start" "-a" "8ddcfcd812b5fdbaad48838c7962021305bd5ff9c1145c68c9b42bcc141228a4"` [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Compiling stackvector v1.0.7 [INFO] [stderr] Compiling lexical-core v0.4.3 [INFO] [stderr] Compiling simple-expr-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `=` or `|`, found `}` [INFO] [stderr] --> src/interpreter.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | if let ast::block::Block::Function() [INFO] [stderr] | - expected one of `=` or `|` here [INFO] [stderr] 30 | } [INFO] [stderr] | ^ unexpected token [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `expr` [INFO] [stderr] --> src/interpreter.rs:32:91 [INFO] [stderr] | [INFO] [stderr] 32 | fn match_args_to_params(params : Vec<(ast::expr::Expr, ast::types::Type)>, args : Vec) -> HashMap { [INFO] [stderr] | ^^^^ use of undeclared type or module `expr` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `expression` in this scope [INFO] [stderr] --> src/interpreter.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | match expression { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::parser::expression::expression; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:32:107 [INFO] [stderr] | [INFO] [stderr] 32 | fn match_args_to_params(params : Vec<(ast::expr::Expr, ast::types::Type)>, args : Vec) -> HashMap { [INFO] [stderr] | -------------------- implicitly returns `()` as its body has no tail or `return` expression ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::collections::HashMap`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::collections::HashMap` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:38:74 [INFO] [stderr] | [INFO] [stderr] 38 | ast::Statement::Expr(expression) => self.evaluate_expression(expression), [INFO] [stderr] | ^^^^^^^^^^ expected enum `ast::expr::Expr`, found struct `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: expected type `ast::expr::Expr` [INFO] [stderr] found type `std::boxed::Box` [INFO] [stderr] help: try using a variant of the expected type [INFO] [stderr] | [INFO] [stderr] 38 | ast::Statement::Expr(expression) => self.evaluate_expression(ast::expr::Expr::Parenthesized(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 38 | ast::Statement::Expr(expression) => self.evaluate_expression(ast::expr::Expr::Return(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 43 | match expression { [INFO] [stderr] | ---------- this match expression has type `ast::expr::Expr` [INFO] [stderr] 44 | ast::Statement::Expr(expression) => {}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `ast::expr::Expr`, found enum `ast::Statement` [INFO] [stderr] | [INFO] [stderr] = note: expected type `ast::expr::Expr` [INFO] [stderr] found type `ast::Statement` [INFO] [stderr] [INFO] [stderr] error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields [INFO] [stderr] --> src/interpreter.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | ast::block::Block::Conditional(expression, statements) => {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 fields, found 2 [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0023, E0308, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0023`. [INFO] [stderr] error: Could not compile `simple-expr-parser`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8ddcfcd812b5fdbaad48838c7962021305bd5ff9c1145c68c9b42bcc141228a4"` [INFO] running `"docker" "rm" "-f" "8ddcfcd812b5fdbaad48838c7962021305bd5ff9c1145c68c9b42bcc141228a4"` [INFO] [stdout] 8ddcfcd812b5fdbaad48838c7962021305bd5ff9c1145c68c9b42bcc141228a4