[INFO] cloning repository https://github.com/gfreezy/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gfreezy/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca52b0b58d3b2d1d8bf36d5e6827d1578707c1a2 [INFO] checking gfreezy/rlox against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%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/gfreezy/rlox [INFO] finished tweaking git repo https://github.com/gfreezy/rlox [INFO] tweaked toml for git repo https://github.com/gfreezy/rlox written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gfreezy/rlox on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gfreezy/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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2970163988f4ad93a899ef82f6819d13f53367158bee97284cc2b74021fee081 [INFO] running `Command { std: "docker" "start" "-a" "2970163988f4ad93a899ef82f6819d13f53367158bee97284cc2b74021fee081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2970163988f4ad93a899ef82f6819d13f53367158bee97284cc2b74021fee081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2970163988f4ad93a899ef82f6819d13f53367158bee97284cc2b74021fee081", kill_on_drop: false }` [INFO] [stdout] 2970163988f4ad93a899ef82f6819d13f53367158bee97284cc2b74021fee081 [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" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f875ed5d2615bc586569c194022d71f94380141fe16d8ff0396b328a7b558e [INFO] running `Command { std: "docker" "start" "-a" "22f875ed5d2615bc586569c194022d71f94380141fe16d8ff0396b328a7b558e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.7 [INFO] [stderr] Compiling snafu-derive v0.4.1 [INFO] [stderr] Compiling num_enum v0.2.0 [INFO] [stderr] Compiling paste-impl v0.1.5 [INFO] [stderr] Checking paste v0.1.5 [INFO] [stderr] Checking snafu v0.4.1 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | binary_op!(|l, r| format!("{}{}", l, r), into_str, "not a str"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | binary_op!(|l, r| l + r, into_number, "not a str"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 147 | binary_op!(|l, r| l - r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | binary_op!(|l, r| l * r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | binary_op!(|l, r| l / r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | binary_op!(|l, r| l > r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | binary_op!(|l, r| l < r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | binary_op!(|l, r| format!("{}{}", l, r), into_str, "not a str"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | binary_op!(|l, r| l + r, into_number, "not a str"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 147 | binary_op!(|l, r| l - r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | binary_op!(|l, r| l * r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | binary_op!(|l, r| l / r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | binary_op!(|l, r| l > r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | binary_op!(|l, r| l < r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Previous` is never constructed [INFO] [stdout] --> src/compiler.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | enum TokenPosition { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 110 | Current, [INFO] [stdout] 111 | Previous, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/compiler.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | fn error(&mut self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompileError` and `RuntimeError` are never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | CompileError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `write`, `write_opcode`, and `write_constant` are never used [INFO] [stdout] --> src/vm.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write(&mut self, byte: u8, line: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn write_opcode(&mut self, opcode: OpCode, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn write_constant(&mut self, value: Value, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Previous` is never constructed [INFO] [stdout] --> src/compiler.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | enum TokenPosition { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 110 | Current, [INFO] [stdout] 111 | Previous, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/compiler.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | fn error(&mut self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CompileError` and `RuntimeError` are never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | CompileError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `write`, `write_opcode`, and `write_constant` are never used [INFO] [stdout] --> src/vm.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write(&mut self, byte: u8, line: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn write_opcode(&mut self, opcode: OpCode, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn write_constant(&mut self, value: Value, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "22f875ed5d2615bc586569c194022d71f94380141fe16d8ff0396b328a7b558e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f875ed5d2615bc586569c194022d71f94380141fe16d8ff0396b328a7b558e", kill_on_drop: false }` [INFO] [stdout] 22f875ed5d2615bc586569c194022d71f94380141fe16d8ff0396b328a7b558e