[INFO] cloning repository https://github.com/ArberSephirotheca/Homunculus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArberSephirotheca/Homunculus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArberSephirotheca%2FHomunculus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArberSephirotheca%2FHomunculus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ab61e5ebede3ce4ef74d0a2c2fb1b8bdc829f16 [INFO] checking ArberSephirotheca/Homunculus/4ab61e5ebede3ce4ef74d0a2c2fb1b8bdc829f16 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArberSephirotheca%2FHomunculus" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArberSephirotheca/Homunculus on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArberSephirotheca/Homunculus [INFO] finished tweaking git repo https://github.com/ArberSephirotheca/Homunculus [INFO] tweaked toml for git repo https://github.com/ArberSephirotheca/Homunculus written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ArberSephirotheca/Homunculus 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded dissimilar v1.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9a1b0290ba2536201194d8081e468e09491cc65704f1f8100cb7895b91fdfc3 [INFO] running `Command { std: "docker" "start" "-a" "b9a1b0290ba2536201194d8081e468e09491cc65704f1f8100cb7895b91fdfc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9a1b0290ba2536201194d8081e468e09491cc65704f1f8100cb7895b91fdfc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a1b0290ba2536201194d8081e468e09491cc65704f1f8100cb7895b91fdfc3", kill_on_drop: false }` [INFO] [stdout] b9a1b0290ba2536201194d8081e468e09491cc65704f1f8100cb7895b91fdfc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfe1875493115d143234548a6406277728c3434306fa0a8723a7f8479fdf9f0d [INFO] running `Command { std: "docker" "start" "-a" "dfe1875493115d143234548a6406277728c3434306fa0a8723a7f8479fdf9f0d", kill_on_drop: false }` [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking dissimilar v1.0.8 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking rowan v0.15.15 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking asuka v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::compiler::parse::symbol_table::SpirvType` [INFO] [stdout] --> src/codegen/builder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::parse::symbol_table::SpirvType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `SpirvType`, and `Stmt` [INFO] [stdout] --> src/codegen/common.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | ast::ast::{Expr, Stmt}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 6 | parse::symbol_table::{BuiltInVariable, SpirvType, StorageClass, VariableInfo}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InstructionBuilder` and `ProgramBuilder` [INFO] [stdout] --> src/codegen/context.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use super::builder::{InstructionArgumentsBuilder, InstructionBuilder, ProgramBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rowan::TokenAtOffset` [INFO] [stdout] --> src/compiler/ast/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rowan::TokenAtOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SyntaxElement` [INFO] [stdout] --> src/compiler/ast/ast.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::parse::syntax::{SyntaxElement, SyntaxNode, SyntaxToken, TokenKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parse` and `symbol_table::*` [INFO] [stdout] --> src/compiler/parse/grammar/statement.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | parser::{Parse, Parser}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | symbol_table::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive` [INFO] [stdout] --> src/compiler/parse/lexer.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use num_derive::{FromPrimitive, ToPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parse::syntax::TokenKind` [INFO] [stdout] --> src/compiler/parse/sink.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::parse::syntax::TokenKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GreenNode` [INFO] [stdout] --> src/compiler/parse/sink.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use rowan::{GreenNode, GreenNodeBuilder, Language}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parse::syntax::SyntaxNode` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::parse::syntax::SyntaxNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::Result` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use eyre::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/compiler/parse/syntax.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use logos::{Filter, Logos}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::BitOr` [INFO] [stdout] --> src/compiler/parse/syntax.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::BitOr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parse::symbol_table::SpirvType` [INFO] [stdout] --> src/codegen/builder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::parse::symbol_table::SpirvType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `SpirvType`, and `Stmt` [INFO] [stdout] --> src/codegen/common.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | ast::ast::{Expr, Stmt}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 6 | parse::symbol_table::{BuiltInVariable, SpirvType, StorageClass, VariableInfo}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InstructionBuilder` and `ProgramBuilder` [INFO] [stdout] --> src/codegen/context.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use super::builder::{InstructionArgumentsBuilder, InstructionBuilder, ProgramBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Expr` [INFO] [stdout] --> src/codegen/context.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | use crate::ast::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Root` [INFO] [stdout] --> src/codegen/context.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use crate::ast::Root; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codegen::common::Instruction` [INFO] [stdout] --> src/codegen/context.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::codegen::common::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codegen::common::InstructionBuiltInVariable` [INFO] [stdout] --> src/codegen/context.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use crate::codegen::common::InstructionBuiltInVariable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parse::symbol_table::SpirvType` [INFO] [stdout] --> src/codegen/context.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | use crate::compiler::parse::symbol_table::SpirvType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parse::symbol_table::StorageClass` [INFO] [stdout] --> src/codegen/context.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | use crate::compiler::parse::symbol_table::StorageClass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ast::ast::TypeExpr` and `syntax::TokenKind` [INFO] [stdout] --> src/codegen/context.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | ast::ast::TypeExpr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 292 | parse::{parser::parse, syntax::TokenKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rowan::TokenAtOffset` [INFO] [stdout] --> src/compiler/ast/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rowan::TokenAtOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SyntaxElement` [INFO] [stdout] --> src/compiler/ast/ast.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::parse::syntax::{SyntaxElement, SyntaxNode, SyntaxToken, TokenKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ast::ast::TypeExpr` and `syntax::TokenKind` [INFO] [stdout] --> src/compiler/ast/ast.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | ast::ast::TypeExpr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 430 | parse::{parser::parse, syntax::TokenKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expect_test::expect` [INFO] [stdout] --> src/compiler/ast/ast.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parse` and `symbol_table::*` [INFO] [stdout] --> src/compiler/parse/grammar/statement.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | parser::{Parse, Parser}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | symbol_table::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive` [INFO] [stdout] --> src/compiler/parse/lexer.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use num_derive::{FromPrimitive, ToPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parse::syntax::TokenKind` [INFO] [stdout] --> src/compiler/parse/sink.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::parse::syntax::TokenKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GreenNode` [INFO] [stdout] --> src/compiler/parse/sink.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use rowan::{GreenNode, GreenNodeBuilder, Language}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::parse::syntax::SyntaxNode` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::compiler::parse::syntax::SyntaxNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::Result` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use eyre::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/compiler/parse/syntax.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use logos::{Filter, Logos}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::BitOr` [INFO] [stdout] --> src/compiler/parse/syntax.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::BitOr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen/back/write.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_file(path: &Utf8Path, content: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/codegen/back/write.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_file(path: &Utf8Path, content: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/codegen/context.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | SpirvType::Int { width, signed } => (InstructionValue::Int(0), -1), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `width: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signed` [INFO] [stdout] --> src/codegen/context.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | SpirvType::Int { width, signed } => (InstructionValue::Int(0), -1), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `signed: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage_class` [INFO] [stdout] --> src/codegen/context.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | storage_class, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `storage_class: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_args_builder` [INFO] [stdout] --> src/codegen/context.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let inst_args_builder = InstructionArguments::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_args_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_arg_builder` [INFO] [stdout] --> src/codegen/context.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let inst_arg_builder = InstructionArgument::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_arg_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr_value` [INFO] [stdout] --> src/codegen/context.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let (instr_value, idx) = self.get_from_spirv_type(ty); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_info` [INFO] [stdout] --> src/codegen/context.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let var_info = VariableInfo { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_ref` [INFO] [stdout] --> src/codegen/context.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | Expr::VariableRef(var_ref) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/codegen/context.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let mut program = Program::builder(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_builder` [INFO] [stdout] --> src/codegen/context.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | let inst_builder = Instruction::builder(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_args_builder` [INFO] [stdout] --> src/codegen/context.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let inst_args_builder = InstructionArguments::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_args_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_arg_builder` [INFO] [stdout] --> src/codegen/context.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | let inst_arg_builder = InstructionArgument::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_arg_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `built_in_var` [INFO] [stdout] --> src/codegen/context.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let built_in_var = decorate_stmt.built_in_var().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_built_in_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen/context.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut program = Program::builder(); [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: unused variable: `p` [INFO] [stdout] --> src/compiler/parse/grammar/statement.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | fn op_switch_statement(p: &mut Parser) -> CompletedMarker { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/compiler/parse/sink.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | fn error(&mut self, err: ParseError) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen/back/write.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_file(path: &Utf8Path, content: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/codegen/back/write.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_file(path: &Utf8Path, content: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/codegen/context.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | SpirvType::Int { width, signed } => (InstructionValue::Int(0), -1), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `width: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signed` [INFO] [stdout] --> src/codegen/context.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | SpirvType::Int { width, signed } => (InstructionValue::Int(0), -1), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `signed: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage_class` [INFO] [stdout] --> src/codegen/context.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | storage_class, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `storage_class: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_args_builder` [INFO] [stdout] --> src/codegen/context.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let inst_args_builder = InstructionArguments::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_args_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_arg_builder` [INFO] [stdout] --> src/codegen/context.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let inst_arg_builder = InstructionArgument::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_arg_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr_value` [INFO] [stdout] --> src/codegen/context.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let (instr_value, idx) = self.get_from_spirv_type(ty); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_info` [INFO] [stdout] --> src/codegen/context.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let var_info = VariableInfo { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_ref` [INFO] [stdout] --> src/codegen/context.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | Expr::VariableRef(var_ref) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/codegen/context.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let mut program = Program::builder(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_builder` [INFO] [stdout] --> src/codegen/context.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | let inst_builder = Instruction::builder(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_args_builder` [INFO] [stdout] --> src/codegen/context.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let inst_args_builder = InstructionArguments::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_args_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_arg_builder` [INFO] [stdout] --> src/codegen/context.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | let inst_arg_builder = InstructionArgument::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_arg_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `built_in_var` [INFO] [stdout] --> src/codegen/context.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let built_in_var = decorate_stmt.built_in_var().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_built_in_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen/context.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut program = Program::builder(); [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: unused variable: `p` [INFO] [stdout] --> src/compiler/parse/grammar/statement.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | fn op_switch_statement(p: &mut Parser) -> CompletedMarker { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_file` is never used [INFO] [stdout] --> src/codegen/back/write.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_file(path: &Utf8Path, content: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/codegen/builder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ConstantBuilder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `value`, and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ConstantBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 15 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn value(mut self, value: ConstantType) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `index` are never read [INFO] [stdout] --> src/codegen/builder.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct GlobalVarBuilder { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 35 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `value`, `index`, and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl GlobalVarBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 41 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn value(mut self, value: InstructionValue) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn index(mut self, index: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/codegen/builder.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl InstructionArgument { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 66 | pub fn builder() -> InstructionArgumentBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `scope`, `value`, and `index` are never read [INFO] [stdout] --> src/codegen/builder.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct InstructionArgumentBuilder { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 73 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | scope: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `scope`, `value`, `index`, and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl InstructionArgumentBuilder { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 80 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn scope(mut self, scope: VariableScope) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn value(mut self, value: InstructionValue) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn index(mut self, index: i32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/codegen/builder.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl InstructionArguments { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 111 | pub fn builder() -> InstructionArgumentsBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_args`, `scope`, and `arguments` are never read [INFO] [stdout] --> src/codegen/builder.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct InstructionArgumentsBuilder { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 118 | num_args: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | scope: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 120 | arguments: SmallVec<[InstructionArgument; 4]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `num_args`, `scope`, `push_argument`, and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl InstructionArgumentsBuilder { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 124 | pub fn num_args(mut self, num_args: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn scope(mut self, scope: InstructionScope) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn push_argument(mut self, argument: InstructionArgument) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/codegen/builder.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 153 | pub fn builder() -> InstructionBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `arguments` are never read [INFO] [stdout] --> src/codegen/builder.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct InstructionBuilder { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 160 | // position: Option, [INFO] [stdout] 161 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 162 | arguments: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `arguments`, and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl InstructionBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn name(mut self, name: InstructionName) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn arguments(mut self, arguments: InstructionArguments) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/codegen/builder.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Thread { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 193 | pub fn builder() -> ThreadBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/codegen/builder.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct ThreadBuilder { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 200 | instructions: SmallVec<[Instruction; 10]>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `instruction` and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl ThreadBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 204 | pub fn instruction(mut self, instruction: Instruction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn build(self) -> Thread { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/codegen/builder.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 217 | pub fn builder() -> ProgramBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/codegen/builder.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct ProgramBuilder { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 224 | global_vars: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 225 | subgroup_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 226 | work_group_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | num_work_groups: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 228 | num_threads: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 229 | scheduler: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 230 | // thread: SmallVec<[Thread; 8]>, [INFO] [stdout] 231 | instructions: SmallVec<[Instruction; 10]>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 232 | constants: SmallVec<[Constant; 10]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/compiler/parse/sink.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | fn error(&mut self, err: ParseError) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codegen/builder.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl ProgramBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 236 | pub fn global_var(mut self, global_var: GlobalVar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn subgroup_size(mut self, subgroup_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn work_group_size(mut self, work_group_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn num_work_groups(mut self, num_work_groups: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn num_threads(mut self, num_threads: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn scheduler(mut self, scheduler: Scheduler) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn push_instruction(mut self, instruction: Instruction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Assignment` is never constructed [INFO] [stdout] --> src/codegen/common.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum InstructionName { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 26 | Assignment, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intermediate`, `Local`, `Shared`, and `Global` are never constructed [INFO] [stdout] --> src/codegen/common.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum VariableScope { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 31 | Intermediate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | Shared, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableScope` 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 `cast` is never used [INFO] [stdout] --> src/codegen/common.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl VariableScope { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 38 | pub fn cast(storage_class: &StorageClass) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WorkGroup`, `SubGroup`, `Invocation`, and `None` are never constructed [INFO] [stdout] --> src/codegen/common.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum InstructionScope { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | WorkGroup = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | SubGroup = 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | Invocation = 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/codegen/common.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum InstructionBuiltInVariable { [INFO] [stdout] | -------------------------- variants in this enum [INFO] [stdout] 59 | NumWorkgroups, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | WorkgroupSize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 61 | WorkgroupId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | LocalInvocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | GlobalInvocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | SubgroupSize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | NumSubgroups, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 66 | SubgroupId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | SubgroupLocalInvocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionBuiltInVariable` 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 `cast` is never used [INFO] [stdout] --> src/codegen/common.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl InstructionBuiltInVariable { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 71 | pub(crate) fn cast(var: BuiltInVariable) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pointer`, `BuiltIn`, `Bool`, `String`, `Int`, and `UInt` are never constructed [INFO] [stdout] --> src/codegen/common.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum InstructionValue { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 89 | Pointer(String, VariableInfo), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | BuiltIn(InstructionBuiltInVariable), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 92 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | UInt(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OBE` and `HSA` are never constructed [INFO] [stdout] --> src/codegen/common.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Scheduler { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 99 | OBE, [INFO] [stdout] | ^^^ [INFO] [stdout] 100 | HSA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scheduler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `index` are never read [INFO] [stdout] --> src/codegen/common.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct GlobalVar { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 105 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | pub value: InstructionValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalVar` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `scope`, `value`, and `index` are never read [INFO] [stdout] --> src/codegen/common.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct InstructionArgument { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 112 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | pub scope: VariableScope, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 114 | pub value: InstructionValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 115 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionArgument` 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 `num_args`, `scope`, and `arguments` are never read [INFO] [stdout] --> src/codegen/common.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct InstructionArguments { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 120 | pub num_args: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | pub scope: InstructionScope, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 122 | pub arguments: SmallVec<[InstructionArgument; 4]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionArguments` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `arguments` are never read [INFO] [stdout] --> src/codegen/common.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Instruction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 127 | // pub position: u32, [INFO] [stdout] 128 | pub name: InstructionName, [INFO] [stdout] | ^^^^ [INFO] [stdout] 129 | pub arguments: InstructionArguments, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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 `Thread` is never constructed [INFO] [stdout] --> src/codegen/common.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thread` 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 `Program` is never constructed [INFO] [stdout] --> src/codegen/common.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Program { [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] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `String`, `Int`, and `Uint` are never constructed [INFO] [stdout] --> src/codegen/constant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ConstantType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 5 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Uint(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstantType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/codegen/constant.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Constant { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub value: ConstantType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` 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 `CodegenCx` is never constructed [INFO] [stdout] --> src/codegen/context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CodegenCx { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/codegen/context.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CodegenCx { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn insert_type(&mut self, id: String, ty: SpirvType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn lookup_type(&self, id: &str) -> Option<&SpirvType> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn insert_variable(&mut self, name: String, var_info: VariableInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn lookup_variable(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn built_in_variable(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_from_spirv_type(&self, spirv_type: &SpirvType) -> (InstructionValue, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn generate_code_for_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn generate_code_for_stmt(&mut self, stmt: &Stmt) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn generate_code(&mut self, root: SyntaxNode) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DecorateStatement(SyntaxNode); [INFO] [stdout] | ----------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DecorateStatement` 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/compiler/ast/ast.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VariableRef(SyntaxNode); [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VariableRef` 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/compiler/ast/ast.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FuncStatement(SyntaxNode); [INFO] [stdout] | ------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FuncStatement` 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/compiler/ast/ast.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VariableExpr(SyntaxNode); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VariableExpr` 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/compiler/ast/ast.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TypeExpr(SyntaxNode); [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TypeExpr` 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/compiler/ast/ast.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LabelExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LabelExpr` 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/compiler/ast/ast.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct LoadExpr(SyntaxNode); [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LoadExpr` 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/compiler/ast/ast.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct StoreExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StoreExpr` 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/compiler/ast/ast.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ConstExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ConstExpr` 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/compiler/ast/ast.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct EqualExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `EqualExpr` 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/compiler/ast/ast.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NotEqualExpr(SyntaxNode); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NotEqualExpr` 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/compiler/ast/ast.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct LessThanExpr(SyntaxNode); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LessThanExpr` 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/compiler/ast/ast.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GreaterThanExpr(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GreaterThanExpr` 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/compiler/ast/ast.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct LessThanEqualExpr(SyntaxNode); [INFO] [stdout] | ----------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LessThanEqualExpr` 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/compiler/ast/ast.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GreaterThanEqualExpr(SyntaxNode); [INFO] [stdout] | -------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GreaterThanEqualExpr` 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/compiler/ast/ast.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct AtomicExchangeExpr(SyntaxNode); [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AtomicExchangeExpr` 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/compiler/ast/ast.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct AtomicCompareExchangeExpr(SyntaxNode); [INFO] [stdout] | ------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AtomicCompareExchangeExpr` 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/compiler/ast/ast.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ReturnStatement(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ReturnStatement` 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/compiler/ast/ast.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BranchConditionalStatement(SyntaxNode); [INFO] [stdout] | -------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `BranchConditionalStatement` 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/compiler/ast/ast.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct BranchStatement(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `BranchStatement` 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/compiler/ast/ast.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SwitchStatement(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SwitchStatement` 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/compiler/ast/ast.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LoopMergeStatement(SyntaxNode); [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LoopMergeStatement` 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/compiler/ast/ast.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct SelectionMergeStatement(SyntaxNode); [INFO] [stdout] | ----------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SelectionMergeStatement` 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/compiler/ast/ast.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | VariableExpr(VariableExpr), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | VariableExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | TypeExpr(TypeExpr), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | TypeExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | VariableRef(VariableRef), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 63 | VariableRef(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | LabelExpr(LabelExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 64 | LabelExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | LoadExpr(LoadExpr), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | LoadExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | StoreExpr(StoreExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | StoreExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | ConstExpr(ConstExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | ConstExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | EqualExpr(EqualExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | EqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | NotEqualExpr(NotEqualExpr), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 69 | NotEqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | LessThanExpr(LessThanExpr), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 70 | LessThanExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | GreaterThanExpr(GreaterThanExpr), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | GreaterThanExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | LessThanEqualExpr(LessThanEqualExpr), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | LessThanEqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | GreaterThanEqualExpr(GreaterThanEqualExpr), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | GreaterThanEqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | AtomicExchangeExpr(AtomicExchangeExpr), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | AtomicExchangeExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | AtomicCompareExchangeExpr(AtomicCompareExchangeExpr), [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | AtomicCompareExchangeExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | DecorateStatement(DecorateStatement), [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] 80 | DecorateStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | ReturnStatement(ReturnStatement), [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] 83 | ReturnStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | BranchConditionalStatement(BranchConditionalStatement), [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] 84 | BranchConditionalStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | BranchStatement(BranchStatement), [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] 85 | BranchStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | LoopMergeStatement(LoopMergeStatement), [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] 87 | LoopMergeStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | SelectionMergeStatement(SelectionMergeStatement), [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] 88 | SelectionMergeStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | Expr(Expr), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FuncStatement` and `SwitchStatement` are never constructed [INFO] [stdout] --> src/compiler/ast/ast.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 82 | FuncStatement(FuncStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | SwitchStatement(SwitchStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ty` and `name` are never used [INFO] [stdout] --> src/compiler/ast/ast.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl TypeExpr { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 166 | pub fn ty(&self) -> SpirvType { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn name(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ty_name` and `storage_class` are never used [INFO] [stdout] --> src/compiler/ast/ast.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 239 | impl VariableExpr { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 240 | pub(crate) fn ty_name(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub(crate) fn storage_class(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 268 | impl VariableRef { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 269 | pub(crate) fn name(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 277 | impl VariableDef { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 278 | // we want [INFO] [stdout] 279 | pub(crate) fn name(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expr`, `ty`, and `pointer` are never used [INFO] [stdout] --> src/compiler/ast/ast.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 291 | impl LoadExpr { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 292 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub(crate) fn ty(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub(crate) fn pointer(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 312 | impl StoreExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 313 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 318 | impl ConstExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 319 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 324 | impl EqualExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 325 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 330 | impl NotEqualExpr { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 331 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:337:19 [INFO] [stdout] | [INFO] [stdout] 336 | impl LessThanExpr { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 337 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 342 | impl GreaterThanExpr { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 343 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 348 | impl LessThanEqualExpr { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 349 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 354 | impl GreaterThanEqualExpr { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 355 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 360 | impl AtomicExchangeExpr { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 361 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 366 | impl AtomicCompareExchangeExpr { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 367 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `built_in_var` are never used [INFO] [stdout] --> src/compiler/ast/ast.rs:373:19 [INFO] [stdout] | [INFO] [stdout] 372 | impl DecorateStatement { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 373 | pub(crate) fn name(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub(crate) fn built_in_var(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StartNodeAt` is never constructed [INFO] [stdout] --> src/compiler/parse/event.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | StartNodeAt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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: function `op_switch_statement` is never used [INFO] [stdout] --> src/compiler/parse/grammar/statement.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn op_switch_statement(p: &mut Parser) -> CompletedMarker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/compiler/parse/marker.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) struct CompletedMarker { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 41 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `precede` is never used [INFO] [stdout] --> src/compiler/parse/marker.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl CompletedMarker { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 45 | pub(super) fn precede(&self, p: &mut Parser) -> Marker { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AsukaResult` is never used [INFO] [stdout] --> src/compiler/parse/parser.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type AsukaResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_node`, `start_node_at`, `finish_node`, and `checkpoint` are never used [INFO] [stdout] --> src/compiler/parse/parser.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'l, 't> Parser<'l, 't> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn start_node(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn start_node_at(&mut self, checkpoint: usize, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn finish_node(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn checkpoint(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AsukaError` is never used [INFO] [stdout] --> src/compiler/parse/parser_error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AsukaError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/compiler/parse/sink.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'l, 't> Sink<'l, 't> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | fn error(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global`, `Shared`, and `Local` are never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) enum StorageClass { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 18 | // Uniform, Input and Output in SPIR-V are all Global in our case [INFO] [stdout] 19 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | // Workgroup in SPIR-V is Shared in our case [INFO] [stdout] 21 | Shared, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | // Function in SPIR-V is Local in our case [INFO] [stdout] 23 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageClass` 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: multiple variants are never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) enum BuiltInVariable { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 28 | NumWorkgroups, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | WorkgroupSize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | WorkgroupId, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | LocalInvocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | GlobalInvocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | SubgroupSize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | NumSubgroups, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | SubgroupId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | SubgroupLocalInvocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuiltInVariable` 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: associated function `cast` is never used [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BuiltInVariable { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn cast(token: TokenKind) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) enum SpirvType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 64 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | Int { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | RuntimeArray { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | Pointer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvType` 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: struct `SpirvTypeTable` is never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SpirvTypeTable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `lookup` are never used [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl SpirvTypeTable { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 95 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn insert(&mut self, id: String, ty: SpirvType) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn lookup(&self, id: &str) -> Option<&SpirvType> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_builtin`, `get_builtin`, `get_ty`, and `get_storage_class` are never used [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl VariableInfo { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 117 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn is_builtin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_builtin(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_ty(&self) -> SpirvType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_storage_class(&self) -> StorageClass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableInfoBuilder` is never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct VariableInfoBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Scope` is never used [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | type Scope = HashMap; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTable` is never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct SymbolTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `lookup` are never used [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl SymbolTable { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 162 | // Create a new, empty symbol table [INFO] [stdout] 163 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn insert(&mut self, var_name: String, var_info: VariableInfo) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn lookup(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SyntaxToken` is never used [INFO] [stdout] --> src/compiler/parse/syntax.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) type SyntaxToken = rowan::SyntaxToken; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SyntaxElement` is never used [INFO] [stdout] --> src/compiler/parse/syntax.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) type SyntaxElement = rowan::SyntaxElement; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OpUnsupported` is never constructed [INFO] [stdout] --> src/compiler/parse/syntax.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum LexingError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 26 | OpUnsupported(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: constant `INSTRUCTION_SET` is never used [INFO] [stdout] --> src/compiler/parse/syntax.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const INSTRUCTION_SET: [&'static str; 19] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_not_supported` is never used [INFO] [stdout] --> src/compiler/parse/syntax.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn instruction_not_supported(instruction: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 157 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_file` is never used [INFO] [stdout] --> src/codegen/back/write.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_file(path: &Utf8Path, content: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/codegen/builder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ConstantBuilder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `value`, and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ConstantBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 15 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn value(mut self, value: ConstantType) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `index` are never read [INFO] [stdout] --> src/codegen/builder.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct GlobalVarBuilder { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 35 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `value`, `index`, and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl GlobalVarBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 41 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn value(mut self, value: InstructionValue) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn index(mut self, index: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/codegen/builder.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Thread { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 193 | pub fn builder() -> ThreadBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instructions` is never read [INFO] [stdout] --> src/codegen/builder.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct ThreadBuilder { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 200 | instructions: SmallVec<[Instruction; 10]>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `instruction` and `build` are never used [INFO] [stdout] --> src/codegen/builder.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl ThreadBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 204 | pub fn instruction(mut self, instruction: Instruction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn build(self) -> Thread { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `global_var` is never used [INFO] [stdout] --> src/codegen/builder.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl ProgramBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 236 | pub fn global_var(mut self, global_var: GlobalVar) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WorkGroup`, `SubGroup`, and `Invocation` are never constructed [INFO] [stdout] --> src/codegen/common.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum InstructionScope { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | WorkGroup = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | SubGroup = 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | Invocation = 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `UInt` are never constructed [INFO] [stdout] --> src/codegen/common.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum InstructionValue { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 92 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | Int(i32), [INFO] [stdout] 94 | UInt(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HSA` is never constructed [INFO] [stdout] --> src/codegen/common.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Scheduler { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 99 | OBE, [INFO] [stdout] 100 | HSA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scheduler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `index` are never read [INFO] [stdout] --> src/codegen/common.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct GlobalVar { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 105 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | pub value: InstructionValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalVar` 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 `scope` is never read [INFO] [stdout] --> src/codegen/common.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct InstructionArguments { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 120 | pub num_args: u32, [INFO] [stdout] 121 | pub scope: InstructionScope, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionArguments` 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/codegen/common.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 127 | // pub position: u32, [INFO] [stdout] 128 | pub name: InstructionName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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 `Thread` is never constructed [INFO] [stdout] --> src/codegen/common.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thread` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/codegen/common.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Program { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 147 | pub global_vars: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 148 | pub subgroup_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub work_group_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | pub num_work_groups: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | pub num_threads: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 152 | pub scheduler: Scheduler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 153 | pub instructions: SmallVec<[Instruction; 10]>, [INFO] [stdout] 154 | pub constants: SmallVec<[Constant; 10]>, [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] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `String`, `Int`, and `Uint` are never constructed [INFO] [stdout] --> src/codegen/constant.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ConstantType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 5 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Uint(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstantType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/codegen/constant.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Constant { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub value: ConstantType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/codegen/context.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn check(input: &str, expected_tree: expect_test::Expect) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct VariableRef(SyntaxNode); [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VariableRef` 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/compiler/ast/ast.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FuncStatement(SyntaxNode); [INFO] [stdout] | ------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FuncStatement` 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/compiler/ast/ast.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LabelExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LabelExpr` 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/compiler/ast/ast.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct StoreExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `StoreExpr` 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/compiler/ast/ast.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ConstExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ConstExpr` 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/compiler/ast/ast.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct EqualExpr(SyntaxNode); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `EqualExpr` 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/compiler/ast/ast.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NotEqualExpr(SyntaxNode); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NotEqualExpr` 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/compiler/ast/ast.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct LessThanExpr(SyntaxNode); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LessThanExpr` 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/compiler/ast/ast.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GreaterThanExpr(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GreaterThanExpr` 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/compiler/ast/ast.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct LessThanEqualExpr(SyntaxNode); [INFO] [stdout] | ----------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LessThanEqualExpr` 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/compiler/ast/ast.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GreaterThanEqualExpr(SyntaxNode); [INFO] [stdout] | -------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `GreaterThanEqualExpr` 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/compiler/ast/ast.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct AtomicExchangeExpr(SyntaxNode); [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AtomicExchangeExpr` 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/compiler/ast/ast.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct AtomicCompareExchangeExpr(SyntaxNode); [INFO] [stdout] | ------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AtomicCompareExchangeExpr` 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/compiler/ast/ast.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ReturnStatement(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ReturnStatement` 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/compiler/ast/ast.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BranchConditionalStatement(SyntaxNode); [INFO] [stdout] | -------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `BranchConditionalStatement` 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/compiler/ast/ast.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct BranchStatement(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `BranchStatement` 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/compiler/ast/ast.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SwitchStatement(SyntaxNode); [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SwitchStatement` 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/compiler/ast/ast.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LoopMergeStatement(SyntaxNode); [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LoopMergeStatement` 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/compiler/ast/ast.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct SelectionMergeStatement(SyntaxNode); [INFO] [stdout] | ----------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SelectionMergeStatement` 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/compiler/ast/ast.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | LabelExpr(LabelExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 64 | LabelExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | StoreExpr(StoreExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | StoreExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | ConstExpr(ConstExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | ConstExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | EqualExpr(EqualExpr), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | EqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | NotEqualExpr(NotEqualExpr), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 69 | NotEqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | LessThanExpr(LessThanExpr), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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] 70 | LessThanExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | GreaterThanExpr(GreaterThanExpr), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | GreaterThanExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | LessThanEqualExpr(LessThanEqualExpr), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | LessThanEqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | GreaterThanEqualExpr(GreaterThanEqualExpr), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | GreaterThanEqualExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | AtomicExchangeExpr(AtomicExchangeExpr), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | AtomicExchangeExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | AtomicCompareExchangeExpr(AtomicCompareExchangeExpr), [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] 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 | AtomicCompareExchangeExpr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | ReturnStatement(ReturnStatement), [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] 83 | ReturnStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | BranchConditionalStatement(BranchConditionalStatement), [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] 84 | BranchConditionalStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | BranchStatement(BranchStatement), [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] 85 | BranchStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | LoopMergeStatement(LoopMergeStatement), [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] 87 | LoopMergeStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/ast.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | SelectionMergeStatement(SelectionMergeStatement), [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] 88 | SelectionMergeStatement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FuncStatement` and `SwitchStatement` are never constructed [INFO] [stdout] --> src/compiler/ast/ast.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 82 | FuncStatement(FuncStatement), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | SwitchStatement(SwitchStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 268 | impl VariableRef { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 269 | pub(crate) fn name(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 291 | impl LoadExpr { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 292 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 312 | impl StoreExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 313 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 318 | impl ConstExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 319 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 324 | impl EqualExpr { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 325 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 330 | impl NotEqualExpr { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 331 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:337:19 [INFO] [stdout] | [INFO] [stdout] 336 | impl LessThanExpr { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 337 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 342 | impl GreaterThanExpr { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 343 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 348 | impl LessThanEqualExpr { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 349 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 354 | impl GreaterThanEqualExpr { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 355 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 360 | impl AtomicExchangeExpr { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 361 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expr` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 366 | impl AtomicCompareExchangeExpr { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 367 | pub(crate) fn expr(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/compiler/ast/ast.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | fn check(input: &str, expected_tree: expect_test::Expect) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StartNodeAt` is never constructed [INFO] [stdout] --> src/compiler/parse/event.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | StartNodeAt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` 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: function `op_switch_statement` is never used [INFO] [stdout] --> src/compiler/parse/grammar/statement.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn op_switch_statement(p: &mut Parser) -> CompletedMarker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/compiler/parse/marker.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) struct CompletedMarker { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 41 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `precede` is never used [INFO] [stdout] --> src/compiler/parse/marker.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl CompletedMarker { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 45 | pub(super) fn precede(&self, p: &mut Parser) -> Marker { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AsukaResult` is never used [INFO] [stdout] --> src/compiler/parse/parser.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type AsukaResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_node`, `start_node_at`, `finish_node`, and `checkpoint` are never used [INFO] [stdout] --> src/compiler/parse/parser.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'l, 't> Parser<'l, 't> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn start_node(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn start_node_at(&mut self, checkpoint: usize, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn finish_node(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn checkpoint(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AsukaError` is never used [INFO] [stdout] --> src/compiler/parse/parser_error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AsukaError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/compiler/parse/sink.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'l, 't> Sink<'l, 't> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | fn error(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Array`, `RuntimeArray`, and `Struct` are never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) enum SpirvType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | RuntimeArray { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvType` 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: associated items `new` and `get_ty` are never used [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl VariableInfo { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 117 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_ty(&self) -> SpirvType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableInfoBuilder` is never constructed [INFO] [stdout] --> src/compiler/parse/symbol_table.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct VariableInfoBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SyntaxElement` is never used [INFO] [stdout] --> src/compiler/parse/syntax.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) type SyntaxElement = rowan::SyntaxElement; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OpUnsupported` is never constructed [INFO] [stdout] --> src/compiler/parse/syntax.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum LexingError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 26 | OpUnsupported(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: constant `INSTRUCTION_SET` is never used [INFO] [stdout] --> src/compiler/parse/syntax.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const INSTRUCTION_SET: [&'static str; 19] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_not_supported` is never used [INFO] [stdout] --> src/compiler/parse/syntax.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn instruction_not_supported(instruction: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 126 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.47s [INFO] running `Command { std: "docker" "inspect" "dfe1875493115d143234548a6406277728c3434306fa0a8723a7f8479fdf9f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe1875493115d143234548a6406277728c3434306fa0a8723a7f8479fdf9f0d", kill_on_drop: false }` [INFO] [stdout] dfe1875493115d143234548a6406277728c3434306fa0a8723a7f8479fdf9f0d