[INFO] cloning repository https://github.com/JSH32/iodine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JSH32/iodine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJSH32%2Fiodine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJSH32%2Fiodine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ffda1c0c70b13a25cb7bdf66e7ff559043da1c0 [INFO] checking JSH32/iodine against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJSH32%2Fiodine" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JSH32/iodine [INFO] finished tweaking git repo https://github.com/JSH32/iodine [INFO] tweaked toml for git repo https://github.com/JSH32/iodine written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JSH32/iodine on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JSH32/iodine 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6e8950071ac174dbcbae6d47170ec0c32bd22f9b9aef23e424a892d17c28815 [INFO] running `Command { std: "docker" "start" "-a" "e6e8950071ac174dbcbae6d47170ec0c32bd22f9b9aef23e424a892d17c28815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6e8950071ac174dbcbae6d47170ec0c32bd22f9b9aef23e424a892d17c28815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e8950071ac174dbcbae6d47170ec0c32bd22f9b9aef23e424a892d17c28815", kill_on_drop: false }` [INFO] [stdout] e6e8950071ac174dbcbae6d47170ec0c32bd22f9b9aef23e424a892d17c28815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50ab5ee38eb06642ec0b78693b30fc1c198fbb5c7134be910e42739a7bef9306 [INFO] running `Command { std: "docker" "start" "-a" "50ab5ee38eb06642ec0b78693b30fc1c198fbb5c7134be910e42739a7bef9306", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking iodine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn lex(input: &str) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lex` is never used [INFO] [stdout] --> src/lexer/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn lex(&mut self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/parser/ast.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Node { [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 | Expression(Expression), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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 - Expression(Expression), [INFO] [stdout] 14 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Let(DeclareStatement), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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 - Let(DeclareStatement), [INFO] [stdout] 15 + Let(()), [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 | Const(DeclareStatement), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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 - Const(DeclareStatement), [INFO] [stdout] 16 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Return(ReturnStatement), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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] 17 - Return(ReturnStatement), [INFO] [stdout] 17 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 23 - Identifier(String), [INFO] [stdout] 23 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Integer(token::Integer), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 24 - Integer(token::Integer), [INFO] [stdout] 24 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Float(token::Float), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 25 - Float(token::Float), [INFO] [stdout] 25 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 26 - Boolean(bool), [INFO] [stdout] 26 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 27 - String(String), [INFO] [stdout] 27 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Array(ArrayLiteral), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 28 - Array(ArrayLiteral), [INFO] [stdout] 28 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | Prefix(PrefixExpression), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 29 - Prefix(PrefixExpression), [INFO] [stdout] 29 + Prefix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | Infix(InfixExpression), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 30 - Infix(InfixExpression), [INFO] [stdout] 30 + Infix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | If(IfExpression), [INFO] [stdout] | -- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 31 - If(IfExpression), [INFO] [stdout] 31 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunctionLiteral), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 32 - Function(FunctionLiteral), [INFO] [stdout] 32 + Function(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | Call(CallExpression), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 33 - Call(CallExpression), [INFO] [stdout] 33 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Index(IndexExpression), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 34 - Index(IndexExpression), [INFO] [stdout] 34 + Index(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Hash(HashLiteral), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 35 - Hash(HashLiteral), [INFO] [stdout] 35 + Hash(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Assign(AssignExpression) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 36 - Assign(AssignExpression) [INFO] [stdout] 36 + Assign(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elements` is never read [INFO] [stdout] --> src/parser/ast.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ArrayLiteral { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 41 | pub elements: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayLiteral` 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: fields `operator` and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct PrefixExpression { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 46 | pub operator: token::Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixExpression` 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: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct InfixExpression { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 52 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub operator: token::Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixExpression` 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: fields `condition`, `consequence`, and `alternative` are never read [INFO] [stdout] --> src/parser/ast.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct IfExpression { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 59 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | pub consequence: BlockStatement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | // Else statement [INFO] [stdout] 62 | pub alternative: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfExpression` 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: fields `name` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DeclareStatement { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 67 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclareStatement` 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: fields `parameters` and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct FunctionLiteral { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 73 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | pub body: BlockStatement, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionLiteral` 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: field `value` is never read [INFO] [stdout] --> src/parser/ast.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 79 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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: fields `function` and `arguments` are never read [INFO] [stdout] --> src/parser/ast.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CallExpression { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 84 | pub function: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 85 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpression` 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: fields `left` and `index` are never read [INFO] [stdout] --> src/parser/ast.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct IndexExpression { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 90 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub index: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexExpression` 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: fields `left` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct AssignExpression { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 96 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub value: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignExpression` 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: field `pairs` is never read [INFO] [stdout] --> src/parser/ast.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct HashLiteral { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 102 | pub pairs: Vec<(Expression, Expression)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashLiteral` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Name of the person to greet [INFO] [stdout] 15 | | #[clap(short, long)] [INFO] [stdout] 16 | | script: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iodine` (bin "iodine" test) due to 1 previous error; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn lex(input: &str) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lex` is never used [INFO] [stdout] --> src/lexer/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn lex(&mut self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/parser/ast.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Node { [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 | Expression(Expression), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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 - Expression(Expression), [INFO] [stdout] 14 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Let(DeclareStatement), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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 - Let(DeclareStatement), [INFO] [stdout] 15 + Let(()), [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 | Const(DeclareStatement), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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 - Const(DeclareStatement), [INFO] [stdout] 16 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Return(ReturnStatement), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, 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] 17 - Return(ReturnStatement), [INFO] [stdout] 17 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 23 - Identifier(String), [INFO] [stdout] 23 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Integer(token::Integer), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 24 - Integer(token::Integer), [INFO] [stdout] 24 + Integer(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Float(token::Float), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 25 - Float(token::Float), [INFO] [stdout] 25 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 26 - Boolean(bool), [INFO] [stdout] 26 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 27 - String(String), [INFO] [stdout] 27 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Array(ArrayLiteral), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 28 - Array(ArrayLiteral), [INFO] [stdout] 28 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | Prefix(PrefixExpression), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 29 - Prefix(PrefixExpression), [INFO] [stdout] 29 + Prefix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | Infix(InfixExpression), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 30 - Infix(InfixExpression), [INFO] [stdout] 30 + Infix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | If(IfExpression), [INFO] [stdout] | -- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 31 - If(IfExpression), [INFO] [stdout] 31 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunctionLiteral), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 32 - Function(FunctionLiteral), [INFO] [stdout] 32 + Function(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | Call(CallExpression), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 33 - Call(CallExpression), [INFO] [stdout] 33 + Call(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Index(IndexExpression), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 34 - Index(IndexExpression), [INFO] [stdout] 34 + Index(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Hash(HashLiteral), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 35 - Hash(HashLiteral), [INFO] [stdout] 35 + Hash(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Assign(AssignExpression) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, 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] 36 - Assign(AssignExpression) [INFO] [stdout] 36 + Assign(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elements` is never read [INFO] [stdout] --> src/parser/ast.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ArrayLiteral { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 41 | pub elements: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrayLiteral` 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: fields `operator` and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct PrefixExpression { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 46 | pub operator: token::Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixExpression` 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: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct InfixExpression { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 52 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub operator: token::Token, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixExpression` 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: fields `condition`, `consequence`, and `alternative` are never read [INFO] [stdout] --> src/parser/ast.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct IfExpression { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 59 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | pub consequence: BlockStatement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | // Else statement [INFO] [stdout] 62 | pub alternative: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfExpression` 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: fields `name` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DeclareStatement { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 67 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclareStatement` 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: fields `parameters` and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct FunctionLiteral { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 73 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | pub body: BlockStatement, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionLiteral` 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: field `value` is never read [INFO] [stdout] --> src/parser/ast.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 79 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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: fields `function` and `arguments` are never read [INFO] [stdout] --> src/parser/ast.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CallExpression { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 84 | pub function: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 85 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpression` 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: fields `left` and `index` are never read [INFO] [stdout] --> src/parser/ast.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct IndexExpression { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 90 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | pub index: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexExpression` 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: fields `left` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct AssignExpression { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 96 | pub left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub value: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignExpression` 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: field `pairs` is never read [INFO] [stdout] --> src/parser/ast.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct HashLiteral { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 102 | pub pairs: Vec<(Expression, Expression)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashLiteral` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Name of the person to greet [INFO] [stdout] 15 | | #[clap(short, long)] [INFO] [stdout] 16 | | script: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iodine` (bin "iodine") due to 1 previous error; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "50ab5ee38eb06642ec0b78693b30fc1c198fbb5c7134be910e42739a7bef9306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ab5ee38eb06642ec0b78693b30fc1c198fbb5c7134be910e42739a7bef9306", kill_on_drop: false }` [INFO] [stdout] 50ab5ee38eb06642ec0b78693b30fc1c198fbb5c7134be910e42739a7bef9306