[INFO] cloning repository https://github.com/zhouxs1023/rslox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhouxs1023/rslox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51aae01d9734b4cead139da97951f2c5ef7b2344 [INFO] checking zhouxs1023/rslox against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhouxs1023/rslox on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhouxs1023/rslox [INFO] finished tweaking git repo https://github.com/zhouxs1023/rslox [INFO] tweaked toml for git repo https://github.com/zhouxs1023/rslox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zhouxs1023/rslox 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e20bb67010c9447666b497197c5ef669634b6c51efaef84f36c8ca14196d3a9b [INFO] running `Command { std: "docker" "start" "-a" "e20bb67010c9447666b497197c5ef669634b6c51efaef84f36c8ca14196d3a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e20bb67010c9447666b497197c5ef669634b6c51efaef84f36c8ca14196d3a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20bb67010c9447666b497197c5ef669634b6c51efaef84f36c8ca14196d3a9b", kill_on_drop: false }` [INFO] [stdout] e20bb67010c9447666b497197c5ef669634b6c51efaef84f36c8ca14196d3a9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d872085e944f99729948024499a03856f1849d71ea0f6efb2961326be30d3d18 [INFO] running `Command { std: "docker" "start" "-a" "d872085e944f99729948024499a03856f1849d71ea0f6efb2961326be30d3d18", kill_on_drop: false }` [INFO] [stderr] Checking rslox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/value.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | Value::Function(fun) => print!("ObjFunction: {}", "(fun)"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/value.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | Self::Function(func) => write!(f, "{}", "(func)"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/value.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | Value::Function(fun) => print!("ObjFunction: {}", "(fun)"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/value.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | Self::Function(func) => write!(f, "{}", "(func)"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | fn binary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | fn literal(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | fn grouping(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:438:26 [INFO] [stdout] | [INFO] [stdout] 438 | fn number(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | fn or(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:454:26 [INFO] [stdout] | [INFO] [stdout] 454 | fn string(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | fn unary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:581:23 [INFO] [stdout] | [INFO] [stdout] 581 | fn and(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | fn binary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | fn literal(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | fn grouping(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:438:26 [INFO] [stdout] | [INFO] [stdout] 438 | fn number(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | fn or(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:454:26 [INFO] [stdout] | [INFO] [stdout] 454 | fn string(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | fn unary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:581:23 [INFO] [stdout] | [INFO] [stdout] 581 | fn and(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Function` is never constructed [INFO] [stdout] --> src/compiler.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | enum FunctionType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 78 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fn_type` is never read [INFO] [stdout] --> src/compiler.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Compiler<'src> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 83 | pub function: Function, [INFO] [stdout] 84 | fn_type: FunctionType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/chunk.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | self.code[offset].into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/chunk.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | let constant_idx: u8 = self.code[offset + 1].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/chunk.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | let constant_idx: u8 = self.code[offset + 1].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/compiler.rs:365:45 [INFO] [stdout] | [INFO] [stdout] 365 | self.current_chunk().code[offset] = (((jump >> 8) & 0xff) as u8).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/compiler.rs:366:49 [INFO] [stdout] | [INFO] [stdout] 366 | self.current_chunk().code[offset + 1] = ((jump & 0xff) as u8).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:410:48 [INFO] [stdout] | [INFO] [stdout] 410 | TokenType::Plus => self.emit_byte(OpCode::OpAdd.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:411:48 [INFO] [stdout] | [INFO] [stdout] 411 | TokenType::Minus => self.emit_byte(OpCode::OpSubtract.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:412:48 [INFO] [stdout] | [INFO] [stdout] 412 | TokenType::Star => self.emit_byte(OpCode::OpMultiply.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:413:48 [INFO] [stdout] | [INFO] [stdout] 413 | TokenType::Slash => self.emit_byte(OpCode::OpDivide.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:415:53 [INFO] [stdout] | [INFO] [stdout] 415 | TokenType::EqualEqual => self.emit_byte(OpCode::OpEqual.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:416:50 [INFO] [stdout] | [INFO] [stdout] 416 | TokenType::Greater => self.emit_byte(OpCode::OpGreater.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:418:47 [INFO] [stdout] | [INFO] [stdout] 418 | TokenType::Less => self.emit_byte(OpCode::OpLess.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:491:48 [INFO] [stdout] | [INFO] [stdout] 491 | TokenType::Minus => self.emit_byte(OpCode::OpNegate.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:492:48 [INFO] [stdout] | [INFO] [stdout] 492 | TokenType::Bang => self.emit_byte(OpCode::OpNot.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Function` is never constructed [INFO] [stdout] --> src/compiler.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | enum FunctionType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 78 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fn_type` is never read [INFO] [stdout] --> src/compiler.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Compiler<'src> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 83 | pub function: Function, [INFO] [stdout] 84 | fn_type: FunctionType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/chunk.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | self.code[offset].into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/chunk.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | let constant_idx: u8 = self.code[offset + 1].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/chunk.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | let constant_idx: u8 = self.code[offset + 1].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/compiler.rs:365:45 [INFO] [stdout] | [INFO] [stdout] 365 | self.current_chunk().code[offset] = (((jump >> 8) & 0xff) as u8).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `u8` to `u8` [INFO] [stdout] --> src/compiler.rs:366:49 [INFO] [stdout] | [INFO] [stdout] 366 | self.current_chunk().code[offset + 1] = ((jump & 0xff) as u8).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:410:48 [INFO] [stdout] | [INFO] [stdout] 410 | TokenType::Plus => self.emit_byte(OpCode::OpAdd.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:411:48 [INFO] [stdout] | [INFO] [stdout] 411 | TokenType::Minus => self.emit_byte(OpCode::OpSubtract.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:412:48 [INFO] [stdout] | [INFO] [stdout] 412 | TokenType::Star => self.emit_byte(OpCode::OpMultiply.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:413:48 [INFO] [stdout] | [INFO] [stdout] 413 | TokenType::Slash => self.emit_byte(OpCode::OpDivide.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:415:53 [INFO] [stdout] | [INFO] [stdout] 415 | TokenType::EqualEqual => self.emit_byte(OpCode::OpEqual.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:416:50 [INFO] [stdout] | [INFO] [stdout] 416 | TokenType::Greater => self.emit_byte(OpCode::OpGreater.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:418:47 [INFO] [stdout] | [INFO] [stdout] 418 | TokenType::Less => self.emit_byte(OpCode::OpLess.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:491:48 [INFO] [stdout] | [INFO] [stdout] 491 | TokenType::Minus => self.emit_byte(OpCode::OpNegate.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `OpCode` to `OpCode` [INFO] [stdout] --> src/compiler.rs:492:48 [INFO] [stdout] | [INFO] [stdout] 492 | TokenType::Bang => self.emit_byte(OpCode::OpNot.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rslox` (bin "rslox" test) due to 14 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rslox` (bin "rslox") due to 14 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d872085e944f99729948024499a03856f1849d71ea0f6efb2961326be30d3d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d872085e944f99729948024499a03856f1849d71ea0f6efb2961326be30d3d18", kill_on_drop: false }` [INFO] [stdout] d872085e944f99729948024499a03856f1849d71ea0f6efb2961326be30d3d18