[INFO] cloning repository https://github.com/ff-zhang/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ff-zhang/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fff-zhang%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fff-zhang%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a0149e7679e8d359ee61d757df9246d5032c15a [INFO] checking ff-zhang/rlox against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fff-zhang%2Frlox" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ff-zhang/rlox [INFO] finished tweaking git repo https://github.com/ff-zhang/rlox [INFO] tweaked toml for git repo https://github.com/ff-zhang/rlox written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ff-zhang/rlox on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ff-zhang/rlox 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 187f888a1b58b04fe42936373545216ee9b827c2b7f0d85acd586ba85ae409ad [INFO] running `Command { std: "docker" "start" "-a" "187f888a1b58b04fe42936373545216ee9b827c2b7f0d85acd586ba85ae409ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "187f888a1b58b04fe42936373545216ee9b827c2b7f0d85acd586ba85ae409ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187f888a1b58b04fe42936373545216ee9b827c2b7f0d85acd586ba85ae409ad", kill_on_drop: false }` [INFO] [stdout] 187f888a1b58b04fe42936373545216ee9b827c2b7f0d85acd586ba85ae409ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44ae49ba1488206b7ebe712d117fe2167dc563012870c96600a46dddbf051976 [INFO] running `Command { std: "docker" "start" "-a" "44ae49ba1488206b7ebe712d117fe2167dc563012870c96600a46dddbf051976", kill_on_drop: false }` [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Opcode` is never used [INFO] [stdout] --> src/chunk.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `constants`, and `lines` are never read [INFO] [stdout] --> src/chunk.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | pub code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | pub lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `add_constant` are never used [INFO] [stdout] --> src/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 42 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn write(&mut self, byte: u8, line: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_constant(&mut self, value: Value) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Debug` is never used [INFO] [stdout] --> src/debug.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Debug { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disassemble_instruction` is never used [INFO] [stdout] --> src/debug.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn disassemble_instruction(this: &Chunk, offset: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_instruction` is never used [INFO] [stdout] --> src/debug.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn constant_instruction(name: &str, this: &Chunk, offset: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_instruction` is never used [INFO] [stdout] --> src/debug.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn simple_instruction(name: &str, offset: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompileError` and `RuntimeError` are never constructed [INFO] [stdout] --> src/vm.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum InterpretError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 36 | CompileError(CompileError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | RuntimeError(RuntimeError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpretError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk` and `ip` are never read [INFO] [stdout] --> src/vm.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VirtualMachine<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 53 | chunk: Option<&'a Chunk>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | ip: *const u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `VirtualMachine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, `run`, `read_byte`, and `read_constant` are never used [INFO] [stdout] --> src/vm.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> VirtualMachine<'a> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn push(&mut self, value: Value) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn pop(&mut self) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn run(&mut self) -> Result<(), InterpretError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn read_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn read_constant(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opcode` is never used [INFO] [stdout] --> src/chunk.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `constants`, and `lines` are never read [INFO] [stdout] --> src/chunk.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | pub code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | pub lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `add_constant` are never used [INFO] [stdout] --> src/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 42 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn write(&mut self, byte: u8, line: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_constant(&mut self, value: Value) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Debug` is never used [INFO] [stdout] --> src/debug.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Debug { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disassemble_instruction` is never used [INFO] [stdout] --> src/debug.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn disassemble_instruction(this: &Chunk, offset: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_instruction` is never used [INFO] [stdout] --> src/debug.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn constant_instruction(name: &str, this: &Chunk, offset: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_instruction` is never used [INFO] [stdout] --> src/debug.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn simple_instruction(name: &str, offset: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompileError` and `RuntimeError` are never constructed [INFO] [stdout] --> src/vm.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum InterpretError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 36 | CompileError(CompileError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | RuntimeError(RuntimeError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpretError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk` and `ip` are never read [INFO] [stdout] --> src/vm.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VirtualMachine<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 53 | chunk: Option<&'a Chunk>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | ip: *const u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `VirtualMachine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, `run`, `read_byte`, and `read_constant` are never used [INFO] [stdout] --> src/vm.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> VirtualMachine<'a> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn push(&mut self, value: Value) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn pop(&mut self) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn run(&mut self) -> Result<(), InterpretError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn read_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn read_constant(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "44ae49ba1488206b7ebe712d117fe2167dc563012870c96600a46dddbf051976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ae49ba1488206b7ebe712d117fe2167dc563012870c96600a46dddbf051976", kill_on_drop: false }` [INFO] [stdout] 44ae49ba1488206b7ebe712d117fe2167dc563012870c96600a46dddbf051976