[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] checking zhouxs1023/rslox against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox" "/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/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhouxs1023/rslox on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2
[INFO] running `Command { std: "docker" "start" "ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/scanner.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(source: &str) -> Scanner {
[INFO] [stdout]   |                        ^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(source: &str) -> Scanner<'_> {
[INFO] [stdout]   |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/scanner.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(source: &str) -> Scanner {
[INFO] [stdout]   |                        ^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(source: &str) -> Scanner<'_> {
[INFO] [stdout]   |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2", kill_on_drop: false }`
[INFO] [stdout] ab91f7a40390cdda25d061e90556b6028f499c4c14fe5de95587b9e5d807e1a2
