[INFO] updating cached repository https://github.com/OscarBrink/D7050E-simple-expr-parser [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8e881b952ca09eaef864a46306278fec5ecad7dc [INFO] testing OscarBrink/D7050E-simple-expr-parser against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarBrink%2FD7050E-simple-expr-parser" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OscarBrink/D7050E-simple-expr-parser on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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 /workspace/builds/worker-12/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b177578b545c281809e844e9ecb4ccf63319abc2e6b33892772ad1fd252764b0 [INFO] running `"docker" "start" "-a" "b177578b545c281809e844e9ecb4ccf63319abc2e6b33892772ad1fd252764b0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [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[E0433]: failed to resolve: use of undeclared type or module `expr` [INFO] [stderr] --> src/interpreter.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | args: Vec, [INFO] [stderr] | ^^^^ use of undeclared type or module `expr` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `statements` in this scope [INFO] [stderr] --> src/interpreter.rs:31:29 [INFO] [stderr] | [INFO] [stderr] 31 | statements: statements, [INFO] [stderr] | ^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `expression` in this scope [INFO] [stderr] --> src/interpreter.rs:60:15 [INFO] [stderr] | [INFO] [stderr] 60 | match expression { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [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[E0425]: cannot find value `new_op` in this scope [INFO] [stderr] --> src/parser/expression.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | if new_op.precedence() > old_struct.operator.precedence() { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0023]: this pattern has 4 fields, but the corresponding tuple variant has 1 field [INFO] [stderr] --> src/interpreter.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if let ast::block::Block::Function(_, _, _, _) = function { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 4 [INFO] [stderr] | [INFO] [stderr] ::: src/ast/block.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | Function(Function), [INFO] [stderr] | ------------------ tuple variant defined here [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | / if let ast::block::Block::Function(_, _, _, _) = function { [INFO] [stderr] 28 | | ExecutionBlock { [INFO] [stderr] 29 | | parent: None, [INFO] [stderr] 30 | | stack: HashMap::new(), [INFO] [stderr] 31 | | statements: statements, [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_________^ expected struct `interpreter::ExecutionBlock`, found `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 36 | fn match_args_to_params( [INFO] [stderr] | -------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] ... [INFO] [stderr] 39 | ) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::collections::HashMap`, found `()` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::collections::HashMap` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:47:78 [INFO] [stderr] | [INFO] [stderr] 47 | ast::Statement::Expr(expression) => self.evaluate_expression(expression), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `ast::expr::Expr`, found struct `std::boxed::Box` [INFO] [stderr] | help: try using a variant of the expected enum: `ast::expr::Expr::Parenthesized(expression)` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `ast::expr::Expr` [INFO] [stderr] found struct `std::boxed::Box` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 53 | match expression { [INFO] [stderr] | ---------- this expression has type `ast::expr::Expr` [INFO] [stderr] 54 | ast::Statement::Expr(expression) => {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `ast::expr::Expr`, found enum `ast::Statement` [INFO] [stderr] [INFO] [stderr] error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field [INFO] [stderr] --> src/interpreter.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | ast::block::Block::Conditional(expression, statements) => {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2 [INFO] [stderr] | [INFO] [stderr] ::: src/ast/block.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Conditional(Conditional), [INFO] [stderr] | ------------------------ tuple variant defined here [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/parser/block/function.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | identifier: (t.1).0, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `ast::expr::Expr` [INFO] [stderr] | help: try using a conversion method: `(t.1).0.to_string()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 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" "b177578b545c281809e844e9ecb4ccf63319abc2e6b33892772ad1fd252764b0"` [INFO] running `"docker" "rm" "-f" "b177578b545c281809e844e9ecb4ccf63319abc2e6b33892772ad1fd252764b0"` [INFO] [stdout] b177578b545c281809e844e9ecb4ccf63319abc2e6b33892772ad1fd252764b0