[INFO] cloning repository https://github.com/romirk/sea [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/romirk/sea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromirk%2Fsea", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromirk%2Fsea'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3187fb9bc9188787884d695f519d3d774f702836 [INFO] checking romirk/sea against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromirk%2Fsea" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romirk/sea on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romirk/sea [INFO] finished tweaking git repo https://github.com/romirk/sea [INFO] tweaked toml for git repo https://github.com/romirk/sea written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/romirk/sea 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 884a78bc38d0219803e6ff7166c0cd64bcec2bad85d8329467fd61393ba31898 [INFO] running `Command { std: "docker" "start" "-a" "884a78bc38d0219803e6ff7166c0cd64bcec2bad85d8329467fd61393ba31898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884a78bc38d0219803e6ff7166c0cd64bcec2bad85d8329467fd61393ba31898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884a78bc38d0219803e6ff7166c0cd64bcec2bad85d8329467fd61393ba31898", kill_on_drop: false }` [INFO] [stdout] 884a78bc38d0219803e6ff7166c0cd64bcec2bad85d8329467fd61393ba31898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b2ceadcdd7a363c9dd4d61ed7f4c7b3697c4ed2128bc6f338ca103e944fa00c [INFO] running `Command { std: "docker" "start" "-a" "7b2ceadcdd7a363c9dd4d61ed7f4c7b3697c4ed2128bc6f338ca103e944fa00c", kill_on_drop: false }` [INFO] [stderr] Checking sea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/decl.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/decl.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `declarations` is never read [INFO] [stdout] --> src/ast/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub declarations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `declarations` is never read [INFO] [stdout] --> src/ast/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub declarations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/decl_old.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Decl(DeclStmt), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Decl(DeclStmt), [INFO] [stdout] 6 + Decl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/decl_old.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Decl(DeclStmt), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Decl(DeclStmt), [INFO] [stdout] 6 + Decl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/decl_old.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Typedef(TypedefStmt), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` 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] 7 - Typedef(TypedefStmt), [INFO] [stdout] 7 + Typedef(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/decl_old.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Typedef(TypedefStmt), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlobalDecl` 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] 7 - Typedef(TypedefStmt), [INFO] [stdout] 7 + Typedef(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decl` is never read [INFO] [stdout] --> src/ast/decl_old.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DeclStmt { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | pub decl: Decl, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decl` is never read [INFO] [stdout] --> src/ast/decl_old.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DeclStmt { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | pub decl: Decl, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `alias` are never read [INFO] [stdout] --> src/ast/decl_old.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TypedefStmt { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 23 | pub type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub alias: Id, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedefStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `id`, and `param_list` are never read [INFO] [stdout] --> src/ast/decl_old.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Decl { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 32 | pub type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | pub param_list: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `alias` are never read [INFO] [stdout] --> src/ast/decl_old.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TypedefStmt { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 23 | pub type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub alias: Id, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedefStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `params` is never read [INFO] [stdout] --> src/ast/decl_old.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ParamList { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 39 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParamList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Goto(Id), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Goto(Id), [INFO] [stdout] 10 + Goto(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `id`, and `param_list` are never read [INFO] [stdout] --> src/ast/decl_old.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Decl { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 32 | pub type_: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub id: Id, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | pub param_list: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Return(Option), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Return(Option), [INFO] [stdout] 11 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `params` is never read [INFO] [stdout] --> src/ast/decl_old.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ParamList { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 39 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParamList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Block(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - Block(Vec), [INFO] [stdout] 12 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Goto(Id), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Goto(Id), [INFO] [stdout] 10 + Goto(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | While(WhileStmt), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - While(WhileStmt), [INFO] [stdout] 13 + While(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Return(Option), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Return(Option), [INFO] [stdout] 11 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | DoWhile(DoWhileStmt), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - DoWhile(DoWhileStmt), [INFO] [stdout] 14 + DoWhile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Block(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - Block(Vec), [INFO] [stdout] 12 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | For(ForStmt), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - For(ForStmt), [INFO] [stdout] 15 + For(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | While(WhileStmt), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - While(WhileStmt), [INFO] [stdout] 13 + While(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | If(IfStmt), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - If(IfStmt), [INFO] [stdout] 16 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | DoWhile(DoWhileStmt), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - DoWhile(DoWhileStmt), [INFO] [stdout] 14 + DoWhile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | For(ForStmt), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - For(ForStmt), [INFO] [stdout] 15 + For(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Decl(DeclStmt), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Decl(DeclStmt), [INFO] [stdout] 17 + Decl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond` and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct WhileStmt { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | If(IfStmt), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - If(IfStmt), [INFO] [stdout] 16 + If(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond` and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DoWhileStmt { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 33 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoWhileStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/stmt.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Decl(DeclStmt), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Decl(DeclStmt), [INFO] [stdout] 17 + Decl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `init`, `cond`, `step`, and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ForStmt { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | pub init: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub cond: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | pub step: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond` and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct WhileStmt { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond` and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DoWhileStmt { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 33 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoWhileStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/ast/stmt.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct IfStmt { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 52 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | pub else_branch: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast/decl.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Id` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `init`, `cond`, `step`, and `body` are never read [INFO] [stdout] --> src/ast/stmt.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ForStmt { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | pub init: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub cond: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | pub step: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Binding` is never used [INFO] [stdout] --> src/ast/decl.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/ast/stmt.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct IfStmt { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 52 | pub cond: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | pub else_branch: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/ast/decl.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Binding { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParamList` is never constructed [INFO] [stdout] --> src/ast/decl.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ParamList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParamList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast/decl.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Id { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Id` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Param` is never constructed [INFO] [stdout] --> src/ast/decl.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Param { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Binding` is never used [INFO] [stdout] --> src/ast/decl.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Modifier` is never used [INFO] [stdout] --> src/ast/decl.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Modifier { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/ast/decl.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Binding { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParamList` is never constructed [INFO] [stdout] --> src/ast/decl.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ParamList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParamList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/ast/decl.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Modifier { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 56 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Param` is never constructed [INFO] [stdout] --> src/ast/decl.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Param { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Param` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decl` is never constructed [INFO] [stdout] --> src/ast/decl.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Decl { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Modifier` is never used [INFO] [stdout] --> src/ast/decl.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Modifier { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/ast/decl.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Decl { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 78 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/hir.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/ast/decl.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Modifier { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 56 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Defn` is never used [INFO] [stdout] --> src/hir.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Defn { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decl` is never constructed [INFO] [stdout] --> src/ast/decl.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Decl { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/ast/decl.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Decl { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 78 | pub fn parse(mut input: &str) -> Result<(Self, &str), ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FnDefn` is never constructed [INFO] [stdout] --> src/hir.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FnDefn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDefn` is never constructed [INFO] [stdout] --> src/hir.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct VarDefn { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decl` is never constructed [INFO] [stdout] --> src/hir.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Decl { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/hir.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonoDecl` is never constructed [INFO] [stdout] --> src/hir.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct MonoDecl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Defn` is never used [INFO] [stdout] --> src/hir.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Defn { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Binding` is never used [INFO] [stdout] --> src/hir.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/hir.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FnDefn` is never constructed [INFO] [stdout] --> src/hir.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FnDefn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/hir.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDefn` is never constructed [INFO] [stdout] --> src/hir.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct VarDefn { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decl` is never constructed [INFO] [stdout] --> src/hir.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Decl { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stmt` is never used [INFO] [stdout] --> src/hir.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonoDecl` is never constructed [INFO] [stdout] --> src/hir.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct MonoDecl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/hir.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 252 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Binding` is never used [INFO] [stdout] --> src/hir.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum Binding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinOp` is never used [INFO] [stdout] --> src/hir.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum BinOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/hir.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaOp` is never used [INFO] [stdout] --> src/hir.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | pub enum UnaOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/hir.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/lexer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LexerContext<'src> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | /// The complete input string. [INFO] [stdout] 13 | input: &'src str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stmt` is never used [INFO] [stdout] --> src/hir.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/hir.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 252 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lexer.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'src> LexerContext<'src> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 22 | /// Construct a new [`LexerContext`]. [INFO] [stdout] 23 | pub const fn new(input: &'src str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinOp` is never used [INFO] [stdout] --> src/hir.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum BinOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaOp` is never used [INFO] [stdout] --> src/hir.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | pub enum UnaOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start` and `resume` are never used [INFO] [stdout] --> src/lexer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'src> LexerContext<'src> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 31 | /// Create a [`Lexer`] from the start of the input. [INFO] [stdout] 32 | pub fn start(&mut self) -> Lexer<'_, 'src> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | const fn resume(&mut self) -> Lexer<'_, 'src> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/lexer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LexerContext<'src> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | /// The complete input string. [INFO] [stdout] 13 | input: &'src str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lexer.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'src> LexerContext<'src> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 22 | /// Construct a new [`LexerContext`]. [INFO] [stdout] 23 | pub const fn new(input: &'src str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `input`, `delegate`, and `finish` are never used [INFO] [stdout] --> src/lexer.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'src, 'ctx> Lexer<'ctx, 'src> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 69 | /// The input waiting to be lexed. [INFO] [stdout] 70 | pub fn input(&self) -> &'src str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn delegate(&mut self) -> Lexer<'_, 'src> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn finish(mut self, value: T) -> ParseOutput { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start` and `resume` are never used [INFO] [stdout] --> src/lexer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'src> LexerContext<'src> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 31 | /// Create a [`Lexer`] from the start of the input. [INFO] [stdout] 32 | pub fn start(&mut self) -> Lexer<'_, 'src> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | const fn resume(&mut self) -> Lexer<'_, 'src> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `trim_ws`, `symbol`, `ident`, and `keyword` are never used [INFO] [stdout] --> src/lexer.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl<'src, 'ctx> Lexer<'src, 'ctx> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn trim_ws(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn symbol(&mut self, symbol: &str) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn ident(&mut self) -> Result<&'src str, ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn keyword(&mut self, keyword: &str) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `input`, `delegate`, and `finish` are never used [INFO] [stdout] --> src/lexer.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'src, 'ctx> Lexer<'ctx, 'src> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 69 | /// The input waiting to be lexed. [INFO] [stdout] 70 | pub fn input(&self) -> &'src str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn delegate(&mut self) -> Lexer<'_, 'src> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn finish(mut self, value: T) -> ParseOutput { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/lexer.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub type ParseResult = Result, ParseError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into` is never used [INFO] [stdout] --> src/lexer.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl ParseOutput { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 182 | /// Extract the contained value. [INFO] [stdout] 183 | pub fn into(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `trim_ws`, `symbol`, `ident`, and `keyword` are never used [INFO] [stdout] --> src/lexer.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl<'src, 'ctx> Lexer<'src, 'ctx> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn trim_ws(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn symbol(&mut self, symbol: &str) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn ident(&mut self) -> Result<&'src str, ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn keyword(&mut self, keyword: &str) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseError` is never constructed [INFO] [stdout] --> src/lexer.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/lexer.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub type ParseResult = Result, ParseError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into` is never used [INFO] [stdout] --> src/lexer.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl ParseOutput { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 182 | /// Extract the contained value. [INFO] [stdout] 183 | pub fn into(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseError` is never constructed [INFO] [stdout] --> src/lexer.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "7b2ceadcdd7a363c9dd4d61ed7f4c7b3697c4ed2128bc6f338ca103e944fa00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2ceadcdd7a363c9dd4d61ed7f4c7b3697c4ed2128bc6f338ca103e944fa00c", kill_on_drop: false }` [INFO] [stdout] 7b2ceadcdd7a363c9dd4d61ed7f4c7b3697c4ed2128bc6f338ca103e944fa00c