[INFO] cloning repository https://github.com/zyx-db/bytecode-vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zyx-db/bytecode-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyx-db%2Fbytecode-vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyx-db%2Fbytecode-vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c41737434d26ea7fa213acae1b67b739da26bca1 [INFO] checking zyx-db/bytecode-vm against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyx-db%2Fbytecode-vm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zyx-db/bytecode-vm on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zyx-db/bytecode-vm [INFO] finished tweaking git repo https://github.com/zyx-db/bytecode-vm [INFO] tweaked toml for git repo https://github.com/zyx-db/bytecode-vm written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zyx-db/bytecode-vm 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 399b00fddcca624b3c75b99d12bcc356a9f79ffc51f83b9649c2f3975dfc1766 [INFO] running `Command { std: "docker" "start" "-a" "399b00fddcca624b3c75b99d12bcc356a9f79ffc51f83b9649c2f3975dfc1766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "399b00fddcca624b3c75b99d12bcc356a9f79ffc51f83b9649c2f3975dfc1766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399b00fddcca624b3c75b99d12bcc356a9f79ffc51f83b9649c2f3975dfc1766", kill_on_drop: false }` [INFO] [stdout] 399b00fddcca624b3c75b99d12bcc356a9f79ffc51f83b9649c2f3975dfc1766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5bd15679bb26084f998b34b35ce3d52cef27fe43261ac66ceb0c9f1925d0f00 [INFO] running `Command { std: "docker" "start" "-a" "d5bd15679bb26084f998b34b35ce3d52cef27fe43261ac66ceb0c9f1925d0f00", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking lox-vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `VM_Errors` should have an upper camel case name [INFO] [stdout] --> src/common.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum VM_Errors { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `VmErrors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk` and `disassemble` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use common::{disassemble, Chunk, VM_Errors, VM}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VM_Errors` should have an upper camel case name [INFO] [stdout] --> src/common.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum VM_Errors { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `VmErrors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk` and `disassemble` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use common::{disassemble, Chunk, VM_Errors, VM}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OpReturn`, `OpConstant`, and `ConstantIdx` are never constructed [INFO] [stdout] --> src/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum OpCode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 8 | OpReturn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | OpConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | ConstantIdx(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_constant`, `push_op`, and `add_constant` are never used [INFO] [stdout] --> src/common.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn push_constant(&mut self, v: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn push_op(&mut self, op: OpCode) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn add_constant(&mut self, v: Value) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disassemble` is never used [INFO] [stdout] --> src/common.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn disassemble(chunk: &Chunk, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompileError` and `RuntimeError` are never constructed [INFO] [stdout] --> src/common.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum VM_Errors { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 114 | CompileError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 115 | RuntimeError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM_Errors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token_types.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 | Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runFile` should have a snake case name [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn runFile(path: PathBuf, vm: &mut VM) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `run_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | vm.interpret(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = vm.interpret(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scanToken` should have a snake case name [INFO] [stdout] --> src/common.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn scanToken(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `scan_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OpReturn`, `OpConstant`, and `ConstantIdx` are never constructed [INFO] [stdout] --> src/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum OpCode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 8 | OpReturn, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | OpConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | ConstantIdx(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_constant`, `push_op`, and `add_constant` are never used [INFO] [stdout] --> src/common.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn push_constant(&mut self, v: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn push_op(&mut self, op: OpCode) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn add_constant(&mut self, v: Value) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disassemble` is never used [INFO] [stdout] --> src/common.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn disassemble(chunk: &Chunk, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompileError` and `RuntimeError` are never constructed [INFO] [stdout] --> src/common.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum VM_Errors { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 114 | CompileError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 115 | RuntimeError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM_Errors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token_types.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 | Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runFile` should have a snake case name [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn runFile(path: PathBuf, vm: &mut VM) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `run_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | vm.interpret(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = vm.interpret(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scanToken` should have a snake case name [INFO] [stdout] --> src/common.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn scanToken(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `scan_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.92s [INFO] running `Command { std: "docker" "inspect" "d5bd15679bb26084f998b34b35ce3d52cef27fe43261ac66ceb0c9f1925d0f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5bd15679bb26084f998b34b35ce3d52cef27fe43261ac66ceb0c9f1925d0f00", kill_on_drop: false }` [INFO] [stdout] d5bd15679bb26084f998b34b35ce3d52cef27fe43261ac66ceb0c9f1925d0f00