[INFO] cloning repository https://github.com/agluszak/rust-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/agluszak/rust-crafting-interpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagluszak%2Frust-crafting-interpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagluszak%2Frust-crafting-interpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce20c02408b41edb8ea73a8b361b599436bd3af6 [INFO] checking agluszak/rust-crafting-interpreters against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagluszak%2Frust-crafting-interpreters" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/agluszak/rust-crafting-interpreters [INFO] finished tweaking git repo https://github.com/agluszak/rust-crafting-interpreters [INFO] tweaked toml for git repo https://github.com/agluszak/rust-crafting-interpreters written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/agluszak/rust-crafting-interpreters on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/agluszak/rust-crafting-interpreters 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcc1866b95ceb4c2377d1efc6f068c9f0fe5b5e002d3910cccfb7634e7de295e [INFO] running `Command { std: "docker" "start" "-a" "bcc1866b95ceb4c2377d1efc6f068c9f0fe5b5e002d3910cccfb7634e7de295e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcc1866b95ceb4c2377d1efc6f068c9f0fe5b5e002d3910cccfb7634e7de295e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc1866b95ceb4c2377d1efc6f068c9f0fe5b5e002d3910cccfb7634e7de295e", kill_on_drop: false }` [INFO] [stdout] bcc1866b95ceb4c2377d1efc6f068c9f0fe5b5e002d3910cccfb7634e7de295e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ed7b43b42f74035e337202e5b05c0002b84e07418ca00e4247c7af8c4dd3785 [INFO] running `Command { std: "docker" "start" "-a" "3ed7b43b42f74035e337202e5b05c0002b84e07418ca00e4247c7af8c4dd3785", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling phf_generator v0.9.1 [INFO] [stderr] Compiling phf_macros v0.9.1 [INFO] [stderr] Checking phf v0.9.1 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RunnerError` [INFO] [stdout] --> src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::runner::{Runner, RunnerError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RunnerError` [INFO] [stdout] --> src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::runner::{Runner, RunnerError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interpreter` [INFO] [stdout] --> src/interpreter.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | let mut interpreter = Interpreter::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_x` [INFO] [stdout] --> src/interpreter.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | let set_x = Stmt::Var( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_set_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | let mut interpreter = Interpreter::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_paren` [INFO] [stdout] --> src/parser.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let right_paren = if let Some(right_paren) = self.consume_token(TokenType::RightParen) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_paren` [INFO] [stdout] --> src/parser.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let right_paren = if let Some(right_paren) = self.consume_token(TokenType::RightParen) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_paren` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And` and `Or` are never constructed [INFO] [stdout] --> src/expr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil` is never constructed [INFO] [stdout] --> src/expr.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Literal { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_location` is never used [INFO] [stdout] --> src/interpreter.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl RuntimeError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 32 | fn new_with_location(error_type: RuntimeErrorType, location: Location) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `environment` is never used [INFO] [stdout] --> src/interpreter.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn environment(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn parse(tokens: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runner.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | ScannerError(Vec), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - ScannerError(Vec), [INFO] [stdout] 12 + ScannerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runner.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | ParserError(ParserError), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - ParserError(ParserError), [INFO] [stdout] 13 + ParserError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runner.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | RuntimeError(RuntimeError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - RuntimeError(RuntimeError), [INFO] [stdout] 14 + RuntimeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `require_nil` is never used [INFO] [stdout] --> src/value.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn require_nil(&self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And` and `Or` are never constructed [INFO] [stdout] --> src/expr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil` is never constructed [INFO] [stdout] --> src/expr.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Literal { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_location` is never used [INFO] [stdout] --> src/interpreter.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl RuntimeError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 32 | fn new_with_location(error_type: RuntimeErrorType, location: Location) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `environment` is never used [INFO] [stdout] --> src/interpreter.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn environment(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:534:8 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn parse(tokens: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runner.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | ScannerError(Vec), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - ScannerError(Vec), [INFO] [stdout] 12 + ScannerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runner.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | ParserError(ParserError), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - ParserError(ParserError), [INFO] [stdout] 13 + ParserError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runner.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | RuntimeError(RuntimeError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - RuntimeError(RuntimeError), [INFO] [stdout] 14 + RuntimeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/token.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 111 | pub fn new(token_type: TokenType, lexeme: String, location: Location) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `require_nil` is never used [INFO] [stdout] --> src/value.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn require_nil(&self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.70s [INFO] running `Command { std: "docker" "inspect" "3ed7b43b42f74035e337202e5b05c0002b84e07418ca00e4247c7af8c4dd3785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed7b43b42f74035e337202e5b05c0002b84e07418ca00e4247c7af8c4dd3785", kill_on_drop: false }` [INFO] [stdout] 3ed7b43b42f74035e337202e5b05c0002b84e07418ca00e4247c7af8c4dd3785