[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#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Frlox" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gfreezy/rlox on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18e5621cddb7843538022d47f1f11836b7cc6a739c98bbad6e7e00bc0a99403e [INFO] running `Command { std: "docker" "start" "-a" "18e5621cddb7843538022d47f1f11836b7cc6a739c98bbad6e7e00bc0a99403e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18e5621cddb7843538022d47f1f11836b7cc6a739c98bbad6e7e00bc0a99403e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e5621cddb7843538022d47f1f11836b7cc6a739c98bbad6e7e00bc0a99403e", kill_on_drop: false }` [INFO] [stdout] 18e5621cddb7843538022d47f1f11836b7cc6a739c98bbad6e7e00bc0a99403e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3951e0b947f0a03fed8bc9067e488f3aa85ba5b20bf27efedf6f9a25049ed341 [INFO] running `Command { std: "docker" "start" "-a" "3951e0b947f0a03fed8bc9067e488f3aa85ba5b20bf27efedf6f9a25049ed341", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [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 snafu v0.4.1 [INFO] [stderr] Checking paste v0.1.5 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 9.67s [INFO] running `Command { std: "docker" "inspect" "3951e0b947f0a03fed8bc9067e488f3aa85ba5b20bf27efedf6f9a25049ed341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3951e0b947f0a03fed8bc9067e488f3aa85ba5b20bf27efedf6f9a25049ed341", kill_on_drop: false }` [INFO] [stdout] 3951e0b947f0a03fed8bc9067e488f3aa85ba5b20bf27efedf6f9a25049ed341