[INFO] cloning repository https://github.com/s-mv/smvlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s-mv/smvlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-mv%2Fsmvlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-mv%2Fsmvlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02b5b1c16175ae847d07bb16fad85c731a2af22f [INFO] checking s-mv/smvlang against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-mv%2Fsmvlang" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/s-mv/smvlang [INFO] finished tweaking git repo https://github.com/s-mv/smvlang [INFO] tweaked toml for git repo https://github.com/s-mv/smvlang written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/s-mv/smvlang on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/s-mv/smvlang 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69259437833ae6203947bf8afb0187a4e0a6a7b305dfd15cad27ea1f57f03735 [INFO] running `Command { std: "docker" "start" "-a" "69259437833ae6203947bf8afb0187a4e0a6a7b305dfd15cad27ea1f57f03735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69259437833ae6203947bf8afb0187a4e0a6a7b305dfd15cad27ea1f57f03735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69259437833ae6203947bf8afb0187a4e0a6a7b305dfd15cad27ea1f57f03735", kill_on_drop: false }` [INFO] [stdout] 69259437833ae6203947bf8afb0187a4e0a6a7b305dfd15cad27ea1f57f03735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f65e62c73fc60f28d3df6b136446b2541693a50cf36d4ae427304ab4eb9673 [INFO] running `Command { std: "docker" "start" "-a" "76f65e62c73fc60f28d3df6b136446b2541693a50cf36d4ae427304ab4eb9673", kill_on_drop: false }` [INFO] [stderr] Checking rschain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/lexer/lexer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 45 | pub token_type: TokenType, [INFO] [stdout] 46 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: field `statements` is never read [INFO] [stdout] --> src/parser/ast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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/parser/ast.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | Assignment(Assignment), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 10 - Assignment(Assignment), [INFO] [stdout] 10 + Assignment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | If(If), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 11 - If(If), [INFO] [stdout] 11 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Call(Call), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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 - Call(Call), [INFO] [stdout] 12 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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 - Identifier(String), [INFO] [stdout] 14 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Integer(i64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 15 - Integer(i64), [INFO] [stdout] 15 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 16 - Float(f64), [INFO] [stdout] 16 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Infix` is never constructed [INFO] [stdout] --> src/parser/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Infix(Infix), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: fields `identifier` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` 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: fields `condition`, `then_block`, and `else_block` are never read [INFO] [stdout] --> src/parser/ast.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 27 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub then_block: Block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub else_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` 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: fields `callee` and `arguments` are never read [INFO] [stdout] --> src/parser/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Call { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 34 | pub callee: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` 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: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Infix { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 40 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub operator: InfixOp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Infix` 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/parser/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum InfixOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 47 | Plus, // + [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | Minus, // - [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | DoubleEquals, // == [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | NotEquals, // != [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | Star, // * [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | Slash, // / [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | GreaterThan, // > [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | GreaterEquals, // >= [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | LessThan, // < [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | LessEquals, // <= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixOp` 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 `map_operator` is never used [INFO] [stdout] --> src/parser/ast.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl InfixOp { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 60 | pub fn map_operator(symbol: Symbol) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/lexer/lexer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 45 | pub token_type: TokenType, [INFO] [stdout] 46 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | Assignment(Assignment), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 10 - Assignment(Assignment), [INFO] [stdout] 10 + Assignment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | If(If), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 11 - If(If), [INFO] [stdout] 11 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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 - Identifier(String), [INFO] [stdout] 14 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Integer(i64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 15 - Integer(i64), [INFO] [stdout] 15 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are 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] 16 - Float(f64), [INFO] [stdout] 16 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Infix` is never constructed [INFO] [stdout] --> src/parser/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Infix(Infix), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: fields `identifier` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Assignment { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` 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: fields `condition`, `then_block`, and `else_block` are never read [INFO] [stdout] --> src/parser/ast.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 27 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub then_block: Block, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub else_block: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` 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: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Infix { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 40 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub operator: InfixOp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Infix` 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/parser/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum InfixOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 47 | Plus, // + [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | Minus, // - [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | DoubleEquals, // == [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | NotEquals, // != [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | Star, // * [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | Slash, // / [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | GreaterThan, // > [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | GreaterEquals, // >= [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | LessThan, // < [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | LessEquals, // <= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixOp` 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 `map_operator` is never used [INFO] [stdout] --> src/parser/ast.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl InfixOp { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 60 | pub fn map_operator(symbol: Symbol) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "76f65e62c73fc60f28d3df6b136446b2541693a50cf36d4ae427304ab4eb9673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f65e62c73fc60f28d3df6b136446b2541693a50cf36d4ae427304ab4eb9673", kill_on_drop: false }` [INFO] [stdout] 76f65e62c73fc60f28d3df6b136446b2541693a50cf36d4ae427304ab4eb9673