[INFO] cloning repository https://github.com/zhouxs1023/rslox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhouxs1023/rslox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51aae01d9734b4cead139da97951f2c5ef7b2344 [INFO] building zhouxs1023/rslox against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhouxs1023/rslox on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhouxs1023/rslox [INFO] finished tweaking git repo https://github.com/zhouxs1023/rslox [INFO] tweaked toml for git repo https://github.com/zhouxs1023/rslox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhouxs1023/rslox 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a0ab7182dcdf5371670187f6866b91eb8872538752ebf17d8907aea1abe63ea [INFO] running `Command { std: "docker" "start" "-a" "3a0ab7182dcdf5371670187f6866b91eb8872538752ebf17d8907aea1abe63ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a0ab7182dcdf5371670187f6866b91eb8872538752ebf17d8907aea1abe63ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a0ab7182dcdf5371670187f6866b91eb8872538752ebf17d8907aea1abe63ea", kill_on_drop: false }` [INFO] [stdout] 3a0ab7182dcdf5371670187f6866b91eb8872538752ebf17d8907aea1abe63ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c948ac8d1516c696a5832871a74da4b851fbde2a26e2298b2055b3af202f0941 [INFO] running `Command { std: "docker" "start" "-a" "c948ac8d1516c696a5832871a74da4b851fbde2a26e2298b2055b3af202f0941", kill_on_drop: false }` [INFO] [stderr] Compiling rslox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/value.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | Value::Function(fun) => print!("ObjFunction: {}", "(fun)"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/value.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | Self::Function(func) => write!(f, "{}", "(func)"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | fn binary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | fn literal(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | fn grouping(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:438:26 [INFO] [stdout] | [INFO] [stdout] 438 | fn number(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | fn or(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:454:26 [INFO] [stdout] | [INFO] [stdout] 454 | fn string(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | fn unary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:581:23 [INFO] [stdout] | [INFO] [stdout] 581 | fn and(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Function` is never constructed [INFO] [stdout] --> src/compiler.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | enum FunctionType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 78 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fn_type` is never read [INFO] [stdout] --> src/compiler.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Compiler<'src> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 83 | pub function: Function, [INFO] [stdout] 84 | fn_type: FunctionType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "c948ac8d1516c696a5832871a74da4b851fbde2a26e2298b2055b3af202f0941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c948ac8d1516c696a5832871a74da4b851fbde2a26e2298b2055b3af202f0941", kill_on_drop: false }` [INFO] [stdout] c948ac8d1516c696a5832871a74da4b851fbde2a26e2298b2055b3af202f0941 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9343b0721046e866959bdd9646bbd1936458cb2fe96312d9f3db038955dbaf7 [INFO] running `Command { std: "docker" "start" "-a" "c9343b0721046e866959bdd9646bbd1936458cb2fe96312d9f3db038955dbaf7", kill_on_drop: false }` [INFO] [stderr] Compiling rslox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/value.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | Value::Function(fun) => print!("ObjFunction: {}", "(fun)"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/value.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | Self::Function(func) => write!(f, "{}", "(func)"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | fn binary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | fn literal(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | fn grouping(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:438:26 [INFO] [stdout] | [INFO] [stdout] 438 | fn number(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | fn or(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:454:26 [INFO] [stdout] | [INFO] [stdout] 454 | fn string(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | fn unary(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:581:23 [INFO] [stdout] | [INFO] [stdout] 581 | fn and(&mut self, can_assign: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Function` is never constructed [INFO] [stdout] --> src/compiler.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | enum FunctionType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 78 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fn_type` is never read [INFO] [stdout] --> src/compiler.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Compiler<'src> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 83 | pub function: Function, [INFO] [stdout] 84 | fn_type: FunctionType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "c9343b0721046e866959bdd9646bbd1936458cb2fe96312d9f3db038955dbaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9343b0721046e866959bdd9646bbd1936458cb2fe96312d9f3db038955dbaf7", kill_on_drop: false }` [INFO] [stdout] c9343b0721046e866959bdd9646bbd1936458cb2fe96312d9f3db038955dbaf7