[INFO] cloning repository https://github.com/JoaoPaulo-creator/javascript-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoaoPaulo-creator/javascript-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoaoPaulo-creator%2Fjavascript-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoaoPaulo-creator%2Fjavascript-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33df2b3a86352e348db7d2ba9879fb1f4f61acc4 [INFO] checking JoaoPaulo-creator/javascript-compiler against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoaoPaulo-creator%2Fjavascript-compiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JoaoPaulo-creator/javascript-compiler [INFO] finished tweaking git repo https://github.com/JoaoPaulo-creator/javascript-compiler [INFO] tweaked toml for git repo https://github.com/JoaoPaulo-creator/javascript-compiler written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoaoPaulo-creator/javascript-compiler on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JoaoPaulo-creator/javascript-compiler 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking JoaoPaulo-creator/javascript-compiler against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoaoPaulo-creator%2Fjavascript-compiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JoaoPaulo-creator/javascript-compiler [INFO] finished tweaking git repo https://github.com/JoaoPaulo-creator/javascript-compiler [INFO] tweaked toml for git repo https://github.com/JoaoPaulo-creator/javascript-compiler written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoaoPaulo-creator/javascript-compiler on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JoaoPaulo-creator/javascript-compiler 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inkwell_internals v0.11.0 [INFO] [stderr] Downloaded llvm-sys v170.2.0 [INFO] [stderr] Downloaded inkwell v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efa1ead1743848c04751b1254c5d65e3a2e02764e28136c70afba6b6b192954b [INFO] running `Command { std: "docker" "start" "-a" "efa1ead1743848c04751b1254c5d65e3a2e02764e28136c70afba6b6b192954b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efa1ead1743848c04751b1254c5d65e3a2e02764e28136c70afba6b6b192954b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa1ead1743848c04751b1254c5d65e3a2e02764e28136c70afba6b6b192954b", kill_on_drop: false }` [INFO] [stdout] efa1ead1743848c04751b1254c5d65e3a2e02764e28136c70afba6b6b192954b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a86cfbcc9000f5ff8f268f9cb18961e7a04ef9b7b43042fbf84d54ae1f8c3c [INFO] running `Command { std: "docker" "start" "-a" "07a86cfbcc9000f5ff8f268f9cb18961e7a04ef9b7b43042fbf84d54ae1f8c3c", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling inkwell v0.6.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling llvm-sys v170.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling inkwell_internals v0.11.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking javascript-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/lexer.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let tok = match ident.as_str() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/lexer.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let tok = match ident.as_str() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions` and `statements` are never read [INFO] [stdout] --> src/ast.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Program { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | pub statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions` and `statements` are never read [INFO] [stdout] --> src/ast.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Program { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | pub statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expr` are never read [INFO] [stdout] --> src/ast.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | Assign { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/ast.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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 `expr` is never read [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | Print { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 21 | expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expr` are never read [INFO] [stdout] --> src/ast.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | Assign { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | ExprStmt(Expr), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 29 - ExprStmt(Expr), [INFO] [stdout] 29 + ExprStmt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expr` is never read [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | Print { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 21 | expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `If` is never constructed [INFO] [stdout] --> src/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | If { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `0` is never read [INFO] [stdout] --> src/ast.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | StrLiteral(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 34 - StrLiteral(String), [INFO] [stdout] 34 + StrLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | ExprStmt(Expr), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 29 - ExprStmt(Expr), [INFO] [stdout] 29 + ExprStmt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | Binary { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 37 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | right: Box, [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: fields `name` and `args` are never read [INFO] [stdout] --> src/ast.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | Call { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 42 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | args: Vec, [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: variant `If` is never constructed [INFO] [stdout] --> src/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | If { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `array` is never read [INFO] [stdout] --> src/ast.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | Length { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 46 | array: Box, [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: variants `Plus` and `Minus` are never constructed [INFO] [stdout] --> src/ast.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` 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: field `0` is never read [INFO] [stdout] --> src/ast.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | StrLiteral(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 34 - StrLiteral(String), [INFO] [stdout] 34 + StrLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | Binary { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 37 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | right: Box, [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: fields `name` and `args` are never read [INFO] [stdout] --> src/ast.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | Call { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 42 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | args: Vec, [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: field `array` is never read [INFO] [stdout] --> src/ast.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | Length { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 46 | array: Box, [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: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | StrLiteral(String), [INFO] [stdout] 9 | BoolLiteral(bool), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | LBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | RBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | Comma, [INFO] [stdout] 21 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | Ge, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | Eq, [INFO] [stdout] 28 | EqEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Ne, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | NeEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | Le, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | Plus, [INFO] [stdout] 34 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 `Plus` and `Minus` are never constructed [INFO] [stdout] --> src/ast.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` 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: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | StrLiteral(String), [INFO] [stdout] 9 | BoolLiteral(bool), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | LBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | RBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | Comma, [INFO] [stdout] 21 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | Ge, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | Eq, [INFO] [stdout] 28 | EqEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Ne, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | NeEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | Le, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | Plus, [INFO] [stdout] 34 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "07a86cfbcc9000f5ff8f268f9cb18961e7a04ef9b7b43042fbf84d54ae1f8c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a86cfbcc9000f5ff8f268f9cb18961e7a04ef9b7b43042fbf84d54ae1f8c3c", kill_on_drop: false }` [INFO] [stdout] 07a86cfbcc9000f5ff8f268f9cb18961e7a04ef9b7b43042fbf84d54ae1f8c3c