[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] 88efc61932bfd8e874341819e589f7cb1a54712f [INFO] checking pdrolopes/crafting_interpreters against try#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrolopes%2Fcrafting_interpreters" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pdrolopes/crafting_interpreters on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "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-8/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" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8f4562ba3c1a3c3d7b1e347ad19cb9c5e5ca0111696c6211f0a08109caf0975 [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" "d8f4562ba3c1a3c3d7b1e347ad19cb9c5e5ca0111696c6211f0a08109caf0975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8f4562ba3c1a3c3d7b1e347ad19cb9c5e5ca0111696c6211f0a08109caf0975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f4562ba3c1a3c3d7b1e347ad19cb9c5e5ca0111696c6211f0a08109caf0975", kill_on_drop: false }` [INFO] [stdout] d8f4562ba3c1a3c3d7b1e347ad19cb9c5e5ca0111696c6211f0a08109caf0975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39272e617d0148b545197658284c0c74823f02868a48e0b3ae9c5d4c3b9449a3 [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" "39272e617d0148b545197658284c0c74823f02868a48e0b3ae9c5d4c3b9449a3", 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: `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: `left` [INFO] [stdout] --> src/ast_printer.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/ast_printer.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/ast_printer.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast_printer.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | 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:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | 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:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | 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:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | 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:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | 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:135:52 [INFO] [stdout] | [INFO] [stdout] 135 | 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: `left` [INFO] [stdout] --> src/ast_printer.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:139:47 [INFO] [stdout] | [INFO] [stdout] 139 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/ast_printer.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/ast_printer.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast_printer.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | 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:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | 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:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | 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:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | 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:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | 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:135:52 [INFO] [stdout] | [INFO] [stdout] 135 | 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: `left` [INFO] [stdout] --> src/ast_printer.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:139:47 [INFO] [stdout] | [INFO] [stdout] 139 | fn visit_logic_or(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/ast_printer.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast_printer.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn visit_logic_and(&mut self, left: &Expr, right: &Expr) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/ast_printer.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | 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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/interpreter.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | stmt::Visitor::visit_print_stmt(self, x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `next_token_is_EOF` should have a snake case name [INFO] [stdout] --> src/parser.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let next_token_is_EOF = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_token_is_eof` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/interpreter.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | stmt::Visitor::visit_print_stmt(self, x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `next_token_is_EOF` should have a snake case name [INFO] [stdout] --> src/parser.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let next_token_is_EOF = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_token_is_eof` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "39272e617d0148b545197658284c0c74823f02868a48e0b3ae9c5d4c3b9449a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39272e617d0148b545197658284c0c74823f02868a48e0b3ae9c5d4c3b9449a3", kill_on_drop: false }` [INFO] [stdout] 39272e617d0148b545197658284c0c74823f02868a48e0b3ae9c5d4c3b9449a3