[INFO] cloning repository https://github.com/julian-computes/lox-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julian-computes/lox-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulian-computes%2Flox-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulian-computes%2Flox-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7082202fdba0e1b8742f78ed2e9e19818e9bac5 [INFO] checking julian-computes/lox-rs against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulian-computes%2Flox-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julian-computes/lox-rs on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julian-computes/lox-rs [INFO] finished tweaking git repo https://github.com/julian-computes/lox-rs [INFO] tweaked toml for git repo https://github.com/julian-computes/lox-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/julian-computes/lox-rs 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" "+af54b6062f33b99e418444700f3a823ef0214052" "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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53085f7a856f1f27f84f2bafa43b68b00490b5527e525e8da07980efb3f774ea [INFO] running `Command { std: "docker" "start" "-a" "53085f7a856f1f27f84f2bafa43b68b00490b5527e525e8da07980efb3f774ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53085f7a856f1f27f84f2bafa43b68b00490b5527e525e8da07980efb3f774ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53085f7a856f1f27f84f2bafa43b68b00490b5527e525e8da07980efb3f774ea", kill_on_drop: false }` [INFO] [stdout] 53085f7a856f1f27f84f2bafa43b68b00490b5527e525e8da07980efb3f774ea [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 149a060c83ef5c6743ddfdeca6e98cad3f7ae2307661f605498e6be7a3e601cc [INFO] running `Command { std: "docker" "start" "-a" "149a060c83ef5c6743ddfdeca6e98cad3f7ae2307661f605498e6be7a3e601cc", kill_on_drop: false }` [INFO] [stderr] Checking lox-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/chunk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum OpCode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 14 | /// Produce a constant [INFO] [stdout] 15 | Constant(Rc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | /// Binary addition [INFO] [stdout] 17 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | /// Binary subtraction [INFO] [stdout] 19 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | /// Binary multiplication [INFO] [stdout] 21 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | /// Binary division [INFO] [stdout] 23 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | /// Unary negation [INFO] [stdout] 25 | Negate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | /// Return from the current function [INFO] [stdout] 27 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant` is never used [INFO] [stdout] --> src/chunk.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn constant(val: Value) -> OpCode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/chunk.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn iter(&self) -> Iter<'_, OpCode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueArray` is never constructed [INFO] [stdout] --> src/value.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ValueArray { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/value.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ValueArray { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn write(&mut self, value: Value) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debug` and `stack` are never read [INFO] [stdout] --> src/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VM { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 8 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InterpretError` is never used [INFO] [stdout] --> src/vm.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum InterpretError { [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: associated items `new`, `interpret`, `push`, and `pop` are never used [INFO] [stdout] --> src/vm.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(debug: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn interpret(&mut self, chunk: &Chunk) -> Result<(), InterpretError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn push(&mut self, value: Value) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn pop(&mut self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 245 | pub token_type: TokenType, [INFO] [stdout] 246 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Return` is never constructed [INFO] [stdout] --> src/chunk.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum OpCode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueArray` is never constructed [INFO] [stdout] --> src/value.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ValueArray { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/value.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ValueArray { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn write(&mut self, value: Value) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RuntimeError` is never constructed [INFO] [stdout] --> src/vm.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum InterpretError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 14 | CompileError, [INFO] [stdout] 15 | 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: associated function `new` is never used [INFO] [stdout] --> src/vm.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl VM { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(debug: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/scanner.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 245 | pub token_type: TokenType, [INFO] [stdout] 246 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "149a060c83ef5c6743ddfdeca6e98cad3f7ae2307661f605498e6be7a3e601cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149a060c83ef5c6743ddfdeca6e98cad3f7ae2307661f605498e6be7a3e601cc", kill_on_drop: false }` [INFO] [stdout] 149a060c83ef5c6743ddfdeca6e98cad3f7ae2307661f605498e6be7a3e601cc