[INFO] cloning repository https://github.com/n0Oo0Oo0b/cambridgescript-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n0Oo0Oo0b/cambridgescript-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn0Oo0Oo0b%2Fcambridgescript-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn0Oo0Oo0b%2Fcambridgescript-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa472984d54bd55162200601ef5ed83279593321 [INFO] checking n0Oo0Oo0b/cambridgescript-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn0Oo0Oo0b%2Fcambridgescript-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/n0Oo0Oo0b/cambridgescript-rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/n0Oo0Oo0b/cambridgescript-rust [INFO] finished tweaking git repo https://github.com/n0Oo0Oo0b/cambridgescript-rust [INFO] tweaked toml for git repo https://github.com/n0Oo0Oo0b/cambridgescript-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/n0Oo0Oo0b/cambridgescript-rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1730cd3282311c1a03b9f27e7c0acf48c743cf9e828100ac89b9c7814556679f [INFO] running `Command { std: "docker" "start" "-a" "1730cd3282311c1a03b9f27e7c0acf48c743cf9e828100ac89b9c7814556679f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1730cd3282311c1a03b9f27e7c0acf48c743cf9e828100ac89b9c7814556679f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1730cd3282311c1a03b9f27e7c0acf48c743cf9e828100ac89b9c7814556679f", kill_on_drop: false }` [INFO] [stdout] 1730cd3282311c1a03b9f27e7c0acf48c743cf9e828100ac89b9c7814556679f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b602826805a6475ead5a09adfcda94003e6435e63a55740323eec2661067f60 [INFO] running `Command { std: "docker" "start" "-a" "0b602826805a6475ead5a09adfcda94003e6435e63a55740323eec2661067f60", kill_on_drop: false }` [INFO] [stderr] Checking cambridgescript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/ast/expr.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | Binary { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 27 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | operator: BinaryOperator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `right` are never read [INFO] [stdout] --> src/ast/expr.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | Unary { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 32 | operator: UnaryOperator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | 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 `function` and `args` are never read [INFO] [stdout] --> src/ast/expr.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | FunctionCall { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 36 | function: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | 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: fields `array` and `indexes` are never read [INFO] [stdout] --> src/ast/expr.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | ArrayIndex { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 40 | array: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | indexes: 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 `handle` is never read [INFO] [stdout] --> src/ast/expr.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | Identifier { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 44 | handle: usize, [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 `0` is never read [INFO] [stdout] --> src/ast/expr.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 51 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | String(Rc), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 52 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Integer(i64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 53 | Integer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | Real(f64), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 54 | Real(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 55 | Boolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Read` and `Write` are never constructed [INFO] [stdout] --> src/ast/stmt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FileMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMode` 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/stmt.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | ProcedureDecl { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 12 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | params: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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`, `return_type`, and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | FunctionDecl { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 17 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | params: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `condition`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/ast/stmt.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 23 | condition: Expr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | then_branch: Block, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | else_branch: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `target`, `start`, `end`, `step`, and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | ForLoop { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 33 | target: Expr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | start: Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | end: Expr, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | step: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `body` and `condition` are never read [INFO] [stdout] --> src/ast/stmt.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | RepeatUntil { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 40 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | condition: Expr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `condition` and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | While { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 44 | condition: Expr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `type_` are never read [INFO] [stdout] --> src/ast/stmt.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | VariableDecl { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 48 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `value` are never read [INFO] [stdout] --> src/ast/stmt.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | ConstantDecl { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 52 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | value: Literal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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/stmt.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | Input(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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] 55 | Input(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | Output(Vec), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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] 56 | Output(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | Return(Expr), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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] 57 | Return(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `value` are never read [INFO] [stdout] --> src/ast/stmt.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | Assignment { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 78 | target: Expr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | value: Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `CaseOf`, `FileOpen`, `FileRead`, `FileWrite`, `FileClose`, and `Procedure` are never constructed [INFO] [stdout] --> src/ast/stmt.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | CaseOf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | FileOpen { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | FileRead { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | FileWrite { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | FileClose { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Procedure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `contents` is never read [INFO] [stdout] --> src/ast/stmt.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 85 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `type_` are never read [INFO] [stdout] --> src/ast/stmt.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 90 | pub name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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/types.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Primitive(PrimitiveType), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 6 | Primitive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/ast/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 5 | Array(ArrayType), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 `inner_type` and `ranges` are never read [INFO] [stdout] --> src/ast/types.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ArrayType { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub inner_type: PrimitiveType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub ranges: Vec<(Expr, Expr)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayType` 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/parser.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | UnexpectedToken(Token), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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] 8 | UnexpectedToken(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parser.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn parse_expression(tokens: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/parser.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn parse_statement(tokens: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | InvalidCharLiteral(Location), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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] 73 | InvalidCharLiteral(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | UnterminatedString(Location), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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] 74 | UnterminatedString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | InvalidRealLiteral(Location), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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] 75 | InvalidRealLiteral(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/scanner.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | UnexpectedCharacter(char, Location), [INFO] [stdout] | ------------------- ^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 76 | UnexpectedCharacter((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexeme` and `location` are never read [INFO] [stdout] --> src/scanner.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 81 | pub type_: TokenType, [INFO] [stdout] 82 | pub lexeme: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/ast/expr.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | Binary { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 27 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | operator: BinaryOperator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `right` are never read [INFO] [stdout] --> src/ast/expr.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | Unary { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 32 | operator: UnaryOperator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | 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 `function` and `args` are never read [INFO] [stdout] --> src/ast/expr.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | FunctionCall { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 36 | function: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | 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: fields `array` and `indexes` are never read [INFO] [stdout] --> src/ast/expr.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | ArrayIndex { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 40 | array: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | indexes: 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 `handle` is never read [INFO] [stdout] --> src/ast/expr.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | Identifier { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 44 | handle: usize, [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 `0` is never read [INFO] [stdout] --> src/ast/expr.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 51 | Char(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | String(Rc), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 52 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Integer(i64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 53 | Integer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | Real(f64), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 54 | Real(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/expr.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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] 55 | Boolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Read` and `Write` are never constructed [INFO] [stdout] --> src/ast/stmt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FileMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileMode` 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/stmt.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | ProcedureDecl { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 12 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | params: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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`, `return_type`, and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | FunctionDecl { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 17 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | params: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `condition`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/ast/stmt.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 23 | condition: Expr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | then_branch: Block, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | else_branch: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `target`, `start`, `end`, `step`, and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | ForLoop { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 33 | target: Expr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | start: Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | end: Expr, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | step: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `body` and `condition` are never read [INFO] [stdout] --> src/ast/stmt.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | RepeatUntil { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 40 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | condition: Expr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `condition` and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | While { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 44 | condition: Expr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `type_` are never read [INFO] [stdout] --> src/ast/stmt.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | VariableDecl { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 48 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `value` are never read [INFO] [stdout] --> src/ast/stmt.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | ConstantDecl { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 52 | name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | value: Literal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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/stmt.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | Input(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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] 55 | Input(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | Output(Vec), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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] 56 | Output(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | Return(Expr), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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] 57 | Return(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `value` are never read [INFO] [stdout] --> src/ast/stmt.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | Assignment { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 78 | target: Expr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | value: Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `CaseOf`, `FileOpen`, `FileRead`, `FileWrite`, `FileClose`, and `Procedure` are never constructed [INFO] [stdout] --> src/ast/stmt.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | CaseOf { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | FileOpen { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | FileRead { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | FileWrite { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | FileClose { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Procedure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `contents` is never read [INFO] [stdout] --> src/ast/stmt.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 85 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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 `type_` are never read [INFO] [stdout] --> src/ast/stmt.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 90 | pub name: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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/types.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Primitive(PrimitiveType), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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] 6 | Primitive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/ast/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 5 | Array(ArrayType), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 `inner_type` and `ranges` are never read [INFO] [stdout] --> src/ast/types.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ArrayType { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub inner_type: PrimitiveType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub ranges: Vec<(Expr, Expr)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayType` 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/parser.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | UnexpectedToken(Token), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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] 8 | UnexpectedToken(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parser.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn parse_expression(tokens: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/parser.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn parse_statement(tokens: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | InvalidCharLiteral(Location), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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] 73 | InvalidCharLiteral(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | UnterminatedString(Location), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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] 74 | UnterminatedString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/scanner.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | InvalidRealLiteral(Location), [INFO] [stdout] | ------------------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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] 75 | InvalidRealLiteral(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/scanner.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | UnexpectedCharacter(char, Location), [INFO] [stdout] | ------------------- ^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 76 | UnexpectedCharacter((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexeme` and `location` are never read [INFO] [stdout] --> src/scanner.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 81 | pub type_: TokenType, [INFO] [stdout] 82 | pub lexeme: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "0b602826805a6475ead5a09adfcda94003e6435e63a55740323eec2661067f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b602826805a6475ead5a09adfcda94003e6435e63a55740323eec2661067f60", kill_on_drop: false }` [INFO] [stdout] 0b602826805a6475ead5a09adfcda94003e6435e63a55740323eec2661067f60