[INFO] updating cached repository efenniht/cs420-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/efenniht/cs420-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/efenniht/cs420-rust" "work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/efenniht/cs420-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/efenniht/cs420-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/efenniht/cs420-rust" "work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/efenniht/cs420-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/efenniht/cs420-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 156d4e7a96996f218fa1e73a81aa8352a6c55489 [INFO] sha for GitHub repo efenniht/cs420-rust: 156d4e7a96996f218fa1e73a81aa8352a6c55489 [INFO] validating manifest of efenniht/cs420-rust on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of efenniht/cs420-rust on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing efenniht/cs420-rust [INFO] finished frobbing efenniht/cs420-rust [INFO] frobbed toml for efenniht/cs420-rust written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/efenniht/cs420-rust/Cargo.toml [INFO] started frobbing efenniht/cs420-rust [INFO] finished frobbing efenniht/cs420-rust [INFO] frobbed toml for efenniht/cs420-rust written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/efenniht/cs420-rust/Cargo.toml [INFO] crate efenniht/cs420-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking efenniht/cs420-rust against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-3/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/efenniht/cs420-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ce14e9cca9f7e39bc2887f2f28637407c1989f1658f8297e015491a173d15107 [INFO] running `"docker" "start" "-a" "ce14e9cca9f7e39bc2887f2f28637407c1989f1658f8297e015491a173d15107"` [INFO] [stderr] Compiling tinyc v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find value `bty` in this scope [INFO] [stderr] --> src/interpreter/mod.rs:309:21 [INFO] [stderr] | [INFO] [stderr] 309 | (Ty::Elem(bty), 0) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `bty` in this scope [INFO] [stderr] --> src/interpreter/mod.rs:309:21 [INFO] [stderr] | [INFO] [stderr] 309 | (Ty::Elem(bty), 0) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: constant `testcases` should have an upper case name [INFO] [stderr] --> tests/test_parser.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | const testcases:[&'static str; 8] = [ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `TESTCASES` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_frame` found for type `interpreter::context::Context` in the current scope [INFO] [stderr] --> src/interpreter/mod.rs:145:26 [INFO] [stderr] | [INFO] [stderr] 145 | let frame = self.ctx.new_frame(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/interpreter/context.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct Context { [INFO] [stderr] | ------------------ method `new_frame` not found for this [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `zip_with` found for type `std::slice::Iter<'_, (ast::Ty, ast::DecoName)>` in the current scope [INFO] [stderr] --> src/interpreter/mod.rs:146:60 [INFO] [stderr] | [INFO] [stderr] 146 | for ((ast_ty, (arg_name, deco)), arg) in f.args.iter().zip_with(args.iter()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `&[ast::Stmt]: std::convert::From>` is not satisfied [INFO] [stderr] --> src/interpreter/mod.rs:152:31 [INFO] [stderr] | [INFO] [stderr] 152 | let cfd = self.eval_block(Box::into(f.body)); [INFO] [stderr] | ^^^^^^^^^ the trait `std::convert::From>` is not implemented for `&[ast::Stmt]` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into<&[ast::Stmt]>` for `std::boxed::Box` [INFO] [stderr] = note: required by `std::convert::Into::into` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `restore_frame` found for type `interpreter::context::Context` in the current scope [INFO] [stderr] --> src/interpreter/mod.rs:169:14 [INFO] [stderr] | [INFO] [stderr] 169 | self.ctx.restore_frame(frame); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/interpreter/context.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct Context { [INFO] [stderr] | ------------------ method `restore_frame` not found for this [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `+` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:237:31 [INFO] [stderr] | [INFO] [stderr] 237 | ast::BinOp::Add => v1 + v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Add` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `-` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:238:31 [INFO] [stderr] | [INFO] [stderr] 238 | ast::BinOp::Sub => v1 - v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Sub` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `*` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:239:31 [INFO] [stderr] | [INFO] [stderr] 239 | ast::BinOp::Mul => v1 * v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Mul` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `/` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:240:31 [INFO] [stderr] | [INFO] [stderr] 240 | ast::BinOp::Div => v1 / v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Div` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `%` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:241:31 [INFO] [stderr] | [INFO] [stderr] 241 | ast::BinOp::Mod => v1 % v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Rem` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `<` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:244:30 [INFO] [stderr] | [INFO] [stderr] 244 | ast::BinOp::Lt => v1 < v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `>` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:245:30 [INFO] [stderr] | [INFO] [stderr] 245 | ast::BinOp::Gt => v1 > v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `<=` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:246:30 [INFO] [stderr] | [INFO] [stderr] 246 | ast::BinOp::Le => v1 <= v2, [INFO] [stderr] | -- ^^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `>=` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:247:30 [INFO] [stderr] | [INFO] [stderr] 247 | ast::BinOp::Ge => v1 >= v2, [INFO] [stderr] | -- ^^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `+` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:258:32 [INFO] [stderr] | [INFO] [stderr] 258 | self.ctx.write(addr, v + Value::Int(1)); [INFO] [stderr] | - ^ ------------- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Add` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `-` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:264:32 [INFO] [stderr] | [INFO] [stderr] 264 | self.ctx.write(addr, v - Value::Int(1)); [INFO] [stderr] | - ^ ------------- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Sub` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `+` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:294:47 [INFO] [stderr] | [INFO] [stderr] 294 | if let Value::Point(bty, addr) = base + delta { [INFO] [stderr] | ---- ^ ----- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Add` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter/mod.rs:306:12 [INFO] [stderr] | [INFO] [stderr] 306 | (bty, addr) [INFO] [stderr] | ^^^ expected enum `interpreter::context::Ty`, found enum `interpreter::context::BaseTy` [INFO] [stderr] | [INFO] [stderr] = note: expected type `interpreter::context::Ty` [INFO] [stderr] found type `interpreter::context::BaseTy` [INFO] [stderr] help: try using a variant of the expected type [INFO] [stderr] | [INFO] [stderr] 306 | (interpreter::context::Ty::Elem(bty), addr) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 306 | (interpreter::context::Ty::Point(bty), addr) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_frame` found for type `interpreter::context::Context` in the current scope [INFO] [stderr] --> src/interpreter/mod.rs:145:26 [INFO] [stderr] | [INFO] [stderr] 145 | let frame = self.ctx.new_frame(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/interpreter/context.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct Context { [INFO] [stderr] | ------------------ method `new_frame` not found for this [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `zip_with` found for type `std::slice::Iter<'_, (ast::Ty, ast::DecoName)>` in the current scope [INFO] [stderr] --> src/interpreter/mod.rs:146:60 [INFO] [stderr] | [INFO] [stderr] 146 | for ((ast_ty, (arg_name, deco)), arg) in f.args.iter().zip_with(args.iter()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `&[ast::Stmt]: std::convert::From>` is not satisfied [INFO] [stderr] --> src/interpreter/mod.rs:152:31 [INFO] [stderr] | [INFO] [stderr] 152 | let cfd = self.eval_block(Box::into(f.body)); [INFO] [stderr] | ^^^^^^^^^ the trait `std::convert::From>` is not implemented for `&[ast::Stmt]` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into<&[ast::Stmt]>` for `std::boxed::Box` [INFO] [stderr] = note: required by `std::convert::Into::into` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `restore_frame` found for type `interpreter::context::Context` in the current scope [INFO] [stderr] --> src/interpreter/mod.rs:169:14 [INFO] [stderr] | [INFO] [stderr] 169 | self.ctx.restore_frame(frame); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/interpreter/context.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct Context { [INFO] [stderr] | ------------------ method `restore_frame` not found for this [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `+` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:237:31 [INFO] [stderr] | [INFO] [stderr] 237 | ast::BinOp::Add => v1 + v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Add` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `-` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:238:31 [INFO] [stderr] | [INFO] [stderr] 238 | ast::BinOp::Sub => v1 - v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Sub` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `*` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:239:31 [INFO] [stderr] | [INFO] [stderr] 239 | ast::BinOp::Mul => v1 * v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Mul` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `/` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:240:31 [INFO] [stderr] | [INFO] [stderr] 240 | ast::BinOp::Div => v1 / v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Div` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `%` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:241:31 [INFO] [stderr] | [INFO] [stderr] 241 | ast::BinOp::Mod => v1 % v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Rem` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `<` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:244:30 [INFO] [stderr] | [INFO] [stderr] 244 | ast::BinOp::Lt => v1 < v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `>` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:245:30 [INFO] [stderr] | [INFO] [stderr] 245 | ast::BinOp::Gt => v1 > v2, [INFO] [stderr] | -- ^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `<=` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:246:30 [INFO] [stderr] | [INFO] [stderr] 246 | ast::BinOp::Le => v1 <= v2, [INFO] [stderr] | -- ^^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `>=` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:247:30 [INFO] [stderr] | [INFO] [stderr] 247 | ast::BinOp::Ge => v1 >= v2, [INFO] [stderr] | -- ^^ -- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialOrd` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `+` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:258:32 [INFO] [stderr] | [INFO] [stderr] 258 | self.ctx.write(addr, v + Value::Int(1)); [INFO] [stderr] | - ^ ------------- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Add` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `-` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:264:32 [INFO] [stderr] | [INFO] [stderr] 264 | self.ctx.write(addr, v - Value::Int(1)); [INFO] [stderr] | - ^ ------------- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Sub` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `+` cannot be applied to type `interpreter::context::Value` [INFO] [stderr] --> src/interpreter/mod.rs:294:47 [INFO] [stderr] | [INFO] [stderr] 294 | if let Value::Point(bty, addr) = base + delta { [INFO] [stderr] | ---- ^ ----- interpreter::context::Value [INFO] [stderr] | | [INFO] [stderr] | interpreter::context::Value [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Add` might be missing for `interpreter::context::Value` [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0369, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `tinyc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/interpreter/mod.rs:306:12 [INFO] [stderr] | [INFO] [stderr] 306 | (bty, addr) [INFO] [stderr] | ^^^ expected enum `interpreter::context::Ty`, found enum `interpreter::context::BaseTy` [INFO] [stderr] | [INFO] [stderr] = note: expected type `interpreter::context::Ty` [INFO] [stderr] found type `interpreter::context::BaseTy` [INFO] [stderr] help: try using a variant of the expected type [INFO] [stderr] | [INFO] [stderr] 306 | (interpreter::context::Ty::Elem(bty), addr) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 306 | (interpreter::context::Ty::Point(bty), addr) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0369, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `tinyc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ce14e9cca9f7e39bc2887f2f28637407c1989f1658f8297e015491a173d15107"` [INFO] running `"docker" "rm" "-f" "ce14e9cca9f7e39bc2887f2f28637407c1989f1658f8297e015491a173d15107"` [INFO] [stdout] ce14e9cca9f7e39bc2887f2f28637407c1989f1658f8297e015491a173d15107