[INFO] cloning repository https://github.com/FoxowDV/kf-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FoxowDV/kf-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxowDV%2Fkf-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxowDV%2Fkf-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c9e19ebebe2dc7014e9672720fec5f40a786cda [INFO] testing FoxowDV/kf-compiler against beta-2026-01-20 for beta-1.94-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxowDV%2Fkf-compiler" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FoxowDV/kf-compiler [INFO] finished tweaking git repo https://github.com/FoxowDV/kf-compiler [INFO] tweaked toml for git repo https://github.com/FoxowDV/kf-compiler written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FoxowDV/kf-compiler on toolchain beta-2026-01-20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FoxowDV/kf-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-01-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.8.4 [INFO] [stderr] Downloaded pest_derive v2.8.4 [INFO] [stderr] Downloaded pest_meta v2.8.4 [INFO] [stderr] Downloaded pest v2.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46484fdb8a0b8387697352c8d3987cea9483ebef53c92abbef4d19a9ce2f7db7 [INFO] running `Command { std: "docker" "start" "-a" "46484fdb8a0b8387697352c8d3987cea9483ebef53c92abbef4d19a9ce2f7db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46484fdb8a0b8387697352c8d3987cea9483ebef53c92abbef4d19a9ce2f7db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46484fdb8a0b8387697352c8d3987cea9483ebef53c92abbef4d19a9ce2f7db7", kill_on_drop: false }` [INFO] [stdout] 46484fdb8a0b8387697352c8d3987cea9483ebef53c92abbef4d19a9ce2f7db7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 114e4c0c7c62feda3fcfda89690d6b2368be0c5689755c60c96d57e82a242132 [INFO] running `Command { std: "docker" "start" "-a" "114e4c0c7c62feda3fcfda89690d6b2368be0c5689755c60c96d57e82a242132", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling kf_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/parser.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ________________- [INFO] [stdout] 478 | | Rule::expression | Rule::logical_or | Rule::logical_and | [INFO] [stdout] 479 | | Rule::equality | Rule::comparison | Rule::term | Rule::factor => { [INFO] [stdout] 480 | | return parse_binary_expression(pair, source); [INFO] [stdout] ... | [INFO] [stdout] 490 | | }) [INFO] [stdout] 491 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 492 | [INFO] [stdout] 493 | Ok(Expression { kind, span }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser/parser.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/parser.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ________________- [INFO] [stdout] 478 | | Rule::expression | Rule::logical_or | Rule::logical_and | [INFO] [stdout] 479 | | Rule::equality | Rule::comparison | Rule::term | Rule::factor => { [INFO] [stdout] 480 | | return parse_binary_expression(pair, source); [INFO] [stdout] ... | [INFO] [stdout] 490 | | }) [INFO] [stdout] 491 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 492 | [INFO] [stdout] 493 | Ok(Expression { kind, span }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser/parser.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for token in tokens.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `position` are never read [INFO] [stdout] --> src/lexing/token.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenWithPosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 10 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenWithPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Utl(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 18 - Utl(String), [INFO] [stdout] 18 + Utl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Off(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 19 - Off(String), [INFO] [stdout] 19 + Off(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Onoff(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 20 - Onoff(String), [INFO] [stdout] 20 + Onoff(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | On(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 21 - On(String), [INFO] [stdout] 21 + On(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Wii(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 22 - Wii(String), [INFO] [stdout] 22 + Wii(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Mote(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Mote(String), [INFO] [stdout] 23 + Mote(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Dec(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Dec(String), [INFO] [stdout] 24 + Dec(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | Kf(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Kf(String), [INFO] [stdout] 25 + Kf(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Ont(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Ont(String), [INFO] [stdout] 26 + Ont(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | Uont(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Uont(String), [INFO] [stdout] 27 + Uont(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Michi(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Michi(String), [INFO] [stdout] 28 + Michi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ntr(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Ntr(String), [INFO] [stdout] 29 + Ntr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Chip(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Chip(String), [INFO] [stdout] 30 + Chip(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Yes(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Yes(String), [INFO] [stdout] 31 + Yes(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | No(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - No(String), [INFO] [stdout] 32 + No(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Yesorno(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Yesorno(String), [INFO] [stdout] 33 + Yesorno(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | Next(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Next(String), [INFO] [stdout] 34 + Next(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Ash(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Ash(String), [INFO] [stdout] 35 + Ash(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Brokie(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Brokie(String), [INFO] [stdout] 36 + Brokie(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | Send(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 37 - Send(String), [INFO] [stdout] 37 + Send(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Tnirp(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 38 - Tnirp(String), [INFO] [stdout] 38 + Tnirp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Tupni(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 39 - Tupni(String), [INFO] [stdout] 39 + Tupni(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | Join(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 40 - Join(String), [INFO] [stdout] 40 + Join(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 43 - Identifier(String), [INFO] [stdout] 43 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | Is(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 46 - Is(String), [INFO] [stdout] 46 + Is(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | Plus(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 47 - Plus(String), [INFO] [stdout] 47 + Plus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | Plusplus(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 48 - Plusplus(String), [INFO] [stdout] 48 + Plusplus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | Mult(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 49 - Mult(String), [INFO] [stdout] 49 + Mult(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | Minus(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 50 - Minus(String), [INFO] [stdout] 50 + Minus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Minusminus(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Minusminus(String), [INFO] [stdout] 51 + Minusminus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | By(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - By(String), [INFO] [stdout] 52 + By(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | Mod(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Mod(String), [INFO] [stdout] 53 + Mod(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | And(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - And(String), [INFO] [stdout] 56 + And(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | Or(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Or(String), [INFO] [stdout] 57 + Or(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Nah(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 58 - Nah(String), [INFO] [stdout] 58 + Nah(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Great(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 59 - Great(String), [INFO] [stdout] 59 + Great(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | Lesst(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 60 - Lesst(String), [INFO] [stdout] 60 + Lesst(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | Eq(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 61 - Eq(String), [INFO] [stdout] 61 + Eq(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Noteq(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 62 - Noteq(String), [INFO] [stdout] 62 + Noteq(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | IntegerLiteral(i32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 65 - IntegerLiteral(i32), [INFO] [stdout] 65 + IntegerLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | FloatLiteral(f64), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 66 - FloatLiteral(f64), [INFO] [stdout] 66 + FloatLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | CharLiteral(char), [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 67 - CharLiteral(char), [INFO] [stdout] 67 + CharLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | StringLiteral(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 68 - StringLiteral(String), [INFO] [stdout] 68 + StringLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | Semicolon(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 71 - Semicolon(String), [INFO] [stdout] 71 + Semicolon(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | LeftParen(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 72 - LeftParen(String), [INFO] [stdout] 72 + LeftParen(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | RightParen(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - RightParen(String), [INFO] [stdout] 73 + RightParen(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | LeftBrace(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - LeftBrace(String), [INFO] [stdout] 74 + LeftBrace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | RightBrace(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - RightBrace(String), [INFO] [stdout] 75 + RightBrace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | LeftBracket(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 76 - LeftBracket(String), [INFO] [stdout] 76 + LeftBracket(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | RightBracket(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 77 - RightBracket(String), [INFO] [stdout] 77 + RightBracket(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 80 - Error(String), [INFO] [stdout] 80 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `value` are never used [INFO] [stdout] --> src/lexing/token.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn value(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Program { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 43 | pub functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, `return_type`, `body`, and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FunctionDef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | pub return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `param_type`, and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub param_type: Type, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 75 | pub kind: StatementKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `var_type`, and `value` are never read [INFO] [stdout] --> src/parser/parser.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | ConstDeclaration { name: String, var_type: Type, value: Expression }, [INFO] [stdout] | ---------------- ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `var_type`, and `value` are never read [INFO] [stdout] --> src/parser/parser.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | VariableDeclaration { name: String, var_type: Type, value: Expression }, [INFO] [stdout] | ------------------- ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/parser/parser.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | Assignment { name: String, value: Expression }, [INFO] [stdout] | ---------- ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition`, `then_block`, `elif_blocks`, and `else_block` are never read [INFO] [stdout] --> src/parser/parser.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 85 | condition: Expression, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | then_block: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 87 | elif_blocks: Vec<(Expression, Vec)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | else_block: Option> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `cases` are never read [INFO] [stdout] --> src/parser/parser.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | Switch { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 91 | value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | cases: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `init`, `condition`, `update`, and `body` are never read [INFO] [stdout] --> src/parser/parser.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | For { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 95 | init: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | condition: Expression, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | update: Expression, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | body: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> src/parser/parser.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | FunctionCall { name: String, args: Vec }, [INFO] [stdout] | ------------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/parser/parser.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Print { value: Expression }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `var_name` is never read [INFO] [stdout] --> src/parser/parser.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | Input { var_name: String }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/parser/parser.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | Return { value: Option }, [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expr` is never read [INFO] [stdout] --> src/parser/parser.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | Expression { expr: Expression }, [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `body`, and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct CaseClause { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 111 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 112 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaseClause` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Expression { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 118 | pub kind: ExpressionKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | IntegerLiteral(i32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 - IntegerLiteral(i32), [INFO] [stdout] 124 + IntegerLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | FloatLiteral(f64), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 125 - FloatLiteral(f64), [INFO] [stdout] 125 + FloatLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | CharLiteral(char), [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 - CharLiteral(char), [INFO] [stdout] 126 + CharLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | StringLiteral(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 127 - StringLiteral(String), [INFO] [stdout] 127 + StringLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | BoolLiteral(bool), [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - BoolLiteral(bool), [INFO] [stdout] 128 + BoolLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - Identifier(String), [INFO] [stdout] 129 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> src/parser/parser.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | FunctionCall { name: String, args: Vec }, [INFO] [stdout] | ------------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/parser/parser.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | BinaryOp { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 132 | op: BinaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | right: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `operand` are never read [INFO] [stdout] --> src/parser/parser.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | UnaryOp { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 137 | op: UnaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 138 | operand: Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `operand` are never read [INFO] [stdout] --> src/parser/parser.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | PostfixOp { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 141 | op: PostfixOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 142 | operand: Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `array` and `index` are never read [INFO] [stdout] --> src/parser/parser.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | ArrayAccess { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 145 | array: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | index: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 170 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 171 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_position`, `end_position`, and `contains_position` are never used [INFO] [stdout] --> src/parser/parser.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 670 | impl Statement { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 671 | pub fn start_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub fn end_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub fn contains_position(&self, line: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_position` and `end_position` are never used [INFO] [stdout] --> src/parser/parser.rs:686:12 [INFO] [stdout] | [INFO] [stdout] 685 | impl Expression { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 686 | pub fn start_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | pub fn end_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/parser/parser.rs:696:12 [INFO] [stdout] | [INFO] [stdout] 695 | impl SourceSpan { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 696 | pub fn contains(&self, pos: &Position) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | dbg!(parsed); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = dbg!(parsed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.17s [INFO] running `Command { std: "docker" "inspect" "114e4c0c7c62feda3fcfda89690d6b2368be0c5689755c60c96d57e82a242132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114e4c0c7c62feda3fcfda89690d6b2368be0c5689755c60c96d57e82a242132", kill_on_drop: false }` [INFO] [stdout] 114e4c0c7c62feda3fcfda89690d6b2368be0c5689755c60c96d57e82a242132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5378f480f31a4bbc920a03ab8f8e7893e8ca84dcf3348c9bf0fc04f3a3a2394d [INFO] running `Command { std: "docker" "start" "-a" "5378f480f31a4bbc920a03ab8f8e7893e8ca84dcf3348c9bf0fc04f3a3a2394d", kill_on_drop: false }` [INFO] [stderr] Compiling kf_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/parser.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ________________- [INFO] [stdout] 478 | | Rule::expression | Rule::logical_or | Rule::logical_and | [INFO] [stdout] 479 | | Rule::equality | Rule::comparison | Rule::term | Rule::factor => { [INFO] [stdout] 480 | | return parse_binary_expression(pair, source); [INFO] [stdout] ... | [INFO] [stdout] 490 | | }) [INFO] [stdout] 491 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 492 | [INFO] [stdout] 493 | Ok(Expression { kind, span }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser/parser.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/parser.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ________________- [INFO] [stdout] 478 | | Rule::expression | Rule::logical_or | Rule::logical_and | [INFO] [stdout] 479 | | Rule::equality | Rule::comparison | Rule::term | Rule::factor => { [INFO] [stdout] 480 | | return parse_binary_expression(pair, source); [INFO] [stdout] ... | [INFO] [stdout] 490 | | }) [INFO] [stdout] 491 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 492 | [INFO] [stdout] 493 | Ok(Expression { kind, span }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/parser.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ________________- [INFO] [stdout] 478 | | Rule::expression | Rule::logical_or | Rule::logical_and | [INFO] [stdout] 479 | | Rule::equality | Rule::comparison | Rule::term | Rule::factor => { [INFO] [stdout] 480 | | return parse_binary_expression(pair, source); [INFO] [stdout] ... | [INFO] [stdout] 490 | | }) [INFO] [stdout] 491 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 492 | [INFO] [stdout] 493 | Ok(Expression { kind, span }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser/parser.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser/parser.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let kind = match pair.as_rule() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for token in tokens.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `position` are never read [INFO] [stdout] --> src/lexing/token.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TokenWithPosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 10 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenWithPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Utl(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 18 - Utl(String), [INFO] [stdout] 18 + Utl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Off(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 19 - Off(String), [INFO] [stdout] 19 + Off(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Onoff(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 20 - Onoff(String), [INFO] [stdout] 20 + Onoff(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | On(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 21 - On(String), [INFO] [stdout] 21 + On(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Wii(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 22 - Wii(String), [INFO] [stdout] 22 + Wii(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Mote(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Mote(String), [INFO] [stdout] 23 + Mote(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Dec(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Dec(String), [INFO] [stdout] 24 + Dec(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | Kf(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Kf(String), [INFO] [stdout] 25 + Kf(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Ont(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Ont(String), [INFO] [stdout] 26 + Ont(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | Uont(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Uont(String), [INFO] [stdout] 27 + Uont(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Michi(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Michi(String), [INFO] [stdout] 28 + Michi(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Ntr(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Ntr(String), [INFO] [stdout] 29 + Ntr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Chip(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Chip(String), [INFO] [stdout] 30 + Chip(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Yes(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Yes(String), [INFO] [stdout] 31 + Yes(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | No(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - No(String), [INFO] [stdout] 32 + No(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Yesorno(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Yesorno(String), [INFO] [stdout] 33 + Yesorno(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | Next(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Next(String), [INFO] [stdout] 34 + Next(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Ash(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Ash(String), [INFO] [stdout] 35 + Ash(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Brokie(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Brokie(String), [INFO] [stdout] 36 + Brokie(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | Send(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 37 - Send(String), [INFO] [stdout] 37 + Send(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Tnirp(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 38 - Tnirp(String), [INFO] [stdout] 38 + Tnirp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Tupni(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 39 - Tupni(String), [INFO] [stdout] 39 + Tupni(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | Join(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 40 - Join(String), [INFO] [stdout] 40 + Join(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 43 - Identifier(String), [INFO] [stdout] 43 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | Is(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 46 - Is(String), [INFO] [stdout] 46 + Is(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | Plus(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 47 - Plus(String), [INFO] [stdout] 47 + Plus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | Plusplus(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 48 - Plusplus(String), [INFO] [stdout] 48 + Plusplus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | Mult(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 49 - Mult(String), [INFO] [stdout] 49 + Mult(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | Minus(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 50 - Minus(String), [INFO] [stdout] 50 + Minus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Minusminus(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Minusminus(String), [INFO] [stdout] 51 + Minusminus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | By(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - By(String), [INFO] [stdout] 52 + By(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | Mod(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Mod(String), [INFO] [stdout] 53 + Mod(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | And(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - And(String), [INFO] [stdout] 56 + And(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | Or(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - Or(String), [INFO] [stdout] 57 + Or(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Nah(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 58 - Nah(String), [INFO] [stdout] 58 + Nah(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Great(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 59 - Great(String), [INFO] [stdout] 59 + Great(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | Lesst(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 60 - Lesst(String), [INFO] [stdout] 60 + Lesst(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | Eq(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 61 - Eq(String), [INFO] [stdout] 61 + Eq(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Noteq(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 62 - Noteq(String), [INFO] [stdout] 62 + Noteq(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | IntegerLiteral(i32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 65 - IntegerLiteral(i32), [INFO] [stdout] 65 + IntegerLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | FloatLiteral(f64), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 66 - FloatLiteral(f64), [INFO] [stdout] 66 + FloatLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | CharLiteral(char), [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 67 - CharLiteral(char), [INFO] [stdout] 67 + CharLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | StringLiteral(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 68 - StringLiteral(String), [INFO] [stdout] 68 + StringLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | Semicolon(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 71 - Semicolon(String), [INFO] [stdout] 71 + Semicolon(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | LeftParen(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 72 - LeftParen(String), [INFO] [stdout] 72 + LeftParen(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | RightParen(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - RightParen(String), [INFO] [stdout] 73 + RightParen(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | LeftBrace(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - LeftBrace(String), [INFO] [stdout] 74 + LeftBrace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | RightBrace(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 - RightBrace(String), [INFO] [stdout] 75 + RightBrace(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | LeftBracket(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 76 - LeftBracket(String), [INFO] [stdout] 76 + LeftBracket(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | RightBracket(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 77 - RightBracket(String), [INFO] [stdout] 77 + RightBracket(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexing/token.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 80 - Error(String), [INFO] [stdout] 80 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `value` are never used [INFO] [stdout] --> src/lexing/token.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn value(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Program { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 43 | pub functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, `return_type`, `body`, and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FunctionDef { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | pub return_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `param_type`, and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | pub param_type: Type, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 75 | pub kind: StatementKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `var_type`, and `value` are never read [INFO] [stdout] --> src/parser/parser.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | ConstDeclaration { name: String, var_type: Type, value: Expression }, [INFO] [stdout] | ---------------- ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `var_type`, and `value` are never read [INFO] [stdout] --> src/parser/parser.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | VariableDeclaration { name: String, var_type: Type, value: Expression }, [INFO] [stdout] | ------------------- ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/parser/parser.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | Assignment { name: String, value: Expression }, [INFO] [stdout] | ---------- ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition`, `then_block`, `elif_blocks`, and `else_block` are never read [INFO] [stdout] --> src/parser/parser.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 85 | condition: Expression, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | then_block: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 87 | elif_blocks: Vec<(Expression, Vec)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | else_block: Option> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `cases` are never read [INFO] [stdout] --> src/parser/parser.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | Switch { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 91 | value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 92 | cases: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `init`, `condition`, `update`, and `body` are never read [INFO] [stdout] --> src/parser/parser.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | For { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 95 | init: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | condition: Expression, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | update: Expression, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | body: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> src/parser/parser.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | FunctionCall { name: String, args: Vec }, [INFO] [stdout] | ------------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/parser/parser.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Print { value: Expression }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `var_name` is never read [INFO] [stdout] --> src/parser/parser.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | Input { var_name: String }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/parser/parser.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | Return { value: Option }, [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expr` is never read [INFO] [stdout] --> src/parser/parser.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | Expression { expr: Expression }, [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `body`, and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct CaseClause { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 111 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 112 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaseClause` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Expression { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 118 | pub kind: ExpressionKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | pub span: SourceSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | IntegerLiteral(i32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 - IntegerLiteral(i32), [INFO] [stdout] 124 + IntegerLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | FloatLiteral(f64), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 125 - FloatLiteral(f64), [INFO] [stdout] 125 + FloatLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | CharLiteral(char), [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 - CharLiteral(char), [INFO] [stdout] 126 + CharLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | StringLiteral(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 127 - StringLiteral(String), [INFO] [stdout] 127 + StringLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | BoolLiteral(bool), [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 - BoolLiteral(bool), [INFO] [stdout] 128 + BoolLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/parser.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - Identifier(String), [INFO] [stdout] 129 + Identifier(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `args` are never read [INFO] [stdout] --> src/parser/parser.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | FunctionCall { name: String, args: Vec }, [INFO] [stdout] | ------------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/parser/parser.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | BinaryOp { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 132 | op: BinaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | right: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `operand` are never read [INFO] [stdout] --> src/parser/parser.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | UnaryOp { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 137 | op: UnaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 138 | operand: Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `operand` are never read [INFO] [stdout] --> src/parser/parser.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | PostfixOp { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 141 | op: PostfixOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 142 | operand: Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `array` and `index` are never read [INFO] [stdout] --> src/parser/parser.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | ArrayAccess { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 145 | array: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | index: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `span` are never read [INFO] [stdout] --> src/parser/parser.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 170 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 171 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_position`, `end_position`, and `contains_position` are never used [INFO] [stdout] --> src/parser/parser.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 670 | impl Statement { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 671 | pub fn start_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub fn end_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub fn contains_position(&self, line: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_position` and `end_position` are never used [INFO] [stdout] --> src/parser/parser.rs:686:12 [INFO] [stdout] | [INFO] [stdout] 685 | impl Expression { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 686 | pub fn start_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 690 | pub fn end_position(&self) -> &Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/parser/parser.rs:696:12 [INFO] [stdout] | [INFO] [stdout] 695 | impl SourceSpan { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 696 | pub fn contains(&self, pos: &Position) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | dbg!(parsed); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = dbg!(parsed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "5378f480f31a4bbc920a03ab8f8e7893e8ca84dcf3348c9bf0fc04f3a3a2394d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5378f480f31a4bbc920a03ab8f8e7893e8ca84dcf3348c9bf0fc04f3a3a2394d", kill_on_drop: false }` [INFO] [stdout] 5378f480f31a4bbc920a03ab8f8e7893e8ca84dcf3348c9bf0fc04f3a3a2394d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b787c8864eaee6adb543ea396b9f341a76208abcbdf9045e5a63f654e394bda [INFO] running `Command { std: "docker" "start" "-a" "6b787c8864eaee6adb543ea396b9f341a76208abcbdf9045e5a63f654e394bda", kill_on_drop: false }` [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/parser/parser.rs:493:5 [INFO] [stderr] | [INFO] [stderr] 477 | let kind = match pair.as_rule() { [INFO] [stderr] | ________________- [INFO] [stderr] 478 | | Rule::expression | Rule::logical_or | Rule::logical_and | [INFO] [stderr] 479 | | Rule::equality | Rule::comparison | Rule::term | Rule::factor => { [INFO] [stderr] 480 | | return parse_binary_expression(pair, source); [INFO] [stderr] ... | [INFO] [stderr] 490 | | }) [INFO] [stderr] 491 | | }; [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 492 | [INFO] [stderr] 493 | Ok(Expression { kind, span }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kind` [INFO] [stderr] --> src/parser/parser.rs:477:9 [INFO] [stderr] | [INFO] [stderr] 477 | let kind = match pair.as_rule() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `kf_compiler` (lib) generated 2 warnings (run `cargo fix --lib -p kf_compiler` to apply 1 suggestion) [INFO] [stderr] warning: `kf_compiler` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/main.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | for token in tokens.iter() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: fields `token` and `position` are never read [INFO] [stderr] --> src/lexing/token.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct TokenWithPosition { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 10 | pub token: Token, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 11 | pub position: Position, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenWithPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Utl(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - Utl(String), [INFO] [stderr] 18 + Utl(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | Off(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - Off(String), [INFO] [stderr] 19 + Off(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | Onoff(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 20 - Onoff(String), [INFO] [stderr] 20 + Onoff(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | On(String), [INFO] [stderr] | -- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 21 - On(String), [INFO] [stderr] 21 + On(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | Wii(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 22 - Wii(String), [INFO] [stderr] 22 + Wii(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | Mote(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 23 - Mote(String), [INFO] [stderr] 23 + Mote(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | Dec(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 - Dec(String), [INFO] [stderr] 24 + Dec(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | Kf(String), [INFO] [stderr] | -- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 25 - Kf(String), [INFO] [stderr] 25 + Kf(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | Ont(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 26 - Ont(String), [INFO] [stderr] 26 + Ont(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | Uont(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 27 - Uont(String), [INFO] [stderr] 27 + Uont(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | Michi(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 28 - Michi(String), [INFO] [stderr] 28 + Michi(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | Ntr(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 29 - Ntr(String), [INFO] [stderr] 29 + Ntr(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | Chip(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 30 - Chip(String), [INFO] [stderr] 30 + Chip(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | Yes(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 31 - Yes(String), [INFO] [stderr] 31 + Yes(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | No(String), [INFO] [stderr] | -- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 32 - No(String), [INFO] [stderr] 32 + No(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | Yesorno(String), [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 33 - Yesorno(String), [INFO] [stderr] 33 + Yesorno(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | Next(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 - Next(String), [INFO] [stderr] 34 + Next(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | Ash(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 35 - Ash(String), [INFO] [stderr] 35 + Ash(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | Brokie(String), [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 36 - Brokie(String), [INFO] [stderr] 36 + Brokie(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | Send(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 37 - Send(String), [INFO] [stderr] 37 + Send(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | Tnirp(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 38 - Tnirp(String), [INFO] [stderr] 38 + Tnirp(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | Tupni(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 39 - Tupni(String), [INFO] [stderr] 39 + Tupni(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | Join(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 40 - Join(String), [INFO] [stderr] 40 + Join(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:43:16 [INFO] [stderr] | [INFO] [stderr] 43 | Identifier(String), [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 43 - Identifier(String), [INFO] [stderr] 43 + Identifier(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | Is(String), [INFO] [stderr] | -- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 46 - Is(String), [INFO] [stderr] 46 + Is(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | Plus(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 47 - Plus(String), [INFO] [stderr] 47 + Plus(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | Plusplus(String), [INFO] [stderr] | -------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 48 - Plusplus(String), [INFO] [stderr] 48 + Plusplus(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | Mult(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 49 - Mult(String), [INFO] [stderr] 49 + Mult(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | Minus(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 50 - Minus(String), [INFO] [stderr] 50 + Minus(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | Minusminus(String), [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 51 - Minusminus(String), [INFO] [stderr] 51 + Minusminus(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | By(String), [INFO] [stderr] | -- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 52 - By(String), [INFO] [stderr] 52 + By(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | Mod(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 53 - Mod(String), [INFO] [stderr] 53 + Mod(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | And(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 56 - And(String), [INFO] [stderr] 56 + And(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | Or(String), [INFO] [stderr] | -- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 57 - Or(String), [INFO] [stderr] 57 + Or(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | Nah(String), [INFO] [stderr] | --- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 58 - Nah(String), [INFO] [stderr] 58 + Nah(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:59:11 [INFO] [stderr] | [INFO] [stderr] 59 | Great(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 59 - Great(String), [INFO] [stderr] 59 + Great(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | Lesst(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 60 - Lesst(String), [INFO] [stderr] 60 + Lesst(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | Eq(String), [INFO] [stderr] | -- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 61 - Eq(String), [INFO] [stderr] 61 + Eq(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | Noteq(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 62 - Noteq(String), [INFO] [stderr] 62 + Noteq(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:65:20 [INFO] [stderr] | [INFO] [stderr] 65 | IntegerLiteral(i32), [INFO] [stderr] | -------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 65 - IntegerLiteral(i32), [INFO] [stderr] 65 + IntegerLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:66:18 [INFO] [stderr] | [INFO] [stderr] 66 | FloatLiteral(f64), [INFO] [stderr] | ------------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 66 - FloatLiteral(f64), [INFO] [stderr] 66 + FloatLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:67:17 [INFO] [stderr] | [INFO] [stderr] 67 | CharLiteral(char), [INFO] [stderr] | ----------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 67 - CharLiteral(char), [INFO] [stderr] 67 + CharLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:68:19 [INFO] [stderr] | [INFO] [stderr] 68 | StringLiteral(String), [INFO] [stderr] | ------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 68 - StringLiteral(String), [INFO] [stderr] 68 + StringLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | Semicolon(String), [INFO] [stderr] | --------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 71 - Semicolon(String), [INFO] [stderr] 71 + Semicolon(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:72:15 [INFO] [stderr] | [INFO] [stderr] 72 | LeftParen(String), [INFO] [stderr] | --------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 72 - LeftParen(String), [INFO] [stderr] 72 + LeftParen(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:73:16 [INFO] [stderr] | [INFO] [stderr] 73 | RightParen(String), [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 73 - RightParen(String), [INFO] [stderr] 73 + RightParen(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | LeftBrace(String), [INFO] [stderr] | --------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 74 - LeftBrace(String), [INFO] [stderr] 74 + LeftBrace(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:75:16 [INFO] [stderr] | [INFO] [stderr] 75 | RightBrace(String), [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 75 - RightBrace(String), [INFO] [stderr] 75 + RightBrace(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | LeftBracket(String), [INFO] [stderr] | ----------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 76 - LeftBracket(String), [INFO] [stderr] 76 + LeftBracket(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:77:18 [INFO] [stderr] | [INFO] [stderr] 77 | RightBracket(String), [INFO] [stderr] | ------------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 77 - RightBracket(String), [INFO] [stderr] 77 + RightBracket(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lexing/token.rs:80:11 [INFO] [stderr] | [INFO] [stderr] 80 | Error(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 80 - Error(String), [INFO] [stderr] 80 + Error(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: methods `name` and `value` are never used [INFO] [stderr] --> src/lexing/token.rs:205:12 [INFO] [stderr] | [INFO] [stderr] 84 | impl Token { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 205 | pub fn name(&self) -> &str { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 261 | pub fn value(&self) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `functions` and `span` are never read [INFO] [stderr] --> src/parser/parser.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Program { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 43 | pub functions: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 44 | pub span: SourceSpan, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `params`, `return_type`, `body`, and `span` are never read [INFO] [stderr] --> src/parser/parser.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct FunctionDef { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 49 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 50 | pub params: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 51 | pub return_type: Type, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 52 | pub body: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 53 | pub span: SourceSpan, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `param_type`, and `span` are never read [INFO] [stderr] --> src/parser/parser.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct Parameter { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 58 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 59 | pub param_type: Type, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 60 | pub span: SourceSpan, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Parameter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `kind` and `span` are never read [INFO] [stderr] --> src/parser/parser.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 74 | pub struct Statement { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 75 | pub kind: StatementKind, [INFO] [stderr] | ^^^^ [INFO] [stderr] 76 | pub span: SourceSpan, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `var_type`, and `value` are never read [INFO] [stderr] --> src/parser/parser.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 81 | ConstDeclaration { name: String, var_type: Type, value: Expression }, [INFO] [stderr] | ---------------- ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `var_type`, and `value` are never read [INFO] [stderr] --> src/parser/parser.rs:82:27 [INFO] [stderr] | [INFO] [stderr] 82 | VariableDeclaration { name: String, var_type: Type, value: Expression }, [INFO] [stderr] | ------------------- ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `value` are never read [INFO] [stderr] --> src/parser/parser.rs:83:18 [INFO] [stderr] | [INFO] [stderr] 83 | Assignment { name: String, value: Expression }, [INFO] [stderr] | ---------- ^^^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `condition`, `then_block`, `elif_blocks`, and `else_block` are never read [INFO] [stderr] --> src/parser/parser.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 84 | If { [INFO] [stderr] | -- fields in this variant [INFO] [stderr] 85 | condition: Expression, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 86 | then_block: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 87 | elif_blocks: Vec<(Expression, Vec)>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 88 | else_block: Option> [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `value` and `cases` are never read [INFO] [stderr] --> src/parser/parser.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 90 | Switch { [INFO] [stderr] | ------ fields in this variant [INFO] [stderr] 91 | value: Expression, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 92 | cases: Vec [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `init`, `condition`, `update`, and `body` are never read [INFO] [stderr] --> src/parser/parser.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 94 | For { [INFO] [stderr] | --- fields in this variant [INFO] [stderr] 95 | init: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] 96 | condition: Expression, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 97 | update: Expression, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 98 | body: Vec [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `args` are never read [INFO] [stderr] --> src/parser/parser.rs:100:20 [INFO] [stderr] | [INFO] [stderr] 100 | FunctionCall { name: String, args: Vec }, [INFO] [stderr] | ------------ ^^^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/parser/parser.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | Print { value: Expression }, [INFO] [stderr] | ----- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `var_name` is never read [INFO] [stderr] --> src/parser/parser.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | Input { var_name: String }, [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/parser/parser.rs:103:14 [INFO] [stderr] | [INFO] [stderr] 103 | Return { value: Option }, [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `expr` is never read [INFO] [stderr] --> src/parser/parser.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | Expression { expr: Expression }, [INFO] [stderr] | ---------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `StatementKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `value`, `body`, and `span` are never read [INFO] [stderr] --> src/parser/parser.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 110 | pub struct CaseClause { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 111 | pub value: Expression, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 112 | pub body: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 113 | pub span: SourceSpan, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CaseClause` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `kind` and `span` are never read [INFO] [stderr] --> src/parser/parser.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 117 | pub struct Expression { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 118 | pub kind: ExpressionKind, [INFO] [stderr] | ^^^^ [INFO] [stderr] 119 | pub span: SourceSpan, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/parser.rs:124:20 [INFO] [stderr] | [INFO] [stderr] 124 | IntegerLiteral(i32), [INFO] [stderr] | -------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 124 - IntegerLiteral(i32), [INFO] [stderr] 124 + IntegerLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/parser.rs:125:18 [INFO] [stderr] | [INFO] [stderr] 125 | FloatLiteral(f64), [INFO] [stderr] | ------------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 125 - FloatLiteral(f64), [INFO] [stderr] 125 + FloatLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/parser.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | CharLiteral(char), [INFO] [stderr] | ----------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 126 - CharLiteral(char), [INFO] [stderr] 126 + CharLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/parser.rs:127:19 [INFO] [stderr] | [INFO] [stderr] 127 | StringLiteral(String), [INFO] [stderr] | ------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 127 - StringLiteral(String), [INFO] [stderr] 127 + StringLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/parser.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | BoolLiteral(bool), [INFO] [stderr] | ----------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 128 - BoolLiteral(bool), [INFO] [stderr] 128 + BoolLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/parser.rs:129:16 [INFO] [stderr] | [INFO] [stderr] 129 | Identifier(String), [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 129 - Identifier(String), [INFO] [stderr] 129 + Identifier(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `args` are never read [INFO] [stderr] --> src/parser/parser.rs:130:20 [INFO] [stderr] | [INFO] [stderr] 130 | FunctionCall { name: String, args: Vec }, [INFO] [stderr] | ------------ ^^^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `op`, `left`, and `right` are never read [INFO] [stderr] --> src/parser/parser.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 131 | BinaryOp { [INFO] [stderr] | -------- fields in this variant [INFO] [stderr] 132 | op: BinaryOperator, [INFO] [stderr] | ^^ [INFO] [stderr] 133 | left: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] 134 | right: Box [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `op` and `operand` are never read [INFO] [stderr] --> src/parser/parser.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 136 | UnaryOp { [INFO] [stderr] | ------- fields in this variant [INFO] [stderr] 137 | op: UnaryOperator, [INFO] [stderr] | ^^ [INFO] [stderr] 138 | operand: Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `op` and `operand` are never read [INFO] [stderr] --> src/parser/parser.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 140 | PostfixOp { [INFO] [stderr] | --------- fields in this variant [INFO] [stderr] 141 | op: PostfixOperator, [INFO] [stderr] | ^^ [INFO] [stderr] 142 | operand: Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `array` and `index` are never read [INFO] [stderr] --> src/parser/parser.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 144 | ArrayAccess { [INFO] [stderr] | ----------- fields in this variant [INFO] [stderr] 145 | array: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 146 | index: Box [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExpressionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message` and `span` are never read [INFO] [stderr] --> src/parser/parser.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 169 | pub struct ParseError { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 170 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 171 | pub span: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `start_position`, `end_position`, and `contains_position` are never used [INFO] [stderr] --> src/parser/parser.rs:671:12 [INFO] [stderr] | [INFO] [stderr] 670 | impl Statement { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 671 | pub fn start_position(&self) -> &Position { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 675 | pub fn end_position(&self) -> &Position { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 679 | pub fn contains_position(&self, line: usize, col: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `start_position` and `end_position` are never used [INFO] [stderr] --> src/parser/parser.rs:686:12 [INFO] [stderr] | [INFO] [stderr] 685 | impl Expression { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] 686 | pub fn start_position(&self) -> &Position { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 690 | pub fn end_position(&self) -> &Position { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `contains` is never used [INFO] [stderr] --> src/parser/parser.rs:696:12 [INFO] [stderr] | [INFO] [stderr] 695 | impl SourceSpan { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 696 | pub fn contains(&self, pos: &Position) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | dbg!(parsed); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 33 | let _ = dbg!(parsed); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `kf_compiler` (bin "kf_compiler" test) generated 89 warnings (2 duplicates) (run `cargo fix --bin "kf_compiler" -p kf_compiler --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kf_compiler-ba5501ef96660f0b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kf_compiler-9f7210769c7252ec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kf_compiler [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b787c8864eaee6adb543ea396b9f341a76208abcbdf9045e5a63f654e394bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b787c8864eaee6adb543ea396b9f341a76208abcbdf9045e5a63f654e394bda", kill_on_drop: false }` [INFO] [stdout] 6b787c8864eaee6adb543ea396b9f341a76208abcbdf9045e5a63f654e394bda