[INFO] cloning repository https://github.com/vincent-thomas/language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vincent-thomas/language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincent-thomas%2Flanguage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincent-thomas%2Flanguage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 645334ee980a40566d6d5962b5d8b728773b752e [INFO] checking vincent-thomas/language against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincent-thomas%2Flanguage" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vincent-thomas/language on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/vincent-thomas/language [INFO] finished tweaking git repo https://github.com/vincent-thomas/language [INFO] tweaked toml for git repo https://github.com/vincent-thomas/language written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vincent-thomas/language 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" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ariadne v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce35a7f5fac2d5afefe7ad143b28ef99e96c415571ec5eacad5ddb2744e9f646 [INFO] running `Command { std: "docker" "start" "-a" "ce35a7f5fac2d5afefe7ad143b28ef99e96c415571ec5eacad5ddb2744e9f646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce35a7f5fac2d5afefe7ad143b28ef99e96c415571ec5eacad5ddb2744e9f646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce35a7f5fac2d5afefe7ad143b28ef99e96c415571ec5eacad5ddb2744e9f646", kill_on_drop: false }` [INFO] [stdout] ce35a7f5fac2d5afefe7ad143b28ef99e96c415571ec5eacad5ddb2744e9f646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92a75e4a408377fdd741a3b64ff68bc669cc38bae875707c8fb6484f4ea9a628 [INFO] running `Command { std: "docker" "start" "-a" "92a75e4a408377fdd741a3b64ff68bc669cc38bae875707c8fb6484f4ea9a628", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Checking language v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Tokens` [INFO] [stdout] --> src/parser/statements/loop.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::{Lexer, Tokens}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tokens` [INFO] [stdout] --> src/parser/statements/loop.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::{Lexer, Tokens}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FunctionItem` is more private than the item `Item::FunctionItem::0` [INFO] [stdout] --> src/parser/items.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | FunctionItem(function::FunctionItem), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Item::FunctionItem::0` is reachable at visibility `pub(in crate::parser)` [INFO] [stdout] | [INFO] [stdout] note: but type `FunctionItem` is only usable at visibility `pub(in crate::parser::items)` [INFO] [stdout] --> src/parser/items/function.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct FunctionItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ClassItem` is more private than the item `Item::ClassItem::0` [INFO] [stdout] --> src/parser/items.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | ClassItem(class::ClassItem), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Item::ClassItem::0` is reachable at visibility `pub(in crate::parser)` [INFO] [stdout] | [INFO] [stdout] note: but type `ClassItem` is only usable at visibility `pub(in crate::parser::items)` [INFO] [stdout] --> src/parser/items/class.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) struct ClassItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramBuilder` is never constructed [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ProgramBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Program; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | struct ReturnType(Option); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ReturnType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AST(Vec); [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AST` 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 `Expression` is never used [INFO] [stdout] --> src/parser/expressions.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `block` are never used [INFO] [stdout] --> src/parser/expressions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl Expression { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 15 | pub fn parse(lexer: &mut Lexer) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn block(lexer: &mut Lexer) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/parser/expressions/block.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BlockExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/items.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | FunctionItem(function::FunctionItem), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 - FunctionItem(function::FunctionItem), [INFO] [stdout] 10 + FunctionItem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/items.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | ClassItem(class::ClassItem), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 - ClassItem(class::ClassItem), [INFO] [stdout] 11 + ClassItem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `data` are never read [INFO] [stdout] --> src/parser/items/class.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) struct ClassItem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | data: HashMap, //block: BlockExpression, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassItem` 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 `ident`, `return_type`, and `block` are never read [INFO] [stdout] --> src/parser/items/function.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct FunctionItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | // TODO: params [INFO] [stdout] 10 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | block: BlockExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/statements.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | VariableDeclaration(var::VariableDeclarationStatement), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 - VariableDeclaration(var::VariableDeclarationStatement), [INFO] [stdout] 12 + VariableDeclaration(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LoopStatement` is never constructed [INFO] [stdout] --> src/parser/statements.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | LoopStatement(r#loop::LoopStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `loop_` is never used [INFO] [stdout] --> src/parser/statements.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl Statement { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn loop_(lexer: &mut Lexer) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/parser/statements/loop.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LoopStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | block: BlockExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoopStatement` 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 `ident` and `value` are never read [INFO] [stdout] --> src/parser/statements/var.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VariableDeclarationStatement { [INFO] [stdout] | ---------------------------- fields in this struct [INFO] [stdout] 8 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | value: Box<[Tokens]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDeclarationStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FunctionItem` is more private than the item `Item::FunctionItem::0` [INFO] [stdout] --> src/parser/items.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | FunctionItem(function::FunctionItem), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Item::FunctionItem::0` is reachable at visibility `pub(in crate::parser)` [INFO] [stdout] | [INFO] [stdout] note: but type `FunctionItem` is only usable at visibility `pub(in crate::parser::items)` [INFO] [stdout] --> src/parser/items/function.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct FunctionItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ClassItem` is more private than the item `Item::ClassItem::0` [INFO] [stdout] --> src/parser/items.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | ClassItem(class::ClassItem), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `Item::ClassItem::0` is reachable at visibility `pub(in crate::parser)` [INFO] [stdout] | [INFO] [stdout] note: but type `ClassItem` is only usable at visibility `pub(in crate::parser::items)` [INFO] [stdout] --> src/parser/items/class.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) struct ClassItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramBuilder` is never constructed [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ProgramBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Program; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | struct ReturnType(Option); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ReturnType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AST(Vec); [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AST` 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 `Expression` is never used [INFO] [stdout] --> src/parser/expressions.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse` and `block` are never used [INFO] [stdout] --> src/parser/expressions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl Expression { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 15 | pub fn parse(lexer: &mut Lexer) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn block(lexer: &mut Lexer) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/parser/expressions/block.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BlockExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/items.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | FunctionItem(function::FunctionItem), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 - FunctionItem(function::FunctionItem), [INFO] [stdout] 10 + FunctionItem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/items.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | ClassItem(class::ClassItem), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 - ClassItem(class::ClassItem), [INFO] [stdout] 11 + ClassItem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `data` are never read [INFO] [stdout] --> src/parser/items/class.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub(super) struct ClassItem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | data: HashMap, //block: BlockExpression, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassItem` 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 `ident`, `return_type`, and `block` are never read [INFO] [stdout] --> src/parser/items/function.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct FunctionItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | // TODO: params [INFO] [stdout] 10 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | block: BlockExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/statements.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | VariableDeclaration(var::VariableDeclarationStatement), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 - VariableDeclaration(var::VariableDeclarationStatement), [INFO] [stdout] 12 + VariableDeclaration(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LoopStatement` is never constructed [INFO] [stdout] --> src/parser/statements.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | LoopStatement(r#loop::LoopStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `loop_` is never used [INFO] [stdout] --> src/parser/statements.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl Statement { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn loop_(lexer: &mut Lexer) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/parser/statements/loop.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LoopStatement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | block: BlockExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoopStatement` 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 `ident` and `value` are never read [INFO] [stdout] --> src/parser/statements/var.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VariableDeclarationStatement { [INFO] [stdout] | ---------------------------- fields in this struct [INFO] [stdout] 8 | ident: Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | value: Box<[Tokens]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDeclarationStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s [INFO] running `Command { std: "docker" "inspect" "92a75e4a408377fdd741a3b64ff68bc669cc38bae875707c8fb6484f4ea9a628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a75e4a408377fdd741a3b64ff68bc669cc38bae875707c8fb6484f4ea9a628", kill_on_drop: false }` [INFO] [stdout] 92a75e4a408377fdd741a3b64ff68bc669cc38bae875707c8fb6484f4ea9a628