[INFO] cloning repository https://github.com/julyfun/r0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julyfun/r0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulyfun%2Fr0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulyfun%2Fr0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5e425dd0d2ce259b36c67985f1d3debd61fe5c2 [INFO] checking julyfun/r0 against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulyfun%2Fr0" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/julyfun/r0 [INFO] finished tweaking git repo https://github.com/julyfun/r0 [INFO] tweaked toml for git repo https://github.com/julyfun/r0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/julyfun/r0 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/julyfun/r0 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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52 [INFO] running `Command { std: "docker" "start" "0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52", 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" "0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52", 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" "0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52" "/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.153 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking r0 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/compiler.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | Prim1(op, box e1) => Prim1(op, Box::new(uniqify_expr(e1, uniq_name_env))), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | Prim2(op, box e1, box e2) => Prim2( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | Prim2(op, box e1, box e2) => Prim2( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | box Prim2(_add1, box Var(x1_), box _i3), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | box Prim2(_add1, box Var(x1_), box _i3), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | box Prim2(_add1, box Var(x1_), box _i3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | Prim1(op, box e) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | Prim2(op, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | Prim2(op, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | box Prim1(op, box that_2), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | box Prim1(op, box that_2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | box Prim2(op2, box that30, box that10), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | box Prim2(op2, box that30, box that10), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | box Prim2(op2, box that30, box that10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / box Let( [INFO] [stdout] 145 | | t2, [INFO] [stdout] 146 | | box Prim2(op2, box that30, box that10), [INFO] [stdout] 147 | | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] 148 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | Prim1(op, box e) if op.as_str() == "-" => -interp_exp(e, env), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | Prim2(op, box e1, box e2) if op.as_str() == "+" => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Prim2(op, box e1, box e2) if op.as_str() == "+" => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | Let(name, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | Let(name, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `var_ast` in this scope [INFO] [stdout] --> src/compiler.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(uniqify_expr(var_ast, uniq_name_env)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res_ast` in this scope [INFO] [stdout] --> src/compiler.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Box::new(uniqify_expr(res_ast, Rc::new(sub_uniq_name_env))), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | Prim1(op, box e1) => Prim1(op, Box::new(uniqify_expr(e1, uniq_name_env))), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | Box::new(uniqify_expr(e1, uniq_name_env.clone())), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | Box::new(uniqify_expr(e2, uniq_name_env)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x1_` in this scope [INFO] [stdout] --> src/compiler.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(x1, x1_); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 62 - assert_eq!(x1, x1_); [INFO] [stdout] 62 + assert_eq!(x1, x1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x2` in this scope [INFO] [stdout] --> src/compiler.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(x2, x2_); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 63 - assert_eq!(x2, x2_); [INFO] [stdout] 63 + assert_eq!(x1, x2_); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x2_` in this scope [INFO] [stdout] --> src/compiler.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(x2, x2_); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x2` in this scope [INFO] [stdout] --> src/compiler.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | assert_ne!(x1, x2); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 - assert_ne!(x1, x2); [INFO] [stdout] 64 + assert_ne!(x1, x1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/compiler.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | if !is_atm(&e) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/compiler.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | Box::new(anf_exp(e)), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 85 - Box::new(anf_exp(e)), [INFO] [stdout] 85 + Box::new(anf_exp(x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/compiler.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | Prim1(op, Box::new(e)) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | if !is_atm(&e1) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | Box::new(anf_exp(e1)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:104:75 [INFO] [stdout] | [INFO] [stdout] 104 | Box::new(anf_exp(Prim2(op, Box::new(Var(x)), Box::new(e2)))), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | } else if !is_atm(&e2) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | Box::new(anf_exp(e2)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:112:49 [INFO] [stdout] | [INFO] [stdout] 112 | Box::new(Prim2(op, Box::new(e1), Box::new(Var(y)))), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | Prim2(op, Box::new(e1), Box::new(e2)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:115:50 [INFO] [stdout] | [INFO] [stdout] 115 | Prim2(op, Box::new(e1), Box::new(e2)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `var_ast` in this scope [INFO] [stdout] --> src/compiler.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | Let(var, Box::new(anf_exp(var_ast)), Box::new(anf_exp(res_ast))) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res_ast` in this scope [INFO] [stdout] --> src/compiler.rs:119:67 [INFO] [stdout] | [INFO] [stdout] 119 | Let(var, Box::new(anf_exp(var_ast)), Box::new(anf_exp(res_ast))) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `op` in this scope [INFO] [stdout] --> src/compiler.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(op, "-"); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `that_2` in this scope [INFO] [stdout] --> src/compiler.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | assert!(matches!(that_2, Int(2))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `op2` in this scope [INFO] [stdout] --> src/compiler.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(op2, "+"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `that30` in this scope [INFO] [stdout] --> src/compiler.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | assert!(matches!(that30, Int(30))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `that10` in this scope [INFO] [stdout] --> src/compiler.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | assert!(matches!(that10, Int(10))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `op3` in this scope [INFO] [stdout] --> src/compiler.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(op3, "+"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `var_t1` in this scope [INFO] [stdout] --> src/compiler.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(t1, var_t1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t2` in this scope [INFO] [stdout] --> src/compiler.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(t2, var_t2); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 158 - assert_eq!(t2, var_t2); [INFO] [stdout] 158 + assert_eq!(t1, var_t2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `var_t2` in this scope [INFO] [stdout] --> src/compiler.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(t2, var_t2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/interp.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | Prim1(op, box e) if op.as_str() == "-" => -interp_exp(e, env), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/interp.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | interp_exp(e1, Rc::clone(&env)) + interp_exp(e2, env) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/interp.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | interp_exp(e1, Rc::clone(&env)) + interp_exp(e2, env) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/interp.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | let name_val = interp_exp(e1, Rc::clone(&env)); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/interp.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | let right_val = interp_exp(e2, sub_env); [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/compiler.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | Prim1(op, box e1) => Prim1(op, Box::new(uniqify_expr(e1, uniq_name_env))), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | Prim2(op, box e1, box e2) => Prim2( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | Prim2(op, box e1, box e2) => Prim2( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | box Let(x2, _i1, box Prim2(_add, box Var(x2_), box _i2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | box Prim2(_add1, box Var(x1_), box _i3), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | box Prim2(_add1, box Var(x1_), box _i3), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | box Prim2(_add1, box Var(x1_), box _i3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | Prim1(op, box e) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | Prim2(op, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | Prim2(op, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | Let(var, box var_ast, box res_ast) => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | box Prim1(op, box that_2), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | box Prim1(op, box that_2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | box Prim2(op2, box that30, box that10), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | box Prim2(op2, box that30, box that10), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | box Prim2(op2, box that30, box that10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/compiler.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / box Let( [INFO] [stdout] 145 | | t2, [INFO] [stdout] 146 | | box Prim2(op2, box that30, box that10), [INFO] [stdout] 147 | | box Prim2(op3, box Var(var_t1), box Var(var_t2)), [INFO] [stdout] 148 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | Prim1(op, box e) if op.as_str() == "-" => -interp_exp(e, env), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | Prim2(op, box e1, box e2) if op.as_str() == "+" => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | Prim2(op, box e1, box e2) if op.as_str() == "+" => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | Let(name, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/interp.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | Let(name, box e1, box e2) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `var_ast` in this scope [INFO] [stdout] --> src/compiler.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(uniqify_expr(var_ast, uniq_name_env)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res_ast` in this scope [INFO] [stdout] --> src/compiler.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Box::new(uniqify_expr(res_ast, Rc::new(sub_uniq_name_env))), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | Prim1(op, box e1) => Prim1(op, Box::new(uniqify_expr(e1, uniq_name_env))), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | Box::new(uniqify_expr(e1, uniq_name_env.clone())), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | Box::new(uniqify_expr(e2, uniq_name_env)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/compiler.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | if !is_atm(&e) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/compiler.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | Box::new(anf_exp(e)), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 85 - Box::new(anf_exp(e)), [INFO] [stdout] 85 + Box::new(anf_exp(x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/compiler.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | Prim1(op, Box::new(e)) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | if !is_atm(&e1) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r0` (lib test) due to 68 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | Box::new(anf_exp(e1)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:104:75 [INFO] [stdout] | [INFO] [stdout] 104 | Box::new(anf_exp(Prim2(op, Box::new(Var(x)), Box::new(e2)))), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | } else if !is_atm(&e2) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | Box::new(anf_exp(e2)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:112:49 [INFO] [stdout] | [INFO] [stdout] 112 | Box::new(Prim2(op, Box::new(e1), Box::new(Var(y)))), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/compiler.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | Prim2(op, Box::new(e1), Box::new(e2)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/compiler.rs:115:50 [INFO] [stdout] | [INFO] [stdout] 115 | Prim2(op, Box::new(e1), Box::new(e2)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `var_ast` in this scope [INFO] [stdout] --> src/compiler.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | Let(var, Box::new(anf_exp(var_ast)), Box::new(anf_exp(res_ast))) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res_ast` in this scope [INFO] [stdout] --> src/compiler.rs:119:67 [INFO] [stdout] | [INFO] [stdout] 119 | Let(var, Box::new(anf_exp(var_ast)), Box::new(anf_exp(res_ast))) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/interp.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | Prim1(op, box e) if op.as_str() == "-" => -interp_exp(e, env), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/interp.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | interp_exp(e1, Rc::clone(&env)) + interp_exp(e2, env) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/interp.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | interp_exp(e1, Rc::clone(&env)) + interp_exp(e2, env) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e1` in this scope [INFO] [stdout] --> src/interp.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | let name_val = interp_exp(e1, Rc::clone(&env)); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e2` in this scope [INFO] [stdout] --> src/interp.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | let right_val = interp_exp(e2, sub_env); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `r0` (lib) due to 55 previous errors [INFO] running `Command { std: "docker" "inspect" "0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52", kill_on_drop: false }` [INFO] [stdout] 0cea49c5bbc4c896d45a2506209796336d0e9934fdfc491d3468c21f3c9f0b52