[INFO] cloning repository https://github.com/pdrolopes/crafting_interpreters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdrolopes/crafting_interpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrolopes%2Fcrafting_interpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrolopes%2Fcrafting_interpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b18ef3d194a261c896e583dcc76dbc457958f16 [INFO] checking pdrolopes/crafting_interpreters against master#c9228570668803e3e6402770d55f23a12c9ae686 for pr-79472 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrolopes%2Fcrafting_interpreters" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pdrolopes/crafting_interpreters on toolchain c9228570668803e3e6402770d55f23a12c9ae686 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pdrolopes/crafting_interpreters [INFO] finished tweaking git repo https://github.com/pdrolopes/crafting_interpreters [INFO] tweaked toml for git repo https://github.com/pdrolopes/crafting_interpreters written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/pdrolopes/crafting_interpreters already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31dd0911677db2293c0f41887d5296834d1ffc15c47d78cc8af1a198e59e26ef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "31dd0911677db2293c0f41887d5296834d1ffc15c47d78cc8af1a198e59e26ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31dd0911677db2293c0f41887d5296834d1ffc15c47d78cc8af1a198e59e26ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31dd0911677db2293c0f41887d5296834d1ffc15c47d78cc8af1a198e59e26ef", kill_on_drop: false }` [INFO] [stdout] 31dd0911677db2293c0f41887d5296834d1ffc15c47d78cc8af1a198e59e26ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46db8ac792004474872a8c3f7fc3a402a0788abf3b027d4932d28b143992358b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "46db8ac792004474872a8c3f7fc3a402a0788abf3b027d4932d28b143992358b", kill_on_drop: false }` [INFO] [stderr] Checking crafting_interpreters v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | fn visit_variable_expr(&mut self, token: &Token) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast_printer.rs:64:52 [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast_printer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | cond: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_branch` [INFO] [stdout] --> src/ast_printer.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | then_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_then_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_branch` [INFO] [stdout] --> src/ast_printer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | else_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 123 | fn visit_variable_expr(&mut self, token: &Token) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast_printer.rs:127:52 [INFO] [stdout] | [INFO] [stdout] 127 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/interpreter.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn visit_block_stmt(&mut self, statements: &[stmt::Stmt]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | fn visit_variable_expr(&mut self, token: &Token) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast_printer.rs:64:52 [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast_printer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | cond: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_branch` [INFO] [stdout] --> src/ast_printer.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | then_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_then_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_branch` [INFO] [stdout] --> src/ast_printer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | else_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 123 | fn visit_variable_expr(&mut self, token: &Token) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ast_printer.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast_printer.rs:127:52 [INFO] [stdout] | [INFO] [stdout] 127 | fn visit_assign_expr(&mut self, token: &Token, expr: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/interpreter.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn visit_block_stmt(&mut self, statements: &[stmt::Stmt]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/ast_printer.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn print(&mut self, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | lox::run_file(args.last().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | lox::run_file(args.last().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "46db8ac792004474872a8c3f7fc3a402a0788abf3b027d4932d28b143992358b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46db8ac792004474872a8c3f7fc3a402a0788abf3b027d4932d28b143992358b", kill_on_drop: false }` [INFO] [stdout] 46db8ac792004474872a8c3f7fc3a402a0788abf3b027d4932d28b143992358b