[INFO] cloning repository https://github.com/OscarBrink/D7050E-simple-expr-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OscarBrink/D7050E-simple-expr-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarBrink%2FD7050E-simple-expr-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarBrink%2FD7050E-simple-expr-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e881b952ca09eaef864a46306278fec5ecad7dc [INFO] checking OscarBrink/D7050E-simple-expr-parser against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarBrink%2FD7050E-simple-expr-parser" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OscarBrink/D7050E-simple-expr-parser on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-8/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e749722664401c3b7374c25534d13bc3617469c98d9c08ceda9727e119aecc9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e749722664401c3b7374c25534d13bc3617469c98d9c08ceda9727e119aecc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e749722664401c3b7374c25534d13bc3617469c98d9c08ceda9727e119aecc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e749722664401c3b7374c25534d13bc3617469c98d9c08ceda9727e119aecc9", kill_on_drop: false }` [INFO] [stdout] 1e749722664401c3b7374c25534d13bc3617469c98d9c08ceda9727e119aecc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d9833e714071f623030520e2f46c589c77b124a6b1d65dcac16475e3a053cbb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3d9833e714071f623030520e2f46c589c77b124a6b1d65dcac16475e3a053cbb", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling stackvector v1.0.7 [INFO] [stderr] Compiling lexical-core v0.4.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Checking simple-expr-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expr` [INFO] [stdout] --> src/interpreter.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | args: Vec, [INFO] [stdout] | ^^^^ use of undeclared crate or module `expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expr` [INFO] [stdout] --> src/interpreter.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | args: Vec, [INFO] [stdout] | ^^^^ use of undeclared crate or module `expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `statements` in this scope [INFO] [stdout] --> src/interpreter.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | statements: statements, [INFO] [stdout] | ^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `statements` in this scope [INFO] [stdout] --> src/interpreter.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | statements: statements, [INFO] [stdout] | ^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expression` in this scope [INFO] [stdout] --> src/interpreter.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | match expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::expression::expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expression` in this scope [INFO] [stdout] --> src/interpreter.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | match expression { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::expression::expression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_op` in this scope [INFO] [stdout] --> src/parser/expression.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | if new_op.precedence() > old_struct.operator.precedence() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_op` in this scope [INFO] [stdout] --> src/parser/expression.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | if new_op.precedence() > old_struct.operator.precedence() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 4 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/interpreter.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if let ast::block::Block::Function(_, _, _, _) = function { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 4 [INFO] [stdout] | [INFO] [stdout] ::: src/ast/block.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Function(Function), [INFO] [stdout] | ------------------ tuple variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 4 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/interpreter.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if let ast::block::Block::Function(_, _, _, _) = function { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 4 [INFO] [stdout] | [INFO] [stdout] ::: src/ast/block.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Function(Function), [INFO] [stdout] | ------------------ tuple variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ expected struct `ExecutionBlock`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 36 | fn match_args_to_params( [INFO] [stdout] | -------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 39 | ) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashMap`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ expected struct `ExecutionBlock`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 36 | fn match_args_to_params( [INFO] [stdout] | -------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 39 | ) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashMap`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:47:78 [INFO] [stdout] | [INFO] [stdout] 47 | ast::Statement::Expr(expression) => self.evaluate_expression(expression), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Expr`, found struct `Box` [INFO] [stdout] | help: try using a variant of the expected enum: `Expr::Parenthesized(expression)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Expr` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 53 | match expression { [INFO] [stdout] | ---------- this expression has type `Expr` [INFO] [stdout] 54 | ast::Statement::Expr(expression) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Expr`, found enum `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/interpreter.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | ast::block::Block::Conditional(expression, statements) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/ast/block.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Conditional(Conditional), [INFO] [stdout] | ------------------------ tuple variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/block/function.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | identifier: (t.1).0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found enum `Expr` [INFO] [stdout] | help: try using a conversion method: `(t.1).0.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:47:78 [INFO] [stdout] | [INFO] [stdout] 47 | ast::Statement::Expr(expression) => self.evaluate_expression(expression), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Expr`, found struct `Box` [INFO] [stdout] | help: try using a variant of the expected enum: `Expr::Parenthesized(expression)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Expr` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 53 | match expression { [INFO] [stdout] | ---------- this expression has type `Expr` [INFO] [stdout] 54 | ast::Statement::Expr(expression) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Expr`, found enum `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/interpreter.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | ast::block::Block::Conditional(expression, statements) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/ast/block.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Conditional(Conditional), [INFO] [stdout] | ------------------------ tuple variant defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-expr-parser` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/block/function.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | identifier: (t.1).0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found enum `Expr` [INFO] [stdout] | help: try using a conversion method: `(t.1).0.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3d9833e714071f623030520e2f46c589c77b124a6b1d65dcac16475e3a053cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9833e714071f623030520e2f46c589c77b124a6b1d65dcac16475e3a053cbb", kill_on_drop: false }` [INFO] [stdout] 3d9833e714071f623030520e2f46c589c77b124a6b1d65dcac16475e3a053cbb