[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarBrink%2FD7050E-simple-expr-parser" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OscarBrink/D7050E-simple-expr-parser on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-6/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd3fd7b36769212f1d20ac06a138bc65ed2862d2166d3bcecf78cdba49e09c81 [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" "fd3fd7b36769212f1d20ac06a138bc65ed2862d2166d3bcecf78cdba49e09c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd3fd7b36769212f1d20ac06a138bc65ed2862d2166d3bcecf78cdba49e09c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3fd7b36769212f1d20ac06a138bc65ed2862d2166d3bcecf78cdba49e09c81", kill_on_drop: false }` [INFO] [stdout] fd3fd7b36769212f1d20ac06a138bc65ed2862d2166d3bcecf78cdba49e09c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9d7e856b016b403e4c1afa72feae4e2fd83d9a14e1ffcc4a4d0346de7de4f66 [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" "b9d7e856b016b403e4c1afa72feae4e2fd83d9a14e1ffcc4a4d0346de7de4f66", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking 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] 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[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 `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[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 `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[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:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / if let ast::block::Block::Function(_, _, _, _) = function { [INFO] [stdout] 28 | | ExecutionBlock { [INFO] [stdout] 29 | | parent: None, [INFO] [stdout] 30 | | stack: HashMap::new(), [INFO] [stdout] 31 | | statements: statements, [INFO] [stdout] 32 | | } [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:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / if let ast::block::Block::Function(_, _, _, _) = function { [INFO] [stdout] 28 | | ExecutionBlock { [INFO] [stdout] 29 | | parent: None, [INFO] [stdout] 30 | | stack: HashMap::new(), [INFO] [stdout] 31 | | statements: statements, [INFO] [stdout] 32 | | } [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/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: 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" "b9d7e856b016b403e4c1afa72feae4e2fd83d9a14e1ffcc4a4d0346de7de4f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d7e856b016b403e4c1afa72feae4e2fd83d9a14e1ffcc4a4d0346de7de4f66", kill_on_drop: false }` [INFO] [stdout] b9d7e856b016b403e4c1afa72feae4e2fd83d9a14e1ffcc4a4d0346de7de4f66