[INFO] cloning repository https://github.com/fraserli/imp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fraserli/imp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraserli%2Fimp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraserli%2Fimp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdd2b3183504cc96682d58056b68c2d73986f86a [INFO] checking fraserli/imp against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraserli%2Fimp" "/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/fraserli/imp [INFO] finished tweaking git repo https://github.com/fraserli/imp [INFO] tweaked toml for git repo https://github.com/fraserli/imp written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fraserli/imp 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/fraserli/imp 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] [stderr] Blocking waiting for file lock on package cache [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] e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49 [INFO] running `Command { std: "docker" "start" "e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49", 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" "e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49", 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" "e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling chumsky v0.10.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Checking imp 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/ast.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | Expr::Assignment(box Assignment { location, value }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | Expr::Operation(box Operation { op, lhs, rhs }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | Expr::IfThenElse(box IfThenElse { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 123 | | predicate, [INFO] [stdout] 124 | | consequent, [INFO] [stdout] 125 | | alternative, [INFO] [stdout] 126 | | }) => format!( [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | Expr::WhileLoop(box WhileLoop { predicate, body }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | Expr::Assignment(box Assignment { location, value }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | Expr::Operation(box Operation { op, lhs, rhs }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | Expr::IfThenElse(box IfThenElse { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 184 | | predicate, [INFO] [stdout] 185 | | consequent, [INFO] [stdout] 186 | | alternative, [INFO] [stdout] 187 | | }) => write!( [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | Expr::WhileLoop(box WhileLoop { predicate, body }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | Self::Assignment(box Assignment { location, value }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Self::Operation(box Operation { op, lhs, rhs }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | Self::IfThenElse(box IfThenElse { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 52 | | predicate, [INFO] [stdout] 53 | | consequent, [INFO] [stdout] 54 | | alternative, [INFO] [stdout] 55 | | }) => { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | Self::WhileLoop(box WhileLoop { predicate, body }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/ast.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | Expr::Assignment(box Assignment { location, value }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | Expr::Operation(box Operation { op, lhs, rhs }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | Expr::IfThenElse(box IfThenElse { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 123 | | predicate, [INFO] [stdout] 124 | | consequent, [INFO] [stdout] 125 | | alternative, [INFO] [stdout] 126 | | }) => format!( [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | Expr::WhileLoop(box WhileLoop { predicate, body }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | Expr::Assignment(box Assignment { location, value }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | Expr::Operation(box Operation { op, lhs, rhs }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | Expr::IfThenElse(box IfThenElse { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 184 | | predicate, [INFO] [stdout] 185 | | consequent, [INFO] [stdout] 186 | | alternative, [INFO] [stdout] 187 | | }) => write!( [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | Expr::WhileLoop(box WhileLoop { predicate, body }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | Self::Assignment(box Assignment { location, value }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Self::Operation(box Operation { op, lhs, rhs }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | Self::IfThenElse(box IfThenElse { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 52 | | predicate, [INFO] [stdout] 53 | | consequent, [INFO] [stdout] 54 | | alternative, [INFO] [stdout] 55 | | }) => { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/eval.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | Self::WhileLoop(box WhileLoop { predicate, body }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/ast.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | format!("(:= {location} {})", value.sexp()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `location` in this scope [INFO] [stdout] --> src/ast.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | format!("(:= {location} {})", value.sexp()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/ast.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | format!("({op} {} {})", lhs.sexp(), rhs.sexp()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/ast.rs:120:53 [INFO] [stdout] | [INFO] [stdout] 120 | format!("({op} {} {})", lhs.sexp(), rhs.sexp()) [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/ast.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | format!("({op} {} {})", lhs.sexp(), rhs.sexp()) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | predicate.sexp(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `consequent` in this scope [INFO] [stdout] --> src/ast.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | consequent.sexp(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alternative` in this scope [INFO] [stdout] --> src/ast.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | alternative.sexp() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:133:42 [INFO] [stdout] | [INFO] [stdout] 133 | format!("(while {} {})", predicate.sexp(), body.sexp()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in this scope [INFO] [stdout] --> src/ast.rs:133:60 [INFO] [stdout] | [INFO] [stdout] 133 | format!("(while {} {})", predicate.sexp(), body.sexp()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `location` in this scope [INFO] [stdout] --> src/ast.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | write!(f, "{} := {}", location, E(value)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/ast.rs:178:51 [INFO] [stdout] | [INFO] [stdout] 178 | write!(f, "{} := {}", location, E(value)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/ast.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{} {op} {}", E(lhs), E(rhs)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/ast.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{} {op} {}", E(lhs), E(rhs)) [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/ast.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{} {op} {}", E(lhs), E(rhs)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | E(predicate), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `consequent` in this scope [INFO] [stdout] --> src/ast.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | E(consequent), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alternative` in this scope [INFO] [stdout] --> src/ast.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | E(alternative) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | write!(f, "while {} do {}", E(predicate), E(body)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in this scope [INFO] [stdout] --> src/ast.rs:195:61 [INFO] [stdout] | [INFO] [stdout] 195 | write!(f, "while {} do {}", E(predicate), E(body)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/eval.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | if value.can_transition() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/eval.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | value.transition(store); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `location` in this scope [INFO] [stdout] --> src/eval.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | let location = std::mem::take(location); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/eval.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | let value = std::mem::take(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/eval.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | if lhs.can_transition() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/eval.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | lhs.transition(store); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/eval.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | } else if rhs.can_transition() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/eval.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | rhs.transition(store); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/eval.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | match (lhs, op, rhs) { [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/eval.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | match (lhs, op, rhs) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/eval.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | match (lhs, op, rhs) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if predicate.can_transition() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | predicate.transition(store); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | *self = std::mem::take(match predicate { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `consequent` in this scope [INFO] [stdout] --> src/eval.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Self::Boolean(true) => consequent, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alternative` in this scope [INFO] [stdout] --> src/eval.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | Self::Boolean(false) => alternative, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | predicate.clone(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in this scope [INFO] [stdout] --> src/eval.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | Expr::sequence([body.clone(), std::mem::take(self)]), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Assignment`, `IfThenElse`, `Operation`, and `WhileLoop` [INFO] [stdout] --> src/eval.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{Assignment, Expr, IfThenElse, Op, Operation, WhileLoop}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/ast.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | format!("(:= {location} {})", value.sexp()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `location` in this scope [INFO] [stdout] --> src/ast.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | format!("(:= {location} {})", value.sexp()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/ast.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | format!("({op} {} {})", lhs.sexp(), rhs.sexp()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/ast.rs:120:53 [INFO] [stdout] | [INFO] [stdout] 120 | format!("({op} {} {})", lhs.sexp(), rhs.sexp()) [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/ast.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | format!("({op} {} {})", lhs.sexp(), rhs.sexp()) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | predicate.sexp(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `consequent` in this scope [INFO] [stdout] --> src/ast.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | consequent.sexp(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alternative` in this scope [INFO] [stdout] --> src/ast.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | alternative.sexp() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:133:42 [INFO] [stdout] | [INFO] [stdout] 133 | format!("(while {} {})", predicate.sexp(), body.sexp()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in this scope [INFO] [stdout] --> src/ast.rs:133:60 [INFO] [stdout] | [INFO] [stdout] 133 | format!("(while {} {})", predicate.sexp(), body.sexp()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `location` in this scope [INFO] [stdout] --> src/ast.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | write!(f, "{} := {}", location, E(value)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/ast.rs:178:51 [INFO] [stdout] | [INFO] [stdout] 178 | write!(f, "{} := {}", location, E(value)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/ast.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{} {op} {}", E(lhs), E(rhs)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/ast.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{} {op} {}", E(lhs), E(rhs)) [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/ast.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | write!(f, "{} {op} {}", E(lhs), E(rhs)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | E(predicate), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `consequent` in this scope [INFO] [stdout] --> src/ast.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | E(consequent), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alternative` in this scope [INFO] [stdout] --> src/ast.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | E(alternative) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/ast.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | write!(f, "while {} do {}", E(predicate), E(body)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in this scope [INFO] [stdout] --> src/ast.rs:195:61 [INFO] [stdout] | [INFO] [stdout] 195 | write!(f, "while {} do {}", E(predicate), E(body)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/eval.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | if value.can_transition() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/eval.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | value.transition(store); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `location` in this scope [INFO] [stdout] --> src/eval.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | let location = std::mem::take(location); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/eval.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | let value = std::mem::take(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/eval.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | if lhs.can_transition() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/eval.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | lhs.transition(store); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/eval.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | } else if rhs.can_transition() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/eval.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | rhs.transition(store); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lhs` in this scope [INFO] [stdout] --> src/eval.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | match (lhs, op, rhs) { [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/eval.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | match (lhs, op, rhs) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rhs` in this scope [INFO] [stdout] --> src/eval.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | match (lhs, op, rhs) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if predicate.can_transition() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | predicate.transition(store); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | *self = std::mem::take(match predicate { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `consequent` in this scope [INFO] [stdout] --> src/eval.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Self::Boolean(true) => consequent, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alternative` in this scope [INFO] [stdout] --> src/eval.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | Self::Boolean(false) => alternative, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `predicate` in this scope [INFO] [stdout] --> src/eval.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | predicate.clone(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `body` in this scope [INFO] [stdout] --> src/eval.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | Expr::sequence([body.clone(), std::mem::take(self)]), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Assignment`, `IfThenElse`, `Operation`, and `WhileLoop` [INFO] [stdout] --> src/eval.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{Assignment, Expr, IfThenElse, Op, Operation, WhileLoop}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/eval.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | ... *self = Self::integer(*a + *b) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/eval.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... *self = Self::integer(*a + *b) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0557, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `imp` (lib test) due to 53 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/eval.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | ... *self = Self::integer(*a + *b) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/eval.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... *self = Self::integer(*a + *b) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0557, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `imp` (lib) due to 53 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49", kill_on_drop: false }` [INFO] [stdout] e7746ac1b79f0d8a013204e422c644fe1b38f063a54c1f5a28ca66bdeaaa3b49