[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] testing zhouxs1023/rslox against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhouxs1023%2Frslox" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhouxs1023/rslox on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b210a42a8c7808385718de5fbb4569f193e12ee487129d1d57969a575a04c07
[INFO] running `Command { std: "docker" "start" "-a" "1b210a42a8c7808385718de5fbb4569f193e12ee487129d1d57969a575a04c07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b210a42a8c7808385718de5fbb4569f193e12ee487129d1d57969a575a04c07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b210a42a8c7808385718de5fbb4569f193e12ee487129d1d57969a575a04c07", kill_on_drop: false }`
[INFO] [stdout] 1b210a42a8c7808385718de5fbb4569f193e12ee487129d1d57969a575a04c07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bbe5028ce831e5746d3fda81f49cca183d4774a377902518e59e5b0b1d97d01a
[INFO] running `Command { std: "docker" "start" "-a" "bbe5028ce831e5746d3fda81f49cca183d4774a377902518e59e5b0b1d97d01a", 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)]` (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.78s
[INFO] running `Command { std: "docker" "inspect" "bbe5028ce831e5746d3fda81f49cca183d4774a377902518e59e5b0b1d97d01a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbe5028ce831e5746d3fda81f49cca183d4774a377902518e59e5b0b1d97d01a", kill_on_drop: false }`
[INFO] [stdout] bbe5028ce831e5746d3fda81f49cca183d4774a377902518e59e5b0b1d97d01a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d98081679d5f31279205eca0a89703fd0f7979203420ff193c96e25ce17de6bd
[INFO] running `Command { std: "docker" "start" "-a" "d98081679d5f31279205eca0a89703fd0f7979203420ff193c96e25ce17de6bd", 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)]` (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 `test` profile [unoptimized + debuginfo] target(s) in 0.49s
[INFO] running `Command { std: "docker" "inspect" "d98081679d5f31279205eca0a89703fd0f7979203420ff193c96e25ce17de6bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d98081679d5f31279205eca0a89703fd0f7979203420ff193c96e25ce17de6bd", kill_on_drop: false }`
[INFO] [stdout] d98081679d5f31279205eca0a89703fd0f7979203420ff193c96e25ce17de6bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5120f54d44739f0f9839355b5ea081d1e3c81bd0acaad99302442f89027d4e3a
[INFO] running `Command { std: "docker" "start" "-a" "5120f54d44739f0f9839355b5ea081d1e3c81bd0acaad99302442f89027d4e3a", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `fun`
[INFO] [stderr]   --> src/value.rs:32:25
[INFO] [stderr]    |
[INFO] [stderr] 32 |         Value::Function(fun) => print!("ObjFunction: {}", "(fun)"),
[INFO] [stderr]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `func`
[INFO] [stderr]   --> src/value.rs:42:28
[INFO] [stderr]    |
[INFO] [stderr] 42 |             Self::Function(func) => write!(f, "{}", "(func)"),
[INFO] [stderr]    |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:404:26
[INFO] [stderr]     |
[INFO] [stderr] 404 |     fn binary(&mut self, can_assign: bool) {
[INFO] [stderr]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:424:27
[INFO] [stderr]     |
[INFO] [stderr] 424 |     fn literal(&mut self, can_assign: bool) {
[INFO] [stderr]     |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:433:28
[INFO] [stderr]     |
[INFO] [stderr] 433 |     fn grouping(&mut self, can_assign: bool) {
[INFO] [stderr]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:438:26
[INFO] [stderr]     |
[INFO] [stderr] 438 |     fn number(&mut self, can_assign: bool) {
[INFO] [stderr]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:443:22
[INFO] [stderr]     |
[INFO] [stderr] 443 |     fn or(&mut self, can_assign: bool) {
[INFO] [stderr]     |                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:454:26
[INFO] [stderr]     |
[INFO] [stderr] 454 |     fn string(&mut self, can_assign: bool) {
[INFO] [stderr]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:483:25
[INFO] [stderr]     |
[INFO] [stderr] 483 |     fn unary(&mut self, can_assign: bool) {
[INFO] [stderr]     |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:581:23
[INFO] [stderr]     |
[INFO] [stderr] 581 |     fn and(&mut self, can_assign: bool) {
[INFO] [stderr]     |                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Function` is never constructed
[INFO] [stderr]   --> src/compiler.rs:78:5
[INFO] [stderr]    |
[INFO] [stderr] 77 | enum FunctionType {
[INFO] [stderr]    |      ------------ variant in this enum
[INFO] [stderr] 78 |     Function,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `fn_type` is never read
[INFO] [stderr]   --> src/compiler.rs:84:5
[INFO] [stderr]    |
[INFO] [stderr] 82 | pub struct Compiler<'src> {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] 83 |     pub function: Function,
[INFO] [stderr] 84 |     fn_type: FunctionType,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]  --> src/scanner.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 |     pub fn new(source: &str) -> Scanner {
[INFO] [stderr]   |                        ^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]   |                        |
[INFO] [stderr]   |                        the lifetime is elided here
[INFO] [stderr]   |
[INFO] [stderr]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]   |
[INFO] [stderr] 9 |     pub fn new(source: &str) -> Scanner<'_> {
[INFO] [stderr]   |                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rslox` (bin "rslox" test) generated 13 warnings (run `cargo fix --bin "rslox" -p rslox --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rslox-7a34fcdc548549d4)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5120f54d44739f0f9839355b5ea081d1e3c81bd0acaad99302442f89027d4e3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5120f54d44739f0f9839355b5ea081d1e3c81bd0acaad99302442f89027d4e3a", kill_on_drop: false }`
[INFO] [stdout] 5120f54d44739f0f9839355b5ea081d1e3c81bd0acaad99302442f89027d4e3a
