[INFO] cloning repository https://github.com/Seppel3210/math-parser-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Seppel3210/math-parser-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeppel3210%2Fmath-parser-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeppel3210%2Fmath-parser-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ebcc91467f6d6e9091476fbd04443d82175bb91 [INFO] checking Seppel3210/math-parser-rs against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeppel3210%2Fmath-parser-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Seppel3210/math-parser-rs [INFO] finished tweaking git repo https://github.com/Seppel3210/math-parser-rs [INFO] tweaked toml for git repo https://github.com/Seppel3210/math-parser-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Seppel3210/math-parser-rs on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Seppel3210/math-parser-rs 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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2 [INFO] running `Command { std: "docker" "start" "cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking chumsky v0.6.0 [INFO] [stderr] Checking math_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | Ln(box arg) => Expr::reduce_ln(arg), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | Neg(box arg) => Expr::reduce_neg(arg), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:61 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:72 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | Mul(box left, box right) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | Mul(box left, box right) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Div(box left, box right) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | Div(box left, box right) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | Pow(box left, box right) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | Pow(box left, box right) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | Neg(box arg) => -arg.derive(var_name), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ln(box arg) => arg.derive(var_name) / arg.clone(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:36:58 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:38:58 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | Ln(box arg) => Expr::reduce_ln(arg), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | Neg(box arg) => Expr::reduce_neg(arg), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c2` in this scope [INFO] [stdout] --> src/expression.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | Const(c1 + c2) + right [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 50 - Const(c1 + c2) + right [INFO] [stdout] 50 + Const(c1 + c1) + right [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c1` in this scope [INFO] [stdout] --> src/expression.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | left + Const(c1 + c2) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 53 - left + Const(c1 + c2) [INFO] [stdout] 53 + left + Const(c2 + c2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c2` in this scope [INFO] [stdout] --> src/expression.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | Const(c1 * c2) * right [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 74 - Const(c1 * c2) * right [INFO] [stdout] 74 + Const(c1 * c1) * right [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c1` in this scope [INFO] [stdout] --> src/expression.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | left * Const(c1 * c2) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 77 - left * Const(c1 * c2) [INFO] [stdout] 77 + left * Const(c2 * c2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:122:76 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:125:52 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:125:77 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | / Pow(Box::new(right.clone()), Box::new(Const(2.0))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | (right.derive(var_name) * Ln(Box::new(left.clone())) * self.clone()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:129:55 [INFO] [stdout] | [INFO] [stdout] 129 | (right.derive(var_name) * Ln(Box::new(left.clone())) * self.clone()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | + (right [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | * &left.derive(var_name) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | * Pow(Box::new(left.clone()), Box::new(right - &Const(1.0)))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:132:64 [INFO] [stdout] | [INFO] [stdout] 132 | * Pow(Box::new(left.clone()), Box::new(right - &Const(1.0)))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | Neg(box arg) => -arg.derive(var_name), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | Ln(box arg) => arg.derive(var_name) / arg.clone(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 136 | Ln(box arg) => arg.derive(var_name) / arg.clone(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | Ln(box arg) => Expr::reduce_ln(arg), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | Neg(box arg) => Expr::reduce_neg(arg), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:61 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | (Const(c1), Add(box Const(c2), box right) | Add(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | (Add(box Const(c1), box left) | Add(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:73:72 [INFO] [stdout] | [INFO] [stdout] 73 | (Const(c1), Mul(box Const(c2), box right) | Mul(box right, box Const(c2))) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 76 | (Mul(box Const(c1), box left) | Mul(box left, box Const(c1)), Const(c2)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | Mul(box left, box right) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | Mul(box left, box right) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Div(box left, box right) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | Div(box left, box right) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | Pow(box left, box right) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | Pow(box left, box right) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | Neg(box arg) => -arg.derive(var_name), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/expression.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ln(box arg) => arg.derive(var_name) / arg.clone(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | Const(c1 + c2) + right [INFO] [stdout] | -------------- ^^^^^ expected `Expr`, found `&Expr` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 50 | Const(c1 + c2) + right.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | left + Const(c1 + c2) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&Expr`, found `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 53 | *left + Const(c1 + c2) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | Const(c1 * c2) * right [INFO] [stdout] | -------------- ^^^^^ expected `Expr`, found `&Expr` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 74 | Const(c1 * c2) * right.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | left * Const(c1 * c2) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&Expr`, found `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 77 | *left * Const(c1 * c2) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | Add(box left, box right) => Expr::reduce_add(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | Sub(box left, box right) => Expr::reduce_sub(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:36:58 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | Mul(box left, box right) => Expr::reduce_mul(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | Div(box left, box right) => Expr::reduce_div(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:38:58 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | Pow(box left, box right) => Expr::reduce_pow(left, right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | Ln(box arg) => Expr::reduce_ln(arg), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | Neg(box arg) => Expr::reduce_neg(arg), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c2` in this scope [INFO] [stdout] --> src/expression.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | Const(c1 + c2) + right [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 50 - Const(c1 + c2) + right [INFO] [stdout] 50 + Const(c1 + c1) + right [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c1` in this scope [INFO] [stdout] --> src/expression.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | left + Const(c1 + c2) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 53 - left + Const(c1 + c2) [INFO] [stdout] 53 + left + Const(c2 + c2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c2` in this scope [INFO] [stdout] --> src/expression.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | Const(c1 * c2) * right [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 74 - Const(c1 * c2) * right [INFO] [stdout] 74 + Const(c1 * c1) * right [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c1` in this scope [INFO] [stdout] --> src/expression.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | left * Const(c1 * c2) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 77 - left * Const(c1 * c2) [INFO] [stdout] 77 + left * Const(c2 * c2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:122:76 [INFO] [stdout] | [INFO] [stdout] 122 | &left.derive(var_name) * right + &right.derive(var_name) * left [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:125:52 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:125:77 [INFO] [stdout] | [INFO] [stdout] 125 | (&left.derive(var_name) * right - &right.derive(var_name) * left) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | / Pow(Box::new(right.clone()), Box::new(Const(2.0))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | (right.derive(var_name) * Ln(Box::new(left.clone())) * self.clone()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:129:55 [INFO] [stdout] | [INFO] [stdout] 129 | (right.derive(var_name) * Ln(Box::new(left.clone())) * self.clone()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | + (right [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | * &left.derive(var_name) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/expression.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | * Pow(Box::new(left.clone()), Box::new(right - &Const(1.0)))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/expression.rs:132:64 [INFO] [stdout] | [INFO] [stdout] 132 | * Pow(Box::new(left.clone()), Box::new(right - &Const(1.0)))) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | Neg(box arg) => -arg.derive(var_name), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | Ln(box arg) => arg.derive(var_name) / arg.clone(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/expression.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 136 | Ln(box arg) => arg.derive(var_name) / arg.clone(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | Const(c1 + c2) + right [INFO] [stdout] | -------------- ^^^^^ expected `Expr`, found `&Expr` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 50 | Const(c1 + c2) + right.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | left + Const(c1 + c2) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&Expr`, found `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 53 | *left + Const(c1 + c2) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | Const(c1 * c2) * right [INFO] [stdout] | -------------- ^^^^^ expected `Expr`, found `&Expr` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider using clone here [INFO] [stdout] | [INFO] [stdout] 74 | Const(c1 * c2) * right.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expression.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | left * Const(c1 * c2) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&Expr`, found `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 77 | *left * Const(c1 * c2) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math_parser` (lib) due to 75 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0557. [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] [stdout] Some errors have detailed explanations: E0308, E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `math_parser` (lib test) due to 75 previous errors [INFO] running `Command { std: "docker" "inspect" "cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2", kill_on_drop: false }` [INFO] [stdout] cbd7efbf112053eed71ecdfb804339ab2c7558f0d7f47526d3e8a9a6e91ea4f2