[INFO] cloning repository https://github.com/gabriel128/relox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabriel128/relox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel128%2Frelox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel128%2Frelox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aabbbc4b6f500ec1134ea524759d31315dca25c7 [INFO] checking gabriel128/relox against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel128%2Frelox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabriel128/relox 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/gabriel128/relox [INFO] finished tweaking git repo https://github.com/gabriel128/relox [INFO] tweaked toml for git repo https://github.com/gabriel128/relox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gabriel128/relox 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e235cbc7615c79d61cd76b1fc7725b6fed446892b8654cc6ccaae1714d6b0ac6 [INFO] running `Command { std: "docker" "start" "-a" "e235cbc7615c79d61cd76b1fc7725b6fed446892b8654cc6ccaae1714d6b0ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e235cbc7615c79d61cd76b1fc7725b6fed446892b8654cc6ccaae1714d6b0ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e235cbc7615c79d61cd76b1fc7725b6fed446892b8654cc6ccaae1714d6b0ac6", kill_on_drop: false }` [INFO] [stdout] e235cbc7615c79d61cd76b1fc7725b6fed446892b8654cc6ccaae1714d6b0ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d68188771a54e5052e272a214fd87c5dd0e9ae78f096119fc38066794eae7cd3 [INFO] running `Command { std: "docker" "start" "-a" "d68188771a54e5052e272a214fd87c5dd0e9ae78f096119fc38066794eae7cd3", kill_on_drop: false }` [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking relox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stdout] warning: variant `Not` is never constructed [INFO] [stdout] --> src/bytecode/chunk.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum OpCode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` 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: methods `is_empty` and `dissasemble` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Or`, `And`, `Equality`, `Comparison`, `Call`, and `Primary` are never constructed [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Or, // or [INFO] [stdout] | ^^ [INFO] [stdout] 15 | And, // and [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Equality, // == != [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Comparison, // < > <= >= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Call, // . () [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `String`, `Number`, and `Nil` are never constructed [INFO] [stdout] --> src/grammar/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ExprLiteral { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Number(f32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal`, `Grouping`, `Binary`, and `Unary` are never constructed [INFO] [stdout] --> src/grammar/expr.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 14 | Literal(ExprLiteral), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Grouping(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Binary(Box, Token, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Unary(Token, Box), // More efficient ? Binary(Box<(Expr<'a>, Expr<'a>)>, &'a Token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn one_or_many(&mut self, token_types: Vec, mut f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn expression(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn equality(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn comparison(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn term(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn factor(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn unary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn primary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn consume(&mut self, token_type: TokenType, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/scanner/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `dissasemble` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Or`, `And`, `Equality`, `Comparison`, `Call`, and `Primary` are never constructed [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Or, // or [INFO] [stdout] | ^^ [INFO] [stdout] 15 | And, // and [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Equality, // == != [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Comparison, // < > <= >= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Call, // . () [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/scanner/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "d68188771a54e5052e272a214fd87c5dd0e9ae78f096119fc38066794eae7cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68188771a54e5052e272a214fd87c5dd0e9ae78f096119fc38066794eae7cd3", kill_on_drop: false }` [INFO] [stdout] d68188771a54e5052e272a214fd87c5dd0e9ae78f096119fc38066794eae7cd3 [INFO] checking gabriel128/relox against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel128%2Frelox" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabriel128/relox 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/gabriel128/relox [INFO] finished tweaking git repo https://github.com/gabriel128/relox [INFO] tweaked toml for git repo https://github.com/gabriel128/relox written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gabriel128/relox 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 784c32a204a0dfb914dcbb0baae7979daebd847d1850e815d0ee6fce6aee9d1f [INFO] running `Command { std: "docker" "start" "-a" "784c32a204a0dfb914dcbb0baae7979daebd847d1850e815d0ee6fce6aee9d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "784c32a204a0dfb914dcbb0baae7979daebd847d1850e815d0ee6fce6aee9d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "784c32a204a0dfb914dcbb0baae7979daebd847d1850e815d0ee6fce6aee9d1f", kill_on_drop: false }` [INFO] [stdout] 784c32a204a0dfb914dcbb0baae7979daebd847d1850e815d0ee6fce6aee9d1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 575d81ce683bd1be6600a800c679924a5e1ca73837aae8d563d36c7ebf2d45cc [INFO] running `Command { std: "docker" "start" "-a" "575d81ce683bd1be6600a800c679924a5e1ca73837aae8d563d36c7ebf2d45cc", kill_on_drop: false }` [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking relox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stdout] warning: variant `Not` is never constructed [INFO] [stdout] --> src/bytecode/chunk.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum OpCode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` 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: methods `is_empty` and `dissasemble` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Or`, `And`, `Equality`, `Comparison`, `Call`, and `Primary` are never constructed [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Or, // or [INFO] [stdout] | ^^ [INFO] [stdout] 15 | And, // and [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Equality, // == != [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Comparison, // < > <= >= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Call, // . () [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `String`, `Number`, and `Nil` are never constructed [INFO] [stdout] --> src/grammar/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ExprLiteral { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Number(f32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal`, `Grouping`, `Binary`, and `Unary` are never constructed [INFO] [stdout] --> src/grammar/expr.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 14 | Literal(ExprLiteral), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Grouping(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Binary(Box, Token, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Unary(Token, Box), // More efficient ? Binary(Box<(Expr<'a>, Expr<'a>)>, &'a Token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn one_or_many(&mut self, token_types: Vec, mut f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn expression(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn equality(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn comparison(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn term(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn factor(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn unary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn primary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn consume(&mut self, token_type: TokenType, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/scanner/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `dissasemble` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Or`, `And`, `Equality`, `Comparison`, `Call`, and `Primary` are never constructed [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Or, // or [INFO] [stdout] | ^^ [INFO] [stdout] 15 | And, // and [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Equality, // == != [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Comparison, // < > <= >= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Call, // . () [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/scanner/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "575d81ce683bd1be6600a800c679924a5e1ca73837aae8d563d36c7ebf2d45cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575d81ce683bd1be6600a800c679924a5e1ca73837aae8d563d36c7ebf2d45cc", kill_on_drop: false }` [INFO] [stdout] 575d81ce683bd1be6600a800c679924a5e1ca73837aae8d563d36c7ebf2d45cc