[INFO] cloning repository https://github.com/jufer002/lox-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jufer002/lox-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5306e472cacacce9e6eef880be21ccac1d3e3d6c [INFO] checking jufer002/lox-interpreter against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jufer002/lox-interpreter on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jufer002/lox-interpreter [INFO] finished tweaking git repo https://github.com/jufer002/lox-interpreter [INFO] tweaked toml for git repo https://github.com/jufer002/lox-interpreter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jufer002/lox-interpreter 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c2c3feb9b55a34eac4d510da590c3a4c6a7b39b727b6282d54b4eebe4e801d3 [INFO] running `Command { std: "docker" "start" "-a" "6c2c3feb9b55a34eac4d510da590c3a4c6a7b39b727b6282d54b4eebe4e801d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c2c3feb9b55a34eac4d510da590c3a4c6a7b39b727b6282d54b4eebe4e801d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2c3feb9b55a34eac4d510da590c3a4c6a7b39b727b6282d54b4eebe4e801d3", kill_on_drop: false }` [INFO] [stdout] 6c2c3feb9b55a34eac4d510da590c3a4c6a7b39b727b6282d54b4eebe4e801d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c16d707fa1f342c40a1598a84a1b4a19402bbe1f45933c3b87a45c8d17fa6583 [INFO] running `Command { std: "docker" "start" "-a" "c16d707fa1f342c40a1598a84a1b4a19402bbe1f45933c3b87a45c8d17fa6583", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking lox-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stdout] warning: fields `tokens` and `curr` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | curr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn consume(&mut self, tok_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn check(&self, tok_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prev(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed [INFO] [stdout] --> src/lexer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LitType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_type` and `str_val` are never used [INFO] [stdout] --> src/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn op_type(&self) -> Option<&OpType> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn str_val(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stdout] warning: fields `tokens` and `curr` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | curr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn consume(&mut self, tok_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn check(&self, tok_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prev(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed [INFO] [stdout] --> src/lexer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LitType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_type` and `str_val` are never used [INFO] [stdout] --> src/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn op_type(&self) -> Option<&OpType> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn str_val(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.79s [INFO] running `Command { std: "docker" "inspect" "c16d707fa1f342c40a1598a84a1b4a19402bbe1f45933c3b87a45c8d17fa6583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16d707fa1f342c40a1598a84a1b4a19402bbe1f45933c3b87a45c8d17fa6583", kill_on_drop: false }` [INFO] [stdout] c16d707fa1f342c40a1598a84a1b4a19402bbe1f45933c3b87a45c8d17fa6583 [INFO] checking jufer002/lox-interpreter against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jufer002/lox-interpreter on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jufer002/lox-interpreter [INFO] finished tweaking git repo https://github.com/jufer002/lox-interpreter [INFO] tweaked toml for git repo https://github.com/jufer002/lox-interpreter written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jufer002/lox-interpreter 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da7d27d67036846b075a159f83c160fa8a6553a73d1958e93dc87793fdcda02d [INFO] running `Command { std: "docker" "start" "-a" "da7d27d67036846b075a159f83c160fa8a6553a73d1958e93dc87793fdcda02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da7d27d67036846b075a159f83c160fa8a6553a73d1958e93dc87793fdcda02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da7d27d67036846b075a159f83c160fa8a6553a73d1958e93dc87793fdcda02d", kill_on_drop: false }` [INFO] [stdout] da7d27d67036846b075a159f83c160fa8a6553a73d1958e93dc87793fdcda02d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3719e23f9b3ebe2b8a500bacc271fb32525ba5ff1cdda5d8a636caa2987324c8 [INFO] running `Command { std: "docker" "start" "-a" "3719e23f9b3ebe2b8a500bacc271fb32525ba5ff1cdda5d8a636caa2987324c8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking lox-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stdout] warning: fields `tokens` and `curr` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | curr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn consume(&mut self, tok_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn check(&self, tok_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prev(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed [INFO] [stdout] --> src/lexer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LitType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_type` and `str_val` are never used [INFO] [stdout] --> src/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn op_type(&self) -> Option<&OpType> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn str_val(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed [INFO] [stdout] --> src/lexer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LitType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_type` and `str_val` are never used [INFO] [stdout] --> src/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn op_type(&self) -> Option<&OpType> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn str_val(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tokens` and `curr` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | curr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn consume(&mut self, tok_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn check(&self, tok_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prev(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.20s [INFO] running `Command { std: "docker" "inspect" "3719e23f9b3ebe2b8a500bacc271fb32525ba5ff1cdda5d8a636caa2987324c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3719e23f9b3ebe2b8a500bacc271fb32525ba5ff1cdda5d8a636caa2987324c8", kill_on_drop: false }` [INFO] [stdout] 3719e23f9b3ebe2b8a500bacc271fb32525ba5ff1cdda5d8a636caa2987324c8