[INFO] cloning repository https://github.com/Pctg-x8/cloth-shader-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pctg-x8/cloth-shader-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPctg-x8%2Fcloth-shader-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPctg-x8%2Fcloth-shader-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b1a9a1050b32c2f6e07e5b87f18d65ecccf4857 [INFO] checking Pctg-x8/cloth-shader-lang/7b1a9a1050b32c2f6e07e5b87f18d65ecccf4857 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPctg-x8%2Fcloth-shader-lang" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pctg-x8/cloth-shader-lang 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/Pctg-x8/cloth-shader-lang [INFO] finished tweaking git repo https://github.com/Pctg-x8/cloth-shader-lang [INFO] tweaked toml for git repo https://github.com/Pctg-x8/cloth-shader-lang written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pctg-x8/cloth-shader-lang 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5efca7d358fbfaab8a0f65c33056697603fd5d9c001b34212d8df8f02b38b2c3 [INFO] running `Command { std: "docker" "start" "-a" "5efca7d358fbfaab8a0f65c33056697603fd5d9c001b34212d8df8f02b38b2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5efca7d358fbfaab8a0f65c33056697603fd5d9c001b34212d8df8f02b38b2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5efca7d358fbfaab8a0f65c33056697603fd5d9c001b34212d8df8f02b38b2c3", kill_on_drop: false }` [INFO] [stdout] 5efca7d358fbfaab8a0f65c33056697603fd5d9c001b34212d8df8f02b38b2c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a522812739dc82fea52f88573bdf2897ad2a1114d9010cbaafd083476941fe05 [INFO] running `Command { std: "docker" "start" "-a" "a522812739dc82fea52f88573bdf2897ad2a1114d9010cbaafd083476941fe05", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.10 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking clap v4.5.10 [INFO] [stderr] Checking cloth-shader-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SpvFunctionBodyEmissionContext`, `SpvSectionLocalId`, `emit_block`, `emit_entry_point_spv_ops2`, `emit_entry_point_spv_ops`, and `emit_shader_interface_vars` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | emit_block, emit_entry_point_spv_ops, emit_entry_point_spv_ops2, emit_shader_interface_vars, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | entrypoint::ShaderEntryPointDescription, SpvFunctionBodyEmissionContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | SpvModuleEmissionContext, SpvSectionLocalId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockRef`, `convert_static_path_ref`, `dump_registers`, and `optimize_pure_expr` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | dump_blocks, dump_registers, parse_incoming_flows, Block, BlockFlowInstruction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | BlockGenerationContext, BlockInstruction, BlockRef, RegisterRef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | build_scope_local_var_state, collect_scope_local_memory_usages, convert_static_path_ref, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | deconstruct_effectless_phi, extract_constants, fold_const_ops, inline_function2, [INFO] [stdout] 23 | merge_constants, merge_simple_goto_blocks, optimize_pure_expr, promote_instantiate_const, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ref_path::RefPath` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use ref_path::RefPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstModifiers`, `ExprRef`, `SimplifiedExpression`, and `scope::SymbolScope` [INFO] [stdout] --> src/codegen.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | expr::{ConstModifiers, SimplifiedExpression}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ExprRef, FunctionBody, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | scope::SymbolScope, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spirv as spv` [INFO] [stdout] --> src/ir/block.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | spirv as spv, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprRef` [INFO] [stdout] --> src/ir/block.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ExprRef, InstantiatedConst, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/ir/opt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionInputVariable`, `parser::FunctionDeclarationInputArguments`, and `self` [INFO] [stdout] --> src/ir/opt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | parser::FunctionDeclarationInputArguments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ref_path::RefPath, [INFO] [stdout] 13 | scope::{self, SymbolScope, VarId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | FunctionInputVariable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spirv as spv` [INFO] [stdout] --> src/ir2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::spirv as spv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprRef` [INFO] [stdout] --> src/scope.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | ir::{ExprRef, FunctionBody}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ir::ExprRef` [INFO] [stdout] --> src/symbol.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ir::ExprRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpvFunctionBodyEmissionContext`, `SpvSectionLocalId`, `emit_block`, `emit_entry_point_spv_ops2`, `emit_entry_point_spv_ops`, and `emit_shader_interface_vars` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | emit_block, emit_entry_point_spv_ops, emit_entry_point_spv_ops2, emit_shader_interface_vars, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | entrypoint::ShaderEntryPointDescription, SpvFunctionBodyEmissionContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | SpvModuleEmissionContext, SpvSectionLocalId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockRef`, `convert_static_path_ref`, `dump_registers`, and `optimize_pure_expr` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | dump_blocks, dump_registers, parse_incoming_flows, Block, BlockFlowInstruction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | BlockGenerationContext, BlockInstruction, BlockRef, RegisterRef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | build_scope_local_var_state, collect_scope_local_memory_usages, convert_static_path_ref, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | deconstruct_effectless_phi, extract_constants, fold_const_ops, inline_function2, [INFO] [stdout] 23 | merge_constants, merge_simple_goto_blocks, optimize_pure_expr, promote_instantiate_const, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ref_path::RefPath` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use ref_path::RefPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstModifiers`, `ExprRef`, `SimplifiedExpression`, and `scope::SymbolScope` [INFO] [stdout] --> src/codegen.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | expr::{ConstModifiers, SimplifiedExpression}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ExprRef, FunctionBody, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | scope::SymbolScope, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spirv as spv` [INFO] [stdout] --> src/ir/block.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | spirv as spv, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprRef` [INFO] [stdout] --> src/ir/block.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ExprRef, InstantiatedConst, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/ir/opt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionInputVariable`, `parser::FunctionDeclarationInputArguments`, and `self` [INFO] [stdout] --> src/ir/opt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | parser::FunctionDeclarationInputArguments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ref_path::RefPath, [INFO] [stdout] 13 | scope::{self, SymbolScope, VarId}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | FunctionInputVariable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spirv as spv` [INFO] [stdout] --> src/ir2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::spirv as spv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprRef` [INFO] [stdout] --> src/scope.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | ir::{ExprRef, FunctionBody}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ir::ExprRef` [INFO] [stdout] --> src/symbol.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ir::ExprRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/const_expr.rs:561:28 [INFO] [stdout] | [INFO] [stdout] 561 | Self::SInt(r) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/const_expr.rs:564:34 [INFO] [stdout] | [INFO] [stdout] 564 | Self::UnknownInt(r) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/const_expr.rs:561:28 [INFO] [stdout] | [INFO] [stdout] 561 | Self::SInt(r) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/const_expr.rs:564:34 [INFO] [stdout] | [INFO] [stdout] 564 | Self::UnknownInt(r) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fbody` [INFO] [stdout] --> src/codegen.rs:1478:5 [INFO] [stdout] | [INFO] [stdout] 1478 | fbody: &FunctionBody, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fbody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callee` [INFO] [stdout] --> src/codegen.rs:1721:33 [INFO] [stdout] | [INFO] [stdout] 1721 | callee: RegisterRef(callee), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_callee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/codegen.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/codegen.rs:1723:33 [INFO] [stdout] | [INFO] [stdout] 1723 | result: RegisterRef(result), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after_return` [INFO] [stdout] --> src/codegen.rs:1724:13 [INFO] [stdout] | [INFO] [stdout] 1724 | after_return, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `after_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `true` [INFO] [stdout] --> src/codegen.rs:1738:13 [INFO] [stdout] | [INFO] [stdout] 1738 | r#true, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `false` [INFO] [stdout] --> src/codegen.rs:1739:13 [INFO] [stdout] | [INFO] [stdout] 1739 | r#false, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/codegen.rs:1742:18 [INFO] [stdout] | [INFO] [stdout] 1742 | let (source, source_ty) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fbody` [INFO] [stdout] --> src/codegen.rs:1478:5 [INFO] [stdout] | [INFO] [stdout] 1478 | fbody: &FunctionBody, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fbody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callee` [INFO] [stdout] --> src/codegen.rs:1721:33 [INFO] [stdout] | [INFO] [stdout] 1721 | callee: RegisterRef(callee), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_callee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/codegen.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | ref args, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/codegen.rs:1723:33 [INFO] [stdout] | [INFO] [stdout] 1723 | result: RegisterRef(result), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after_return` [INFO] [stdout] --> src/codegen.rs:1724:13 [INFO] [stdout] | [INFO] [stdout] 1724 | after_return, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `after_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `true` [INFO] [stdout] --> src/codegen.rs:1738:13 [INFO] [stdout] | [INFO] [stdout] 1738 | r#true, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `false` [INFO] [stdout] --> src/codegen.rs:1739:13 [INFO] [stdout] | [INFO] [stdout] 1739 | r#false, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/codegen.rs:1742:18 [INFO] [stdout] | [INFO] [stdout] 1742 | let (source, source_ty) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic_args` [INFO] [stdout] --> src/ir/expr.rs:861:21 [INFO] [stdout] | [INFO] [stdout] 861 | generic_args, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `generic_args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic_args` [INFO] [stdout] --> src/ir/expr.rs:861:21 [INFO] [stdout] | [INFO] [stdout] 861 | generic_args, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `generic_args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refpath_binds` [INFO] [stdout] --> src/ir/opt.rs:1309:5 [INFO] [stdout] | [INFO] [stdout] 1309 | refpath_binds: &HashMap<&RefPath, &Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refpath_binds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/ir/opt.rs:2076:41 [INFO] [stdout] | [INFO] [stdout] 2076 | IncomingRegister::Phied(p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refpath_binds` [INFO] [stdout] --> src/ir/opt.rs:1309:5 [INFO] [stdout] | [INFO] [stdout] 1309 | refpath_binds: &HashMap<&RefPath, &Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refpath_binds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ir/opt.rs:3559:26 [INFO] [stdout] | [INFO] [stdout] 3559 | for (n, x) in expressions.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ir/opt.rs:3591:26 [INFO] [stdout] | [INFO] [stdout] 3591 | for (n, x) in expressions.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/ir/opt.rs:2076:41 [INFO] [stdout] | [INFO] [stdout] 2076 | IncomingRegister::Phied(p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ir/opt.rs:3559:26 [INFO] [stdout] | [INFO] [stdout] 3559 | for (n, x) in expressions.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/ir/opt.rs:3591:26 [INFO] [stdout] | [INFO] [stdout] 3591 | for (n, x) in expressions.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ir2.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | for x in 0..self.0 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ir2.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | for x in 0..self.0 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/ir2.rs:662:17 [INFO] [stdout] | [INFO] [stdout] 662 | result, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after_return` [INFO] [stdout] --> src/ir2.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | after_return, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `after_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `continue` [INFO] [stdout] --> src/ir2.rs:806:17 [INFO] [stdout] | [INFO] [stdout] 806 | r#continue, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `continue: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/ir2.rs:662:17 [INFO] [stdout] | [INFO] [stdout] 662 | result, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after_return` [INFO] [stdout] --> src/ir2.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | after_return, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `after_return: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `continue` [INFO] [stdout] --> src/ir2.rs:806:17 [INFO] [stdout] | [INFO] [stdout] 806 | r#continue, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `continue: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:788:9 [INFO] [stdout] | [INFO] [stdout] 788 | for e in optimized_entry_points { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:788:9 [INFO] [stdout] | [INFO] [stdout] 788 | for e in optimized_entry_points { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_instruction` and `make_member_instruction` are never used [INFO] [stdout] --> src/spirv.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Decorate { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 25 | pub fn make_instruction(&self, target: IdType) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn make_member_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `True`, `False`, `Composite`, `Sampler`, `Null`, and `Undef` are never constructed [INFO] [stdout] --> src/spirv.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Constant { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 141 | True { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | False { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | Composite { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | Sampler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | Null { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | Undef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` 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 `i32vec2` is never used [INFO] [stdout] --> src/spirv.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl Constant { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 169 | #[inline] [INFO] [stdout] 170 | pub fn i32vec2(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dim1`, `Dim3`, `Cube`, `Rect`, and `Buffer` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Dim { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | Dim1 = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Dim2 = 1, [INFO] [stdout] 8 | Dim3 = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Cube = 3, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Rect = 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Buffer = 5, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dim` 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: variant `KnownRuntime` is never constructed [INFO] [stdout] --> src/spirv/asm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum TypeImageSampled { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 18 | KnownRuntime = 0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeImageSampled` 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/spirv/asm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ImageFormat { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | Unknown = 0, [INFO] [stdout] 27 | Rgba32f, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Rgba16f, [INFO] [stdout] 29 | R32f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Rgba8, [INFO] [stdout] 31 | Rgba8Snorm, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | Rg32f, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | Rg16f, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | R11fG11fB10f, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | R16f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | Rgba16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Rgb10A2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Rg16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | Rg8, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | R16, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | R8, [INFO] [stdout] | ^^ [INFO] [stdout] 42 | Rgba16Snorm, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | Rg16Snorm, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | Rg8Snorm, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | R16Snorm, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | R8Snorm, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | Rgba32i, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Rgba16i, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | Rgba8i, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | R32i, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | Rg32i, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | Rg16i, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Rg8i, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | R16i, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | R8i, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | Rgba32ui, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Rgba16ui, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | Rgba8ui, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | R32ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Rgb10a2ui, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | Rg32ui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | Rg16ui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | Rg8ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | R16ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | R8ui, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | R64ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | R64i, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageFormat` 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: variants `ReadOnly`, `WriteOnly`, and `ReadWrite` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum AccessQualifier { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 73 | ReadOnly = 0, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | WriteOnly = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | ReadWrite = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessQualifier` 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/spirv/asm.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum StorageClass { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 81 | UniformConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | Uniform, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | Workgroup, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | CrossWorkgroup, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 87 | Private, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 88 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | Generic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | PushConstant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 91 | AtomicCounter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 92 | Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 93 | StorageBuffer, [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: variants `None`, `ClampToEdge`, `Clamp`, `Repeat`, and `RepeatMirrored` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum SamplerAddressingMode { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 99 | None = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | ClampToEdge = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | Clamp = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Repeat = 3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | RepeatMirrored = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SamplerAddressingMode` 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: variants `Nearest` and `Linear` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum SamplerFilterMode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 109 | Nearest = 0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | Linear = 1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SamplerFilterMode` 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/spirv/asm.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum Decoration { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 137 | Block = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 138 | ColMajor = 5, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 139 | MatrixStride = 7, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 140 | Builtin = 11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | Location = 30, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 142 | Binding = 33, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 143 | DescriptorSet = 34, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 144 | Offset = 35, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 145 | InputAttachmentIndex = 43, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decoration` 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: variants `Matrix`, `Geometry`, and `Tessellation` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub enum Capability { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 174 | Matrix = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 175 | Shader = 1, [INFO] [stdout] 176 | Geometry = 2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 177 | Tessellation = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Capability` 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: variant `OriginUpperLeft` is never constructed [INFO] [stdout] --> src/spirv/asm.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum ExecutionMode { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 184 | OriginUpperLeft = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionMode` 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: variant `Workgroup` is never constructed [INFO] [stdout] --> src/spirv/asm.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum Scope { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 190 | Workgroup = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: variant `SpecConstantID` is never constructed [INFO] [stdout] --> src/spirv/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TypeArrayLength { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 3 | ConstExpr(super::Constant), [INFO] [stdout] 4 | SpecConstantID(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeArrayLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `of_vector` and `of_matrix` are never used [INFO] [stdout] --> src/spirv/types.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ScalarType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 21 | pub const fn of_vector(self, count: VectorSize) -> VectorType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn of_matrix( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `element_type`, `element_count`, and `of_matrix` are never used [INFO] [stdout] --> src/spirv/types.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 92 | impl VectorType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 93 | pub const fn element_type(&self) -> &ScalarType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub const fn element_count(&self) -> VectorSize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub const fn of_matrix(self, count: MatrixColumnCount) -> MatrixType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `element_type`, `column_type`, `column_count`, and `stride` are never used [INFO] [stdout] --> src/spirv/types.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 173 | impl MatrixType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 174 | pub const fn element_type(&self) -> &ScalarType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub const fn column_type(&self) -> &VectorType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub const fn column_count(&self) -> MatrixColumnCount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub const fn stride(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> src/spirv/types.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub enum ImageComponentType { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 193 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageComponentType` 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: variants `Scalar` and `Vector` are never constructed [INFO] [stdout] --> src/spirv/types.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub enum ScalarOrVectorType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 204 | Scalar(ScalarType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 205 | Vector(ScalarType, VectorSize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarOrVectorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scalar` and `vector_size` are never used [INFO] [stdout] --> src/spirv/types.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 207 | impl ScalarOrVectorType { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 208 | pub const fn scalar(&self) -> &ScalarType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub const fn vector_size(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Scalar` and `Vector` are never constructed [INFO] [stdout] --> src/spirv/types.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub enum ScalarOrVectorTypeView<'s> { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 225 | Scalar(&'s ScalarType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 226 | Vector(&'s ScalarType, VectorSize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarOrVectorTypeView` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scalar` and `vector_size` are never used [INFO] [stdout] --> src/spirv/types.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 228 | impl<'s> ScalarOrVectorTypeView<'s> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 229 | pub const fn scalar(&self) -> &'s ScalarType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub const fn vector_size(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `Sampler`, `RuntimeArray`, and `ForwardPointer` are never constructed [INFO] [stdout] --> src/spirv/types.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 252 | Void, [INFO] [stdout] 253 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | RuntimeArray { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | ForwardPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `of_pointer`, `dereferenced`, `scalar_or_vector`, and `scalar_or_vector_view` are never used [INFO] [stdout] --> src/spirv/types.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 318 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn of_pointer(self, storage: super::asm::StorageClass) -> PointerType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn dereferenced(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn scalar_or_vector(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn scalar_or_vector_view(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExtInstImport`, `TypeConst`, `GlobalVariable`, `Function`, and `CurrentFunction` are never constructed [INFO] [stdout] --> src/codegen.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum SpvSectionLocalId { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 29 | ExtInstImport(spv::Id), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | TypeConst(spv::Id), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | GlobalVariable(spv::Id), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | Function(spv::Id), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | CurrentFunction(spv::Id), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpvSectionLocalId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `latest_function_id`, `defined_const_map`, `defined_type_map`, `defined_descriptor_set_bound_global_vars`, and `defined_push_constant_global_vars` are never read [INFO] [stdout] --> src/codegen.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SpvModuleEmissionContext { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub latest_function_id: spv::Id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub defined_const_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub defined_type_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub defined_descriptor_set_bound_global_vars: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | HashMap<(u32, u32, spv::Type, spv::asm::StorageClass), SpvSectionLocalId>, [INFO] [stdout] 55 | pub defined_push_constant_global_vars: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codegen.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl SpvModuleEmissionContext { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn request_ext_inst_set(&mut self, name: String) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn new_type_const_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn new_global_variable_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn new_function_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn decorate(&mut self, target: SpvSectionLocalId, decorations: &[spv::Decorate]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn declare_global_variable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn request_descriptor_set_bound_global_var( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn request_push_constant_global_var(&mut self, ty: spv::Type) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn request_const_id(&mut self, c: spv::Constant) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn request_type_id(&mut self, t: spv::Type) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpvFunctionBodyEmissionContext` is never constructed [INFO] [stdout] --> src/codegen.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | pub struct SpvFunctionBodyEmissionContext<'m> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/codegen.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 531 | impl<'s, 'm> SpvFunctionBodyEmissionContext<'m> { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 532 | pub fn new(module_ctx: &'m mut SpvModuleEmissionContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn new_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn issue_typed_ids(&mut self, ty: spv::Type) -> (SpvSectionLocalId, SpvSectionLocalId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | pub fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | fn log_and( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | fn log_or( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | fn equal( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | fn not_equal( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn less_than( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 725 | fn less_than_eq( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | fn greater_than( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | fn greater_than_eq( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 836 | pub fn iadd( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | pub fn fadd( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 870 | pub fn isub( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 887 | pub fn fsub( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 904 | pub fn imul( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 921 | pub fn fmul( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 938 | pub fn vector_times_scalar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 955 | pub fn matrix_times_scalar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 972 | pub fn matrix_times_vector( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 989 | pub fn vector_times_matrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1006 | pub fn matrix_times_matrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1023 | pub fn sdiv( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1040 | pub fn udiv( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1057 | pub fn fdiv( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1074 | pub fn srem( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1091 | pub fn umod( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1108 | pub fn frem( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1125 | pub fn snegate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1140 | pub fn fnegate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1155 | pub fn convert_sint_to_float( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1174 | pub fn convert_uint_to_float( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | pub fn convert_float_to_sint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1212 | pub fn convert_float_to_uint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn composite_extract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1248 | pub fn vector_shuffle( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1267 | pub fn vector_shuffle_1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1285 | pub fn load( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1300 | pub fn access_chain( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1317 | pub fn chained_load( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EqCompareOperandClass` is never used [INFO] [stdout] --> src/codegen.rs:1334:6 [INFO] [stdout] | [INFO] [stdout] 1334 | enum EqCompareOperandClass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/codegen.rs:1340:14 [INFO] [stdout] | [INFO] [stdout] 1339 | impl EqCompareOperandClass { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 1340 | const fn of(t: &spv::ScalarType) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompareOperandClass` is never used [INFO] [stdout] --> src/codegen.rs:1349:6 [INFO] [stdout] | [INFO] [stdout] 1349 | enum CompareOperandClass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/codegen.rs:1355:14 [INFO] [stdout] | [INFO] [stdout] 1354 | impl CompareOperandClass { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 1355 | const fn of(t: &spv::ScalarType) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GlobalAccessType` is never used [INFO] [stdout] --> src/codegen.rs:1365:6 [INFO] [stdout] | [INFO] [stdout] 1365 | enum GlobalAccessType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spv_type` is never used [INFO] [stdout] --> src/codegen.rs:1374:4 [INFO] [stdout] | [INFO] [stdout] 1374 | fn spv_type(c: &ConcreteType, symbol_attr: &SymbolAttribute) -> spv::Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShaderInterfaceVariableMaps` is never constructed [INFO] [stdout] --> src/codegen.rs:1459:12 [INFO] [stdout] | [INFO] [stdout] 1459 | pub struct ShaderInterfaceVariableMaps { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_interface_global_vars` is never used [INFO] [stdout] --> src/codegen.rs:1467:12 [INFO] [stdout] | [INFO] [stdout] 1466 | impl ShaderInterfaceVariableMaps { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 1467 | pub fn iter_interface_global_vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_shader_interface_vars` is never used [INFO] [stdout] --> src/codegen.rs:1476:8 [INFO] [stdout] | [INFO] [stdout] 1476 | pub fn emit_shader_interface_vars<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_entry_point_spv_ops2` is never used [INFO] [stdout] --> src/codegen.rs:1648:8 [INFO] [stdout] | [INFO] [stdout] 1648 | pub fn emit_entry_point_spv_ops2<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_block` is never used [INFO] [stdout] --> src/codegen.rs:1662:8 [INFO] [stdout] | [INFO] [stdout] 1662 | pub fn emit_block<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_block_instruction` is never used [INFO] [stdout] --> src/codegen.rs:1769:8 [INFO] [stdout] | [INFO] [stdout] 1769 | pub fn emit_block_instruction<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShaderEntryPointMaps` is never constructed [INFO] [stdout] --> src/codegen.rs:2632:12 [INFO] [stdout] | [INFO] [stdout] 2632 | pub struct ShaderEntryPointMaps { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_interface_global_vars` is never used [INFO] [stdout] --> src/codegen.rs:2638:12 [INFO] [stdout] | [INFO] [stdout] 2637 | impl ShaderEntryPointMaps { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 2638 | pub fn iter_interface_global_vars<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_entry_point_spv_ops` is never used [INFO] [stdout] --> src/codegen.rs:2644:8 [INFO] [stdout] | [INFO] [stdout] 2644 | pub fn emit_entry_point_spv_ops<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/codegen/entrypoint.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ShaderInterfaceInputVariable { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 15 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfaceInputVariable` 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 `ty` and `decorations` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ShaderInterfaceOutputVariable { [INFO] [stdout] | ----------------------------- fields in this struct [INFO] [stdout] 22 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub decorations: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfaceOutputVariable` 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 `ty` is never read [INFO] [stdout] --> src/codegen/entrypoint.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ShaderInterfaceUniformVariable { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] 28 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfaceUniformVariable` 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 `ty`, `original_refpath`, and `offset` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ShaderInterfacePushConstantVariable { [INFO] [stdout] | ----------------------------------- fields in this struct [INFO] [stdout] 35 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | pub original_refpath: RefPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfacePushConstantVariable` 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 `ty` and `original_refpath` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct WorkgroupSharedVariable { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 42 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | pub original_refpath: RefPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkgroupSharedVariable` 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 `execution_model` and `execution_mode_modifiers` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ShaderEntryPointDescription<'s> { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 57 | pub name: &'s str, [INFO] [stdout] 58 | pub execution_model: spv::asm::ExecutionModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub execution_mode_modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderEntryPointDescription` 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 items `bvec` and `is_matrix_type` are never used [INFO] [stdout] --> src/concrete_type.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 74 | impl IntrinsicType { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub const fn bvec(component_count: u8) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub const fn is_matrix_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Generic` and `GenericVar` are never constructed [INFO] [stdout] --> src/concrete_type.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub enum ConcreteType<'s> { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 267 | Generic(Vec, Box>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 268 | GenericVar(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcreteType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_matrix_type` and `dereference` are never used [INFO] [stdout] --> src/concrete_type.rs:461:18 [INFO] [stdout] | [INFO] [stdout] 289 | impl<'s> ConcreteType<'s> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 461 | pub const fn is_matrix_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | pub fn dereference(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `instantiate` is never used [INFO] [stdout] --> src/ir.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl<'s> ConstFloatLiteral<'s> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 135 | pub fn instantiate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Break` is never constructed [INFO] [stdout] --> src/ir/block.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum BlockFlowInstruction { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 71 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockFlowInstruction` 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: variants `StaticPathRef`, `TupleRef`, and `PureFuncall` are never constructed [INFO] [stdout] --> src/ir/block.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum BlockInstruction<'a, 's> { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 270 | StaticPathRef(RefPath), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | TupleRef(RegisterRef, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | PureFuncall(RegisterRef, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockInstruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_block`, `tuple_ref`, `tuple_mutable_ref`, `const_uint`, and `const_sint` are never used [INFO] [stdout] --> src/ir/block.rs:628:12 [INFO] [stdout] | [INFO] [stdout] 618 | impl<'c, 'a, 's> BlockInstructionEmitter<'c, 'a, 's> { [INFO] [stdout] | ---------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 628 | pub fn into_block(self, flow: BlockFlowInstruction) -> Block<'a, 's> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1024 | pub fn tuple_ref( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1039 | pub fn tuple_mutable_ref( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1084 | pub fn const_uint(&mut self, repr: SourceRef<'s>) -> RegisterRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1099 | pub fn const_sint(&mut self, repr: SourceRef<'s>) -> RegisterRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expr` and `Capture` are never constructed [INFO] [stdout] --> src/ir/expr.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ScopeCaptureSource { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 29 | Expr(ExprRef), [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Capture(usize), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeCaptureSource` 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/ir/expr.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum SimplifiedExpression<'a, 's> { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 236 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | Add(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 238 | Sub(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 239 | Mul(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 240 | Div(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 241 | Rem(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 242 | BitAnd(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 243 | BitOr(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 244 | BitXor(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 245 | ShiftLeft(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 246 | ShiftRight(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 247 | Eq(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 248 | Ne(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 249 | Gt(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 250 | Ge(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 251 | Lt(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 252 | Le(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 253 | LogAnd(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 254 | LogOr(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 255 | Pow(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 256 | Neg(ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 257 | BitNot(ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 258 | LogNot(ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 259 | Funcall(ExprRef, Vec), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 260 | VarRef(PtrEq<'a, SymbolScope<'a, 's>>, VarId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 261 | TupleRef(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 262 | MemberRef(ExprRef, SourceRefSliceEq<'s>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 263 | ArrayRef(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 264 | SwizzleRef1(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 265 | SwizzleRef2(ExprRef, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 266 | SwizzleRef3(ExprRef, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 267 | SwizzleRef4(ExprRef, usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 268 | ChainedRef(ExprRef, Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | CanonicalPathRef(RefPath), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | LoadRef(ExprRef), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 271 | StoreRef(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 272 | LoadByCanonicalRefPath(RefPath), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | RefFunction(PtrEq<'a, SymbolScope<'a, 's>>, &'s str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 274 | IntrinsicFunctions(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | IntrinsicTypeConstructor(IntrinsicType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | IntrinsicFuncall(&'static str, bool, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | Select(ExprRef, ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 278 | Cast(ExprRef, ConcreteType<'s>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 279 | Swizzle1(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 280 | Swizzle2(ExprRef, usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 281 | Swizzle3(ExprRef, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 282 | Swizzle4(ExprRef, usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 283 | VectorShuffle4(ExprRef, ExprRef, usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 284 | InstantiateIntrinsicTypeClass(ExprRef, IntrinsicType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | ConstInt(SourceRefSliceEq<'s>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 286 | ConstNumber(SourceRefSliceEq<'s>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 287 | ConstUnit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 288 | ConstUIntImm(u32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 289 | ConstUInt(SourceRefSliceEq<'s>, ConstModifiers), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 290 | ConstSInt(SourceRefSliceEq<'s>, ConstModifiers), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 291 | ConstFloat(SourceRefSliceEq<'s>, ConstModifiers), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 292 | ConstIntToNumber(ExprRef), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 293 | ConstructTuple(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 294 | ConstructStructValue(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 295 | ConstructIntrinsicComposite(IntrinsicType, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | ScopedBlock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | LoopBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | BreakLoop(ExprRef), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 308 | StoreOutput(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 309 | FlattenAndDistributeOutputComposite(ExprRef, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 310 | AliasScopeCapture(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 311 | Alias(ExprRef), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimplifiedExpression` 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: method `is_pure` is never used [INFO] [stdout] --> src/ir/expr.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 313 | impl ExprRef { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 314 | pub fn is_pure(&self, env: &[(SimplifiedExpression, ConcreteType)]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pure` and `relocate_ref` are never used [INFO] [stdout] --> src/ir/expr.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl SimplifiedExpression<'_, '_> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 332 | pub fn is_pure(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn relocate_ref(&mut self, relocator: impl Fn(usize) -> usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `loaded` is never used [INFO] [stdout] --> src/ir/expr.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 506 | impl<'s> TypedExprRef<'s> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 507 | #[inline] [INFO] [stdout] 508 | pub fn loaded<'a>(self, ctx: &mut SimplificationContext<'a, 's>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typed` is never used [INFO] [stdout] --> src/ir/expr.rs:524:18 [INFO] [stdout] | [INFO] [stdout] 522 | impl ExprRef { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 523 | #[inline(always)] [INFO] [stdout] 524 | pub const fn typed<'s>(self, ty: ConcreteType<'s>) -> TypedExprRef<'s> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimplificationContext` is never constructed [INFO] [stdout] --> src/ir/expr.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 535 | pub struct SimplificationContext<'a, 's> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_derived`, and `add` are never used [INFO] [stdout] --> src/ir/expr.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 539 | impl<'a, 's> SimplificationContext<'a, 's> { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 540 | #[inline] [INFO] [stdout] 541 | pub fn new(symbol_scope_arena: &'a Arena>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | fn new_derived(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | pub fn add(&mut self, expr: SimplifiedExpression<'a, 's>, ty: ConcreteType<'s>) -> ExprRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LocalVarUsage` is never used [INFO] [stdout] --> src/ir/opt.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum LocalVarUsage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVarUsage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mark_read` and `mark_write` are never used [INFO] [stdout] --> src/ir/opt.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl LocalVarUsage { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 41 | pub fn mark_read(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn mark_write(&mut self, last_write: ExprRef) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_inlined_function_input_refs` is never used [INFO] [stdout] --> src/ir/opt.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn replace_inlined_function_input_refs<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_static_path_ref` is never used [INFO] [stdout] --> src/ir/opt.rs:1479:8 [INFO] [stdout] | [INFO] [stdout] 1479 | pub fn convert_static_path_ref<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_composite_outputs_rec` is never used [INFO] [stdout] --> src/ir/opt.rs:2569:4 [INFO] [stdout] | [INFO] [stdout] 2569 | fn flatten_composite_outputs_rec<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_composite_outputs` is never used [INFO] [stdout] --> src/ir/opt.rs:2640:8 [INFO] [stdout] | [INFO] [stdout] 2640 | pub fn flatten_composite_outputs<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `promote_single_scope` is never used [INFO] [stdout] --> src/ir/opt.rs:2682:4 [INFO] [stdout] | [INFO] [stdout] 2682 | fn promote_single_scope<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_refpath` is never used [INFO] [stdout] --> src/ir/opt.rs:2727:4 [INFO] [stdout] | [INFO] [stdout] 2727 | fn construct_refpath<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optimize_pure_expr` is never used [INFO] [stdout] --> src/ir/opt.rs:2764:8 [INFO] [stdout] | [INFO] [stdout] 2764 | pub fn optimize_pure_expr<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `promote_local_var_scope` is never used [INFO] [stdout] --> src/ir/opt.rs:3768:4 [INFO] [stdout] | [INFO] [stdout] 3768 | fn promote_local_var_scope<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | UInt(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | UInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | SInt(i32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | SInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | UIntLit(ConstUIntLiteral<'s>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | UIntLit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | SIntLit(ConstSIntLiteral<'s>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | SIntLit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | FloatLit(ConstFloatLiteral<'s>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | FloatLit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float` is never constructed [INFO] [stdout] --> src/ir2.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ConstValue<'s> { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | Const(ConstValue<'s>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstOrInst` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 | Const(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_referential_transparent` is never used [INFO] [stdout] --> src/ref_path.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RefPath { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 7 | pub fn is_referential_transparent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_toplevel_function` is never read [INFO] [stdout] --> src/scope.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SymbolScope<'a, 's> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | pub parent: Option<&'a SymbolScope<'a, 's>>, [INFO] [stdout] 16 | pub is_toplevel_function: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolScope` 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 methods are never used [INFO] [stdout] --> src/scope.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a, 's> SymbolScope<'a, 's> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn new_function_inlined(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn has_local_vars(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn merge_local_vars(&self, from: &'a Self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn all_local_var_ids(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn remove_local_var_by_id(&self, id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn user_defined_function_body_mut<'e>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn nearest_function_scope(&self) -> Option<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/scope.rs:519:29 [INFO] [stdout] | [INFO] [stdout] 519 | FunctionInputVar(usize, &'x ConcreteType<'s>, bool), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarLookupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 519 | FunctionInputVar(usize, (), bool), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/scope.rs:520:26 [INFO] [stdout] | [INFO] [stdout] 520 | ScopeLocalVar(usize, ConcreteType<'s>, bool), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarLookupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 520 | ScopeLocalVar(usize, (), bool), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `occurence` is never read [INFO] [stdout] --> src/symbol.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FunctionInputVariable<'s> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 22 | pub occurence: SourceRef<'s>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionInputVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `occurence` is never read [INFO] [stdout] --> src/symbol.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LocalVariable<'s> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 29 | pub occurence: SourceRef<'s>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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: method `flatten_output` is never used [INFO] [stdout] --> src/symbol.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'s> UserDefinedFunctionSymbol<'s> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn flatten_output<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TessellationControlShader`, `TessellationEvaluationShader`, and `GeometryShader` are never constructed [INFO] [stdout] --> src/symbol/meta.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ShaderModel { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 60 | VertexShader, [INFO] [stdout] 61 | TessellationControlShader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | TessellationEvaluationShader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | GeometryShader, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderModel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/utils/ptr_eq.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a, T: 'a + ?Sized> PtrEq<'a, T> { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | pub const fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info` and `ir2` are never read [INFO] [stdout] --> src/main.rs:753:13 [INFO] [stdout] | [INFO] [stdout] 752 | struct OptimizedShaderEntryPoint<'s> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 753 | pub info: ShaderEntryPointDescription<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 754 | pub ir2: ir2::Function<'s>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_instruction` and `make_member_instruction` are never used [INFO] [stdout] --> src/spirv.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Decorate { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 25 | pub fn make_instruction(&self, target: IdType) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn make_member_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `True`, `False`, `Composite`, `Sampler`, `Null`, and `Undef` are never constructed [INFO] [stdout] --> src/spirv.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Constant { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 141 | True { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | False { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | Composite { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | Sampler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | Null { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | Undef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` 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 `i32vec2` is never used [INFO] [stdout] --> src/spirv.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl Constant { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 169 | #[inline] [INFO] [stdout] 170 | pub fn i32vec2(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dim1`, `Dim3`, `Cube`, `Rect`, and `Buffer` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Dim { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | Dim1 = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Dim2 = 1, [INFO] [stdout] 8 | Dim3 = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Cube = 3, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Rect = 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Buffer = 5, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dim` 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: variant `KnownRuntime` is never constructed [INFO] [stdout] --> src/spirv/asm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum TypeImageSampled { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 18 | KnownRuntime = 0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeImageSampled` 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/spirv/asm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ImageFormat { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 26 | Unknown = 0, [INFO] [stdout] 27 | Rgba32f, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Rgba16f, [INFO] [stdout] 29 | R32f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Rgba8, [INFO] [stdout] 31 | Rgba8Snorm, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | Rg32f, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | Rg16f, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | R11fG11fB10f, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | R16f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | Rgba16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Rgb10A2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Rg16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | Rg8, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | R16, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | R8, [INFO] [stdout] | ^^ [INFO] [stdout] 42 | Rgba16Snorm, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | Rg16Snorm, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | Rg8Snorm, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | R16Snorm, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | R8Snorm, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | Rgba32i, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Rgba16i, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | Rgba8i, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | R32i, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | Rg32i, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | Rg16i, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Rg8i, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | R16i, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | R8i, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | Rgba32ui, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Rgba16ui, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | Rgba8ui, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | R32ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Rgb10a2ui, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | Rg32ui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | Rg16ui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | Rg8ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | R16ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | R8ui, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | R64ui, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | R64i, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageFormat` 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: variants `ReadOnly`, `WriteOnly`, and `ReadWrite` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum AccessQualifier { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 73 | ReadOnly = 0, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | WriteOnly = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | ReadWrite = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessQualifier` 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/spirv/asm.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum StorageClass { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 81 | UniformConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | Uniform, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | Workgroup, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | CrossWorkgroup, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 87 | Private, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 88 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | Generic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | PushConstant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 91 | AtomicCounter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 92 | Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 93 | StorageBuffer, [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: variants `None`, `ClampToEdge`, `Clamp`, `Repeat`, and `RepeatMirrored` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum SamplerAddressingMode { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 99 | None = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | ClampToEdge = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | Clamp = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Repeat = 3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | RepeatMirrored = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SamplerAddressingMode` 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: variants `Nearest` and `Linear` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum SamplerFilterMode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 109 | Nearest = 0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | Linear = 1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SamplerFilterMode` 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/spirv/asm.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum Decoration { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 137 | Block = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 138 | ColMajor = 5, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 139 | MatrixStride = 7, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 140 | Builtin = 11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | Location = 30, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 142 | Binding = 33, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 143 | DescriptorSet = 34, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 144 | Offset = 35, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 145 | InputAttachmentIndex = 43, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decoration` 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: variants `Matrix`, `Geometry`, and `Tessellation` are never constructed [INFO] [stdout] --> src/spirv/asm.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub enum Capability { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 174 | Matrix = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 175 | Shader = 1, [INFO] [stdout] 176 | Geometry = 2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 177 | Tessellation = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Capability` 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: variant `OriginUpperLeft` is never constructed [INFO] [stdout] --> src/spirv/asm.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum ExecutionMode { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 184 | OriginUpperLeft = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionMode` 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: variant `Workgroup` is never constructed [INFO] [stdout] --> src/spirv/asm.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum Scope { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 190 | Workgroup = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: variant `SpecConstantID` is never constructed [INFO] [stdout] --> src/spirv/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TypeArrayLength { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 3 | ConstExpr(super::Constant), [INFO] [stdout] 4 | SpecConstantID(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeArrayLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `of_vector` and `of_matrix` are never used [INFO] [stdout] --> src/spirv/types.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ScalarType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 21 | pub const fn of_vector(self, count: VectorSize) -> VectorType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn of_matrix( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `element_type`, `element_count`, and `of_matrix` are never used [INFO] [stdout] --> src/spirv/types.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 92 | impl VectorType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 93 | pub const fn element_type(&self) -> &ScalarType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub const fn element_count(&self) -> VectorSize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub const fn of_matrix(self, count: MatrixColumnCount) -> MatrixType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `element_type`, `column_type`, `column_count`, and `stride` are never used [INFO] [stdout] --> src/spirv/types.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 173 | impl MatrixType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 174 | pub const fn element_type(&self) -> &ScalarType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub const fn column_type(&self) -> &VectorType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub const fn column_count(&self) -> MatrixColumnCount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub const fn stride(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> src/spirv/types.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub enum ImageComponentType { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 193 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageComponentType` 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: variants `Scalar` and `Vector` are never constructed [INFO] [stdout] --> src/spirv/types.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | pub enum ScalarOrVectorType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 204 | Scalar(ScalarType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 205 | Vector(ScalarType, VectorSize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarOrVectorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scalar` and `vector_size` are never used [INFO] [stdout] --> src/spirv/types.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 207 | impl ScalarOrVectorType { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 208 | pub const fn scalar(&self) -> &ScalarType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub const fn vector_size(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Scalar` and `Vector` are never constructed [INFO] [stdout] --> src/spirv/types.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub enum ScalarOrVectorTypeView<'s> { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 225 | Scalar(&'s ScalarType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 226 | Vector(&'s ScalarType, VectorSize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarOrVectorTypeView` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scalar` and `vector_size` are never used [INFO] [stdout] --> src/spirv/types.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 228 | impl<'s> ScalarOrVectorTypeView<'s> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 229 | pub const fn scalar(&self) -> &'s ScalarType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub const fn vector_size(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `Sampler`, `RuntimeArray`, and `ForwardPointer` are never constructed [INFO] [stdout] --> src/spirv/types.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 252 | Void, [INFO] [stdout] 253 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | RuntimeArray { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | ForwardPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `of_pointer`, `dereferenced`, `scalar_or_vector`, and `scalar_or_vector_view` are never used [INFO] [stdout] --> src/spirv/types.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 318 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn of_pointer(self, storage: super::asm::StorageClass) -> PointerType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn dereferenced(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn scalar_or_vector(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn scalar_or_vector_view(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExtInstImport`, `TypeConst`, `GlobalVariable`, `Function`, and `CurrentFunction` are never constructed [INFO] [stdout] --> src/codegen.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum SpvSectionLocalId { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 29 | ExtInstImport(spv::Id), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | TypeConst(spv::Id), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | GlobalVariable(spv::Id), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | Function(spv::Id), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | CurrentFunction(spv::Id), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpvSectionLocalId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `latest_function_id`, `defined_const_map`, `defined_type_map`, `defined_descriptor_set_bound_global_vars`, and `defined_push_constant_global_vars` are never read [INFO] [stdout] --> src/codegen.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SpvModuleEmissionContext { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub latest_function_id: spv::Id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub defined_const_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub defined_type_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub defined_descriptor_set_bound_global_vars: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | HashMap<(u32, u32, spv::Type, spv::asm::StorageClass), SpvSectionLocalId>, [INFO] [stdout] 55 | pub defined_push_constant_global_vars: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codegen.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl SpvModuleEmissionContext { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn request_ext_inst_set(&mut self, name: String) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn new_type_const_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn new_global_variable_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn new_function_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn decorate(&mut self, target: SpvSectionLocalId, decorations: &[spv::Decorate]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn declare_global_variable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn request_descriptor_set_bound_global_var( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn request_push_constant_global_var(&mut self, ty: spv::Type) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn request_const_id(&mut self, c: spv::Constant) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn request_type_id(&mut self, t: spv::Type) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpvFunctionBodyEmissionContext` is never constructed [INFO] [stdout] --> src/codegen.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | pub struct SpvFunctionBodyEmissionContext<'m> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/codegen.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 531 | impl<'s, 'm> SpvFunctionBodyEmissionContext<'m> { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 532 | pub fn new(module_ctx: &'m mut SpvModuleEmissionContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn new_id(&mut self) -> SpvSectionLocalId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn issue_typed_ids(&mut self, ty: spv::Type) -> (SpvSectionLocalId, SpvSectionLocalId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | pub fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | fn log_and( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | fn log_or( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | fn equal( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | fn not_equal( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn less_than( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 725 | fn less_than_eq( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | fn greater_than( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | fn greater_than_eq( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 836 | pub fn iadd( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | pub fn fadd( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 870 | pub fn isub( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 887 | pub fn fsub( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 904 | pub fn imul( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 921 | pub fn fmul( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 938 | pub fn vector_times_scalar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 955 | pub fn matrix_times_scalar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 972 | pub fn matrix_times_vector( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 989 | pub fn vector_times_matrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1006 | pub fn matrix_times_matrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1023 | pub fn sdiv( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1040 | pub fn udiv( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1057 | pub fn fdiv( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1074 | pub fn srem( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1091 | pub fn umod( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1108 | pub fn frem( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1125 | pub fn snegate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1140 | pub fn fnegate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1155 | pub fn convert_sint_to_float( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1174 | pub fn convert_uint_to_float( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | pub fn convert_float_to_sint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1212 | pub fn convert_float_to_uint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn composite_extract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1248 | pub fn vector_shuffle( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1267 | pub fn vector_shuffle_1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1285 | pub fn load( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1300 | pub fn access_chain( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1317 | pub fn chained_load( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EqCompareOperandClass` is never used [INFO] [stdout] --> src/codegen.rs:1334:6 [INFO] [stdout] | [INFO] [stdout] 1334 | enum EqCompareOperandClass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/codegen.rs:1340:14 [INFO] [stdout] | [INFO] [stdout] 1339 | impl EqCompareOperandClass { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 1340 | const fn of(t: &spv::ScalarType) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompareOperandClass` is never used [INFO] [stdout] --> src/codegen.rs:1349:6 [INFO] [stdout] | [INFO] [stdout] 1349 | enum CompareOperandClass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/codegen.rs:1355:14 [INFO] [stdout] | [INFO] [stdout] 1354 | impl CompareOperandClass { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 1355 | const fn of(t: &spv::ScalarType) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GlobalAccessType` is never used [INFO] [stdout] --> src/codegen.rs:1365:6 [INFO] [stdout] | [INFO] [stdout] 1365 | enum GlobalAccessType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spv_type` is never used [INFO] [stdout] --> src/codegen.rs:1374:4 [INFO] [stdout] | [INFO] [stdout] 1374 | fn spv_type(c: &ConcreteType, symbol_attr: &SymbolAttribute) -> spv::Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShaderInterfaceVariableMaps` is never constructed [INFO] [stdout] --> src/codegen.rs:1459:12 [INFO] [stdout] | [INFO] [stdout] 1459 | pub struct ShaderInterfaceVariableMaps { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_interface_global_vars` is never used [INFO] [stdout] --> src/codegen.rs:1467:12 [INFO] [stdout] | [INFO] [stdout] 1466 | impl ShaderInterfaceVariableMaps { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 1467 | pub fn iter_interface_global_vars(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_shader_interface_vars` is never used [INFO] [stdout] --> src/codegen.rs:1476:8 [INFO] [stdout] | [INFO] [stdout] 1476 | pub fn emit_shader_interface_vars<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_entry_point_spv_ops2` is never used [INFO] [stdout] --> src/codegen.rs:1648:8 [INFO] [stdout] | [INFO] [stdout] 1648 | pub fn emit_entry_point_spv_ops2<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_block` is never used [INFO] [stdout] --> src/codegen.rs:1662:8 [INFO] [stdout] | [INFO] [stdout] 1662 | pub fn emit_block<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_block_instruction` is never used [INFO] [stdout] --> src/codegen.rs:1769:8 [INFO] [stdout] | [INFO] [stdout] 1769 | pub fn emit_block_instruction<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShaderEntryPointMaps` is never constructed [INFO] [stdout] --> src/codegen.rs:2632:12 [INFO] [stdout] | [INFO] [stdout] 2632 | pub struct ShaderEntryPointMaps { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_interface_global_vars` is never used [INFO] [stdout] --> src/codegen.rs:2638:12 [INFO] [stdout] | [INFO] [stdout] 2637 | impl ShaderEntryPointMaps { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 2638 | pub fn iter_interface_global_vars<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_entry_point_spv_ops` is never used [INFO] [stdout] --> src/codegen.rs:2644:8 [INFO] [stdout] | [INFO] [stdout] 2644 | pub fn emit_entry_point_spv_ops<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/codegen/entrypoint.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ShaderInterfaceInputVariable { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 15 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfaceInputVariable` 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 `ty` and `decorations` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ShaderInterfaceOutputVariable { [INFO] [stdout] | ----------------------------- fields in this struct [INFO] [stdout] 22 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub decorations: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfaceOutputVariable` 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 `ty` is never read [INFO] [stdout] --> src/codegen/entrypoint.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ShaderInterfaceUniformVariable { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] 28 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfaceUniformVariable` 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 `ty`, `original_refpath`, and `offset` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ShaderInterfacePushConstantVariable { [INFO] [stdout] | ----------------------------------- fields in this struct [INFO] [stdout] 35 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | pub original_refpath: RefPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderInterfacePushConstantVariable` 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 `ty` and `original_refpath` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct WorkgroupSharedVariable { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 42 | pub ty: spv::Type, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | pub original_refpath: RefPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkgroupSharedVariable` 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 `execution_model` and `execution_mode_modifiers` are never read [INFO] [stdout] --> src/codegen/entrypoint.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ShaderEntryPointDescription<'s> { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 57 | pub name: &'s str, [INFO] [stdout] 58 | pub execution_model: spv::asm::ExecutionModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub execution_mode_modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderEntryPointDescription` 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 items `bvec` and `is_matrix_type` are never used [INFO] [stdout] --> src/concrete_type.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 74 | impl IntrinsicType { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub const fn bvec(component_count: u8) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub const fn is_matrix_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Generic` and `GenericVar` are never constructed [INFO] [stdout] --> src/concrete_type.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub enum ConcreteType<'s> { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 267 | Generic(Vec, Box>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 268 | GenericVar(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcreteType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_matrix_type` and `dereference` are never used [INFO] [stdout] --> src/concrete_type.rs:461:18 [INFO] [stdout] | [INFO] [stdout] 289 | impl<'s> ConcreteType<'s> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 461 | pub const fn is_matrix_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | pub fn dereference(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `instantiate` is never used [INFO] [stdout] --> src/ir.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl<'s> ConstFloatLiteral<'s> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 135 | pub fn instantiate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Break` is never constructed [INFO] [stdout] --> src/ir/block.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum BlockFlowInstruction { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 71 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockFlowInstruction` 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: variants `StaticPathRef`, `TupleRef`, and `PureFuncall` are never constructed [INFO] [stdout] --> src/ir/block.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum BlockInstruction<'a, 's> { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 270 | StaticPathRef(RefPath), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | TupleRef(RegisterRef, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | PureFuncall(RegisterRef, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockInstruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_block`, `tuple_ref`, `tuple_mutable_ref`, `const_uint`, and `const_sint` are never used [INFO] [stdout] --> src/ir/block.rs:628:12 [INFO] [stdout] | [INFO] [stdout] 618 | impl<'c, 'a, 's> BlockInstructionEmitter<'c, 'a, 's> { [INFO] [stdout] | ---------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 628 | pub fn into_block(self, flow: BlockFlowInstruction) -> Block<'a, 's> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1024 | pub fn tuple_ref( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1039 | pub fn tuple_mutable_ref( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1084 | pub fn const_uint(&mut self, repr: SourceRef<'s>) -> RegisterRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1099 | pub fn const_sint(&mut self, repr: SourceRef<'s>) -> RegisterRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expr` and `Capture` are never constructed [INFO] [stdout] --> src/ir/expr.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ScopeCaptureSource { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 29 | Expr(ExprRef), [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Capture(usize), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeCaptureSource` 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/ir/expr.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum SimplifiedExpression<'a, 's> { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 236 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | Add(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 238 | Sub(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 239 | Mul(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 240 | Div(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 241 | Rem(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 242 | BitAnd(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 243 | BitOr(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 244 | BitXor(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 245 | ShiftLeft(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 246 | ShiftRight(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 247 | Eq(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 248 | Ne(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 249 | Gt(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 250 | Ge(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 251 | Lt(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 252 | Le(ExprRef, ExprRef), [INFO] [stdout] | ^^ [INFO] [stdout] 253 | LogAnd(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 254 | LogOr(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 255 | Pow(ExprRef, ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 256 | Neg(ExprRef), [INFO] [stdout] | ^^^ [INFO] [stdout] 257 | BitNot(ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 258 | LogNot(ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 259 | Funcall(ExprRef, Vec), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 260 | VarRef(PtrEq<'a, SymbolScope<'a, 's>>, VarId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 261 | TupleRef(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 262 | MemberRef(ExprRef, SourceRefSliceEq<'s>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 263 | ArrayRef(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 264 | SwizzleRef1(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 265 | SwizzleRef2(ExprRef, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 266 | SwizzleRef3(ExprRef, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 267 | SwizzleRef4(ExprRef, usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 268 | ChainedRef(ExprRef, Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | CanonicalPathRef(RefPath), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | LoadRef(ExprRef), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 271 | StoreRef(ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 272 | LoadByCanonicalRefPath(RefPath), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | RefFunction(PtrEq<'a, SymbolScope<'a, 's>>, &'s str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 274 | IntrinsicFunctions(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | IntrinsicTypeConstructor(IntrinsicType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | IntrinsicFuncall(&'static str, bool, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | Select(ExprRef, ExprRef, ExprRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 278 | Cast(ExprRef, ConcreteType<'s>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 279 | Swizzle1(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 280 | Swizzle2(ExprRef, usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 281 | Swizzle3(ExprRef, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 282 | Swizzle4(ExprRef, usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 283 | VectorShuffle4(ExprRef, ExprRef, usize, usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 284 | InstantiateIntrinsicTypeClass(ExprRef, IntrinsicType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | ConstInt(SourceRefSliceEq<'s>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 286 | ConstNumber(SourceRefSliceEq<'s>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 287 | ConstUnit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 288 | ConstUIntImm(u32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 289 | ConstUInt(SourceRefSliceEq<'s>, ConstModifiers), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 290 | ConstSInt(SourceRefSliceEq<'s>, ConstModifiers), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 291 | ConstFloat(SourceRefSliceEq<'s>, ConstModifiers), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 292 | ConstIntToNumber(ExprRef), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 293 | ConstructTuple(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 294 | ConstructStructValue(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 295 | ConstructIntrinsicComposite(IntrinsicType, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | ScopedBlock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | LoopBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | BreakLoop(ExprRef), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 308 | StoreOutput(ExprRef, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 309 | FlattenAndDistributeOutputComposite(ExprRef, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 310 | AliasScopeCapture(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 311 | Alias(ExprRef), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimplifiedExpression` 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: method `is_pure` is never used [INFO] [stdout] --> src/ir/expr.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 313 | impl ExprRef { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 314 | pub fn is_pure(&self, env: &[(SimplifiedExpression, ConcreteType)]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pure` and `relocate_ref` are never used [INFO] [stdout] --> src/ir/expr.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | impl SimplifiedExpression<'_, '_> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 332 | pub fn is_pure(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn relocate_ref(&mut self, relocator: impl Fn(usize) -> usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `loaded` is never used [INFO] [stdout] --> src/ir/expr.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 506 | impl<'s> TypedExprRef<'s> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 507 | #[inline] [INFO] [stdout] 508 | pub fn loaded<'a>(self, ctx: &mut SimplificationContext<'a, 's>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `typed` is never used [INFO] [stdout] --> src/ir/expr.rs:524:18 [INFO] [stdout] | [INFO] [stdout] 522 | impl ExprRef { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 523 | #[inline(always)] [INFO] [stdout] 524 | pub const fn typed<'s>(self, ty: ConcreteType<'s>) -> TypedExprRef<'s> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimplificationContext` is never constructed [INFO] [stdout] --> src/ir/expr.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 535 | pub struct SimplificationContext<'a, 's> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_derived`, and `add` are never used [INFO] [stdout] --> src/ir/expr.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 539 | impl<'a, 's> SimplificationContext<'a, 's> { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 540 | #[inline] [INFO] [stdout] 541 | pub fn new(symbol_scope_arena: &'a Arena>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | fn new_derived(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | pub fn add(&mut self, expr: SimplifiedExpression<'a, 's>, ty: ConcreteType<'s>) -> ExprRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LocalVarUsage` is never used [INFO] [stdout] --> src/ir/opt.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum LocalVarUsage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVarUsage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mark_read` and `mark_write` are never used [INFO] [stdout] --> src/ir/opt.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl LocalVarUsage { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 41 | pub fn mark_read(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn mark_write(&mut self, last_write: ExprRef) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_inlined_function_input_refs` is never used [INFO] [stdout] --> src/ir/opt.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn replace_inlined_function_input_refs<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_static_path_ref` is never used [INFO] [stdout] --> src/ir/opt.rs:1479:8 [INFO] [stdout] | [INFO] [stdout] 1479 | pub fn convert_static_path_ref<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_composite_outputs_rec` is never used [INFO] [stdout] --> src/ir/opt.rs:2569:4 [INFO] [stdout] | [INFO] [stdout] 2569 | fn flatten_composite_outputs_rec<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_composite_outputs` is never used [INFO] [stdout] --> src/ir/opt.rs:2640:8 [INFO] [stdout] | [INFO] [stdout] 2640 | pub fn flatten_composite_outputs<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `promote_single_scope` is never used [INFO] [stdout] --> src/ir/opt.rs:2682:4 [INFO] [stdout] | [INFO] [stdout] 2682 | fn promote_single_scope<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_refpath` is never used [INFO] [stdout] --> src/ir/opt.rs:2727:4 [INFO] [stdout] | [INFO] [stdout] 2727 | fn construct_refpath<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optimize_pure_expr` is never used [INFO] [stdout] --> src/ir/opt.rs:2764:8 [INFO] [stdout] | [INFO] [stdout] 2764 | pub fn optimize_pure_expr<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `promote_local_var_scope` is never used [INFO] [stdout] --> src/ir/opt.rs:3768:4 [INFO] [stdout] | [INFO] [stdout] 3768 | fn promote_local_var_scope<'a, 's>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | UInt(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | UInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | SInt(i32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | SInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | UIntLit(ConstUIntLiteral<'s>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | UIntLit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | SIntLit(ConstSIntLiteral<'s>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | SIntLit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | FloatLit(ConstFloatLiteral<'s>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | FloatLit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float` is never constructed [INFO] [stdout] --> src/ir2.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ConstValue<'s> { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir2.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | Const(ConstValue<'s>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstOrInst` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 | Const(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_referential_transparent` is never used [INFO] [stdout] --> src/ref_path.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RefPath { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 7 | pub fn is_referential_transparent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_toplevel_function` is never read [INFO] [stdout] --> src/scope.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SymbolScope<'a, 's> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | pub parent: Option<&'a SymbolScope<'a, 's>>, [INFO] [stdout] 16 | pub is_toplevel_function: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolScope` 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 methods are never used [INFO] [stdout] --> src/scope.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a, 's> SymbolScope<'a, 's> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn new_function_inlined(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn has_local_vars(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn merge_local_vars(&self, from: &'a Self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn all_local_var_ids(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn remove_local_var_by_id(&self, id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn user_defined_function_body_mut<'e>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn nearest_function_scope(&self) -> Option<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/scope.rs:519:29 [INFO] [stdout] | [INFO] [stdout] 519 | FunctionInputVar(usize, &'x ConcreteType<'s>, bool), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarLookupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 519 | FunctionInputVar(usize, (), bool), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/scope.rs:520:26 [INFO] [stdout] | [INFO] [stdout] 520 | ScopeLocalVar(usize, ConcreteType<'s>, bool), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarLookupResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 520 | ScopeLocalVar(usize, (), bool), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `occurence` is never read [INFO] [stdout] --> src/symbol.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FunctionInputVariable<'s> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 22 | pub occurence: SourceRef<'s>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionInputVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `occurence` is never read [INFO] [stdout] --> src/symbol.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LocalVariable<'s> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 29 | pub occurence: SourceRef<'s>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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: method `flatten_output` is never used [INFO] [stdout] --> src/symbol.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'s> UserDefinedFunctionSymbol<'s> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn flatten_output<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TessellationControlShader`, `TessellationEvaluationShader`, and `GeometryShader` are never constructed [INFO] [stdout] --> src/symbol/meta.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ShaderModel { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 60 | VertexShader, [INFO] [stdout] 61 | TessellationControlShader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | TessellationEvaluationShader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | GeometryShader, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderModel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/utils/ptr_eq.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a, T: 'a + ?Sized> PtrEq<'a, T> { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | pub const fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 124 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 125 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.64s [INFO] running `Command { std: "docker" "inspect" "a522812739dc82fea52f88573bdf2897ad2a1114d9010cbaafd083476941fe05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a522812739dc82fea52f88573bdf2897ad2a1114d9010cbaafd083476941fe05", kill_on_drop: false }` [INFO] [stdout] a522812739dc82fea52f88573bdf2897ad2a1114d9010cbaafd083476941fe05