[INFO] cloning repository https://github.com/Clever-ISA/Clever-HDL
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Clever-ISA/Clever-HDL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClever-ISA%2FClever-HDL", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClever-ISA%2FClever-HDL'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2c69ba13517f56f6b9d24eea9c2d04b11c500f1a
[INFO] checking Clever-ISA/Clever-HDL against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClever-ISA%2FClever-HDL" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Clever-ISA/Clever-HDL
[INFO] finished tweaking git repo https://github.com/Clever-ISA/Clever-HDL
[INFO] tweaked toml for git repo https://github.com/Clever-ISA/Clever-HDL written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Clever-ISA/Clever-HDL on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Clever-ISA/Clever-HDL 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utf v0.1.6
[INFO] [stderr]   Downloaded lru_time_cache v0.11.11
[INFO] [stderr]   Downloaded replace_with v0.1.7
[INFO] [stderr]   Downloaded once_cell v1.16.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.11
[INFO] [stderr]   Downloaded lalrpop-util v0.19.8
[INFO] [stderr]   Downloaded num v0.3.1
[INFO] [stderr]   Downloaded bytemuck_derive v1.3.0
[INFO] [stderr]   Downloaded peekmore v1.0.0
[INFO] [stderr]   Downloaded bytemuck v1.12.3
[INFO] [stderr]   Downloaded hibitset v0.6.3
[INFO] [stderr]   Downloaded num-complex v0.3.1
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.10
[INFO] [stderr]   Downloaded serde v1.0.147
[INFO] [stderr]   Downloaded target-tuples v0.5.11
[INFO] [stderr]   Downloaded itertools v0.9.0
[INFO] [stderr]   Downloaded num-bigint v0.3.3
[INFO] [stderr]   Downloaded atom v0.3.6
[INFO] [stderr]   Downloaded serde_derive v1.0.147
[INFO] [stderr]   Downloaded arch-ops v0.1.0
[INFO] [stderr]   Downloaded fake-enum v0.1.4
[INFO] [stderr]   Downloaded binfmt v0.1.0
[INFO] [stderr]   Downloaded llhd v0.16.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e1ea0be28e20fc97276c44b87b454d9728ed824a78b971892213a96857507e2
[INFO] running `Command { std: "docker" "start" "-a" "7e1ea0be28e20fc97276c44b87b454d9728ed824a78b971892213a96857507e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e1ea0be28e20fc97276c44b87b454d9728ed824a78b971892213a96857507e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e1ea0be28e20fc97276c44b87b454d9728ed824a78b971892213a96857507e2", kill_on_drop: false }`
[INFO] [stdout] 7e1ea0be28e20fc97276c44b87b454d9728ed824a78b971892213a96857507e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 921f6df5a00b2328e8bf1ec052734654fca65323b77fa2a8ea0c4f8f8cc4b69c
[INFO] running `Command { std: "docker" "start" "-a" "921f6df5a00b2328e8bf1ec052734654fca65323b77fa2a8ea0c4f8f8cc4b69c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]     Checking target-tuples v0.5.11
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking atom v0.3.6
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking arch-ops v0.1.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking lalrpop-util v0.19.8
[INFO] [stderr]     Checking fake-enum v0.1.4
[INFO] [stderr]     Checking peekmore v1.0.0
[INFO] [stderr]     Checking utf v0.1.6
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking lru_time_cache v0.11.11
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking replace_with v0.1.7
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling bytemuck_derive v1.3.0
[INFO] [stderr]     Checking bytemuck v1.12.3
[INFO] [stderr]     Checking binfmt v0.1.0
[INFO] [stderr]     Checking hibitset v0.6.3
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]     Checking llhd v0.16.0
[INFO] [stderr]     Checking clever-hdl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `io::ErrorKind`
[INFO] [stdout]  --> src/expander.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::ErrorKind,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/parse.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cmp::Ordering, collections::HashMap};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::strings::Symbol`
[INFO] [stdout]  --> src/parse.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::strings::Symbol;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `convert`
[INFO] [stdout]   --> src/sema.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 |     collections::{BTreeMap, HashMap},
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 90 |     convert,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FxHashSet`
[INFO] [stdout]   --> src/sema.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 | use fxhash::{FxHashMap,FxHashSet};
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_visibility`
[INFO] [stdout]    --> src/sema.rs:100:51
[INFO] [stdout]     |
[INFO] [stdout] 100 |     parse::{self, Mod, Path, Pattern, Visibility, parse_visibility, TypeTag}, CrateType,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/sema/hir.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap, VecDeque}, hash::BuildHasherDefault};
[INFO] [stdout]   |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Definition`
[INFO] [stdout]   --> src/sema/hir.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use super::{Definition, Definitions};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parse::Pattern`
[INFO] [stdout]  --> src/sema/mir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::parse::Pattern;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::sema::hir`
[INFO] [stdout]   --> src/sema/mir.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::sema::hir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::BuildHasher`
[INFO] [stdout]  --> src/sema/tycheck.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::BuildHasher;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `replace_with::replace_with_or_abort`
[INFO] [stdout]  --> src/sema/tycheck.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use replace_with::replace_with_or_abort;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Safety`
[INFO] [stdout]  --> src/sema/tycheck.rs:8:108
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::{Definitions,DefinitionInner, FunctionType, hir::{HirStatement, HirExpr, HirVarId}, Mutability, Safety, ConstVal, SignalDi...
[INFO] [stdout]   |                                                                                                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogicType`
[INFO] [stdout]  --> src/mangle.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::sema::{Type,DefId, LogicType};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `parse::Path` and `sema::Definition`
[INFO] [stdout]  --> src/irgen.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{parse::Path, sema::Definition};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::ErrorKind`
[INFO] [stdout]  --> src/expander.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::ErrorKind,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/parse.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cmp::Ordering, collections::HashMap};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::strings::Symbol`
[INFO] [stdout]  --> src/parse.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::strings::Symbol;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `convert`
[INFO] [stdout]   --> src/sema.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 |     collections::{BTreeMap, HashMap},
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 90 |     convert,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FxHashSet`
[INFO] [stdout]   --> src/sema.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 | use fxhash::{FxHashMap,FxHashSet};
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_visibility`
[INFO] [stdout]    --> src/sema.rs:100:51
[INFO] [stdout]     |
[INFO] [stdout] 100 |     parse::{self, Mod, Path, Pattern, Visibility, parse_visibility, TypeTag}, CrateType,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/sema/hir.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap, VecDeque}, hash::BuildHasherDefault};
[INFO] [stdout]   |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Definition`
[INFO] [stdout]   --> src/sema/hir.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use super::{Definition, Definitions};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parse::Pattern`
[INFO] [stdout]  --> src/sema/mir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::parse::Pattern;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::sema::hir`
[INFO] [stdout]   --> src/sema/mir.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::sema::hir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::BuildHasher`
[INFO] [stdout]  --> src/sema/tycheck.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::BuildHasher;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `replace_with::replace_with_or_abort`
[INFO] [stdout]  --> src/sema/tycheck.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use replace_with::replace_with_or_abort;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Safety`
[INFO] [stdout]  --> src/sema/tycheck.rs:8:108
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::{Definitions,DefinitionInner, FunctionType, hir::{HirStatement, HirExpr, HirVarId}, Mutability, Safety, ConstVal, SignalDi...
[INFO] [stdout]   |                                                                                                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LogicType`
[INFO] [stdout]  --> src/mangle.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::sema::{Type,DefId, LogicType};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `parse::Path` and `sema::Definition`
[INFO] [stdout]  --> src/irgen.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{parse::Path, sema::Definition};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]   --> src/expander.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 attrs,
[INFO] [stdout]    |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/expander.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 target,
[INFO] [stdout]    |                 ^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/expander.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 args,
[INFO] [stdout]    |                 ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]   --> src/expander.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 attrs,
[INFO] [stdout]    |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visibility`
[INFO] [stdout]   --> src/expander.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 visibility,
[INFO] [stdout]    |                 ^^^^^^^^^^ help: try ignoring the field: `visibility: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/expander.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 name,
[INFO] [stdout]    |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]   --> src/expander.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 content,
[INFO] [stdout]    |                 ^^^^^^^ help: try ignoring the field: `content: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]   --> src/expander.rs:44:45
[INFO] [stdout]    |
[INFO] [stdout] 44 |             crate::parse::Item::Mod { name, vis, content } => {
[INFO] [stdout]    |                                             ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]   --> src/expander.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |                         Ok(m) => {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lex.rs:353:25
[INFO] [stdout]     |
[INFO] [stdout] 353 |                     let c = lex_single_char(file);
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]   --> src/expander.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 attrs,
[INFO] [stdout]    |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/expander.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 target,
[INFO] [stdout]    |                 ^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/expander.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 args,
[INFO] [stdout]    |                 ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]   --> src/expander.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 attrs,
[INFO] [stdout]    |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visibility`
[INFO] [stdout]   --> src/expander.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 visibility,
[INFO] [stdout]    |                 ^^^^^^^^^^ help: try ignoring the field: `visibility: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/expander.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 name,
[INFO] [stdout]    |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]   --> src/expander.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 content,
[INFO] [stdout]    |                 ^^^^^^^ help: try ignoring the field: `content: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]   --> src/expander.rs:44:45
[INFO] [stdout]    |
[INFO] [stdout] 44 |             crate::parse::Item::Mod { name, vis, content } => {
[INFO] [stdout]    |                                             ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]   --> src/expander.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |                         Ok(m) => {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generic`
[INFO] [stdout]    --> src/parse.rs:436:41
[INFO] [stdout]     |
[INFO] [stdout] 436 |                 PathComponent::Generics(generic) =>todo!(),
[INFO] [stdout]     |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lex.rs:353:25
[INFO] [stdout]     |
[INFO] [stdout] 353 |                     let c = lex_single_char(file);
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]     --> src/parse.rs:2521:13
[INFO] [stdout]      |
[INFO] [stdout] 2521 |             tok,
[INFO] [stdout]      |             ^^^ help: try ignoring the field: `tok: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]     --> src/parse.rs:2750:17
[INFO] [stdout]      |
[INFO] [stdout] 2750 |                 tok,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `tok: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generic`
[INFO] [stdout]    --> src/parse.rs:436:41
[INFO] [stdout]     |
[INFO] [stdout] 436 |                 PathComponent::Generics(generic) =>todo!(),
[INFO] [stdout]     |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/parse.rs:4606:21
[INFO] [stdout]      |
[INFO] [stdout] 4606 |                 let mut toks = match it.next().unwrap() {
[INFO] [stdout]      |                     ----^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toks`
[INFO] [stdout]     --> src/parse.rs:4606:21
[INFO] [stdout]      |
[INFO] [stdout] 4606 |                 let mut toks = match it.next().unwrap() {
[INFO] [stdout]      |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:266:35
[INFO] [stdout]     |
[INFO] [stdout] 266 |             parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                   ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:266:44
[INFO] [stdout]     |
[INFO] [stdout] 266 |             parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                            ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:267:32
[INFO] [stdout]     |
[INFO] [stdout] 267 |             parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:267:41
[INFO] [stdout]     |
[INFO] [stdout] 267 |             parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                         ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elses`
[INFO] [stdout]    --> src/sema/hir.rs:267:48
[INFO] [stdout]     |
[INFO] [stdout] 267 |             parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                                ^^^^^ help: try ignoring the field: `elses: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/sema/hir.rs:268:44
[INFO] [stdout]     |
[INFO] [stdout] 268 |             parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                            ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]    --> src/sema/hir.rs:268:50
[INFO] [stdout]     |
[INFO] [stdout] 268 |             parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                                  ^^^^^ help: try ignoring the field: `inner: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctrl`
[INFO] [stdout]    --> src/sema/hir.rs:269:35
[INFO] [stdout]     |
[INFO] [stdout] 269 |             parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                   ^^^^ help: try ignoring the field: `ctrl: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arms`
[INFO] [stdout]    --> src/sema/hir.rs:269:41
[INFO] [stdout]     |
[INFO] [stdout] 269 |             parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `arms: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:328:43
[INFO] [stdout]     |
[INFO] [stdout] 328 |                     parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                           ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:328:52
[INFO] [stdout]     |
[INFO] [stdout] 328 |                     parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                                    ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:329:40
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                        ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:329:49
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                                 ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elses`
[INFO] [stdout]    --> src/sema/hir.rs:329:56
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                                        ^^^^^ help: try ignoring the field: `elses: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/sema/hir.rs:330:52
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                                    ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]    --> src/sema/hir.rs:330:58
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                                          ^^^^^ help: try ignoring the field: `inner: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctrl`
[INFO] [stdout]    --> src/sema/hir.rs:331:43
[INFO] [stdout]     |
[INFO] [stdout] 331 |                     parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                           ^^^^ help: try ignoring the field: `ctrl: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arms`
[INFO] [stdout]    --> src/sema/hir.rs:331:49
[INFO] [stdout]     |
[INFO] [stdout] 331 |                     parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                                 ^^^^ help: try ignoring the field: `arms: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]    --> src/sema/hir.rs:355:41
[INFO] [stdout]     |
[INFO] [stdout] 355 |             parse::Expr::FunctionCall { func, args } => todo!(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `func: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/sema/hir.rs:355:47
[INFO] [stdout]     |
[INFO] [stdout] 355 |             parse::Expr::FunctionCall { func, args } => todo!(),
[INFO] [stdout]     |                                               ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/sema/hir.rs:396:39
[INFO] [stdout]     |
[INFO] [stdout] 396 |             parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]     |                                       ^^^^ help: try ignoring the field: `base: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/sema/hir.rs:396:45
[INFO] [stdout]     |
[INFO] [stdout] 396 |             parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]     |                                             ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mutability`
[INFO] [stdout]    --> src/sema/mir.rs:586:38
[INFO] [stdout]     |
[INFO] [stdout] 586 |             ThirStatement::Let { id, mutability, ty, init } => {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: try ignoring the field: `mutability: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/sema/tycheck.rs:111:10
[INFO] [stdout]     |
[INFO] [stdout] 111 |         (ty,Type::Never) => {
[INFO] [stdout]     |          ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/sema/tycheck.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 r if against_fnty.safety!=expr_fnty.safety => Ok(UnifyResult::CoercionApplied),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `against_ty`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:22
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_against_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `against_len`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:34
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_against_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr_ty`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:59
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr_len`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:68
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                                                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]     --> src/parse.rs:2521:13
[INFO] [stdout]      |
[INFO] [stdout] 2521 |             tok,
[INFO] [stdout]      |             ^^^ help: try ignoring the field: `tok: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema/tycheck.rs:328:47
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub fn tycheck_expr(defs: &mut ScopeTypeInfo, mut expr: HirExpr, against_ty: Option<&mut Type>,is_unsafe: bool) -> Result<ThirExpr,...
[INFO] [stdout]     |                                               ----^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tok`
[INFO] [stdout]     --> src/parse.rs:2750:17
[INFO] [stdout]      |
[INFO] [stdout] 2750 |                 tok,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `tok: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defs`
[INFO] [stdout]    --> src/sema/tycheck.rs:503:19
[INFO] [stdout]     |
[INFO] [stdout] 503 | pub fn into_value(defs: &mut ScopeTypeInfo, expr: ThirExpr) -> Result<ThirExpr,TypecheckError>{
[INFO] [stdout]     |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_defs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema/tycheck.rs:540:17
[INFO] [stdout]     |
[INFO] [stdout] 540 |             let mut expr = tycheck_expr(defs, expr, None, is_unsafe)?;
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/sema.rs:363:29
[INFO] [stdout]     |
[INFO] [stdout] 363 |             Type::Array(ty, len) => ty.is_context_free(),
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defid`
[INFO] [stdout]    --> src/sema.rs:391:27
[INFO] [stdout]     |
[INFO] [stdout] 391 | ...   Type::UserDef(defid) => defs.check_impls(defs.lang_items.get(&LangItem::Copy).copied().unwrap(), self).is_some(), // for now
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_defid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/parse.rs:4606:21
[INFO] [stdout]      |
[INFO] [stdout] 4606 |                 let mut toks = match it.next().unwrap() {
[INFO] [stdout]      |                     ----^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toks`
[INFO] [stdout]     --> src/parse.rs:4606:21
[INFO] [stdout]      |
[INFO] [stdout] 4606 |                 let mut toks = match it.next().unwrap() {
[INFO] [stdout]      |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:266:35
[INFO] [stdout]     |
[INFO] [stdout] 266 |             parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                   ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:266:44
[INFO] [stdout]     |
[INFO] [stdout] 266 |             parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                            ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:267:32
[INFO] [stdout]     |
[INFO] [stdout] 267 |             parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:267:41
[INFO] [stdout]     |
[INFO] [stdout] 267 |             parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                         ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elses`
[INFO] [stdout]    --> src/sema/hir.rs:267:48
[INFO] [stdout]     |
[INFO] [stdout] 267 |             parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                                ^^^^^ help: try ignoring the field: `elses: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/sema/hir.rs:268:44
[INFO] [stdout]     |
[INFO] [stdout] 268 |             parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                            ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]    --> src/sema/hir.rs:268:50
[INFO] [stdout]     |
[INFO] [stdout] 268 |             parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                                  ^^^^^ help: try ignoring the field: `inner: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctrl`
[INFO] [stdout]    --> src/sema/hir.rs:269:35
[INFO] [stdout]     |
[INFO] [stdout] 269 |             parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                   ^^^^ help: try ignoring the field: `ctrl: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arms`
[INFO] [stdout]    --> src/sema/hir.rs:269:41
[INFO] [stdout]     |
[INFO] [stdout] 269 |             parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `arms: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:328:43
[INFO] [stdout]     |
[INFO] [stdout] 328 |                     parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                           ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:328:52
[INFO] [stdout]     |
[INFO] [stdout] 328 |                     parse::Block::While { control, block } => todo!(),
[INFO] [stdout]     |                                                    ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control`
[INFO] [stdout]    --> src/sema/hir.rs:329:40
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                        ^^^^^^^ help: try ignoring the field: `control: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/sema/hir.rs:329:49
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                                 ^^^^^ help: try ignoring the field: `block: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elses`
[INFO] [stdout]    --> src/sema/hir.rs:329:56
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     parse::Block::If { control, block, elses } => todo!(),
[INFO] [stdout]     |                                                        ^^^^^ help: try ignoring the field: `elses: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/sema/hir.rs:330:52
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                                    ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]    --> src/sema/hir.rs:330:58
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     parse::Block::MacroExpansion { name, inner } => todo!(),
[INFO] [stdout]     |                                                          ^^^^^ help: try ignoring the field: `inner: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctrl`
[INFO] [stdout]    --> src/sema/hir.rs:331:43
[INFO] [stdout]     |
[INFO] [stdout] 331 |                     parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                           ^^^^ help: try ignoring the field: `ctrl: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arms`
[INFO] [stdout]    --> src/sema/hir.rs:331:49
[INFO] [stdout]     |
[INFO] [stdout] 331 |                     parse::Block::Match { ctrl, arms } => todo!(),
[INFO] [stdout]     |                                                 ^^^^ help: try ignoring the field: `arms: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]    --> src/sema/hir.rs:355:41
[INFO] [stdout]     |
[INFO] [stdout] 355 |             parse::Expr::FunctionCall { func, args } => todo!(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `func: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/sema/hir.rs:355:47
[INFO] [stdout]     |
[INFO] [stdout] 355 |             parse::Expr::FunctionCall { func, args } => todo!(),
[INFO] [stdout]     |                                               ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/sema/hir.rs:396:39
[INFO] [stdout]     |
[INFO] [stdout] 396 |             parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]     |                                       ^^^^ help: try ignoring the field: `base: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/sema/hir.rs:396:45
[INFO] [stdout]     |
[INFO] [stdout] 396 |             parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]     |                                             ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema.rs:933:29
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         let mut sep = "";
[INFO] [stdout]     |                             ----^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema.rs:974:33
[INFO] [stdout]     |
[INFO] [stdout] 974 | ...                   let mut sep = "";
[INFO] [stdout]     |                           ----^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mutability`
[INFO] [stdout]    --> src/sema/mir.rs:586:38
[INFO] [stdout]     |
[INFO] [stdout] 586 |             ThirStatement::Let { id, mutability, ty, init } => {
[INFO] [stdout]     |                                      ^^^^^^^^^^ help: try ignoring the field: `mutability: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/sema/tycheck.rs:111:10
[INFO] [stdout]     |
[INFO] [stdout] 111 |         (ty,Type::Never) => {
[INFO] [stdout]     |          ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/sema/tycheck.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 r if against_fnty.safety!=expr_fnty.safety => Ok(UnifyResult::CoercionApplied),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `against_ty`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:22
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_against_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `against_len`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:34
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_against_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr_ty`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:59
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr_len`
[INFO] [stdout]    --> src/sema/tycheck.rs:169:68
[INFO] [stdout]     |
[INFO] [stdout] 169 |         (Type::Array(against_ty, against_len),Type::Array(expr_ty, expr_len)) => todo!("array"),
[INFO] [stdout]     |                                                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defid`
[INFO] [stdout]     --> src/sema.rs:1610:26
[INFO] [stdout]      |
[INFO] [stdout] 1610 |             Type::FnItem(defid, _) => todo!(),
[INFO] [stdout]      |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_defid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema/tycheck.rs:328:47
[INFO] [stdout]     |
[INFO] [stdout] 328 | pub fn tycheck_expr(defs: &mut ScopeTypeInfo, mut expr: HirExpr, against_ty: Option<&mut Type>,is_unsafe: bool) -> Result<ThirExpr,...
[INFO] [stdout]     |                                               ----^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alias`
[INFO] [stdout]     --> src/sema.rs:1725:47
[INFO] [stdout]      |
[INFO] [stdout] 1725 |                         Type::IncompleteAlias(alias) => unreachable!("handled above"),
[INFO] [stdout]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_alias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defs`
[INFO] [stdout]    --> src/sema/tycheck.rs:503:19
[INFO] [stdout]     |
[INFO] [stdout] 503 | pub fn into_value(defs: &mut ScopeTypeInfo, expr: ThirExpr) -> Result<ThirExpr,TypecheckError>{
[INFO] [stdout]     |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_defs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema/tycheck.rs:540:17
[INFO] [stdout]     |
[INFO] [stdout] 540 |             let mut expr = tycheck_expr(defs, expr, None, is_unsafe)?;
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:1949:21
[INFO] [stdout]      |
[INFO] [stdout] 1949 |                 let mut values = FxHashMap::with_hasher(Default::default());
[INFO] [stdout]      |                     ----^^^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:1950:21
[INFO] [stdout]      |
[INFO] [stdout] 1950 |                 let mut types = FxHashMap::with_hasher(Default::default());
[INFO] [stdout]      |                     ----^^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:1955:29
[INFO] [stdout]      |
[INFO] [stdout] 1955 |                         for item in items{
[INFO] [stdout]      |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:2027:21
[INFO] [stdout]      |
[INFO] [stdout] 2027 |                 for item in body{
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:2109:17
[INFO] [stdout]      |
[INFO] [stdout] 2109 |             let mut sema_types = ast_types
[INFO] [stdout]      |                 ----^^^^^^^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mutability`
[INFO] [stdout]     --> src/sema.rs:2118:13
[INFO] [stdout]      |
[INFO] [stdout] 2118 |             mutability,
[INFO] [stdout]      |             ^^^^^^^^^^ help: try ignoring the field: `mutability: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lifetime`
[INFO] [stdout]     --> src/sema.rs:2119:13
[INFO] [stdout]      |
[INFO] [stdout] 2119 |             lifetime,
[INFO] [stdout]      |             ^^^^^^^^ help: try ignoring the field: `lifetime: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `underlying`
[INFO] [stdout]     --> src/sema.rs:2120:13
[INFO] [stdout]      |
[INFO] [stdout] 2120 |             underlying,
[INFO] [stdout]      |             ^^^^^^^^^^ help: try ignoring the field: `underlying: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]     --> src/sema.rs:2123:13
[INFO] [stdout]      |
[INFO] [stdout] 2123 |             direction,
[INFO] [stdout]      |             ^^^^^^^^^ help: try ignoring the field: `direction: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lifetime`
[INFO] [stdout]     --> src/sema.rs:2124:13
[INFO] [stdout]      |
[INFO] [stdout] 2124 |             lifetime,
[INFO] [stdout]      |             ^^^^^^^^ help: try ignoring the field: `lifetime: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `underlying`
[INFO] [stdout]     --> src/sema.rs:2125:13
[INFO] [stdout]      |
[INFO] [stdout] 2125 |             underlying,
[INFO] [stdout]      |             ^^^^^^^^^^ help: try ignoring the field: `underlying: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2135:40
[INFO] [stdout]      |
[INFO] [stdout] 2135 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern block"),
[INFO] [stdout]      |                                        ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `abi`
[INFO] [stdout]     --> src/sema.rs:2135:47
[INFO] [stdout]      |
[INFO] [stdout] 2135 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern block"),
[INFO] [stdout]      |                                               ^^^ help: try ignoring the field: `abi: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]     --> src/sema.rs:2135:52
[INFO] [stdout]      |
[INFO] [stdout] 2135 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern block"),
[INFO] [stdout]      |                                                    ^^^^^ help: try ignoring the field: `items: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/sema.rs:363:29
[INFO] [stdout]     |
[INFO] [stdout] 363 |             Type::Array(ty, len) => ty.is_context_free(),
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main`
[INFO] [stdout]     --> src/sema.rs:2181:38
[INFO] [stdout]      |
[INFO] [stdout] 2181 |                     if matches!(attr,main){
[INFO] [stdout]      |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defid`
[INFO] [stdout]    --> src/sema.rs:391:27
[INFO] [stdout]     |
[INFO] [stdout] 391 | ...   Type::UserDef(defid) => defs.check_impls(defs.lang_items.get(&LangItem::Copy).copied().unwrap(), self).is_some(), // for now
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_defid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/sema.rs:2383:52
[INFO] [stdout]      |
[INFO] [stdout] 2383 | ...                   } else if let Some(val) = defs
[INFO] [stdout]      |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]     --> src/sema.rs:2406:39
[INFO] [stdout]      |
[INFO] [stdout] 2406 |         parse::Expr::MacroExpansion { target, args } => todo!(),
[INFO] [stdout]      |                                       ^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]     --> src/sema.rs:2406:47
[INFO] [stdout]      |
[INFO] [stdout] 2406 |         parse::Expr::MacroExpansion { target, args } => todo!(),
[INFO] [stdout]      |                                               ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]     --> src/sema.rs:2420:35
[INFO] [stdout]      |
[INFO] [stdout] 2420 |         parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]      |                                   ^^^^ help: try ignoring the field: `base: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]     --> src/sema.rs:2420:41
[INFO] [stdout]      |
[INFO] [stdout] 2420 |         parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]      |                                         ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:2530:21
[INFO] [stdout]      |
[INFO] [stdout] 2530 |                 let mut variants = variants
[INFO] [stdout]      |                     ----^^^^^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctor`
[INFO] [stdout]     --> src/sema.rs:2450:25
[INFO] [stdout]      |
[INFO] [stdout] 2450 |                         ctor => unreachable!()
[INFO] [stdout]      |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_ctor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2469:17
[INFO] [stdout]      |
[INFO] [stdout] 2469 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generics`
[INFO] [stdout]     --> src/sema.rs:2478:17
[INFO] [stdout]      |
[INFO] [stdout] 2478 |                 generics,
[INFO] [stdout]      |                 ^^^^^^^^ help: try ignoring the field: `generics: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2479:17
[INFO] [stdout]      |
[INFO] [stdout] 2479 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `repr` is assigned to, but never used
[INFO] [stdout]     --> src/sema.rs:2483:21
[INFO] [stdout]      |
[INFO] [stdout] 2483 |                 let mut repr = Repr::Default;
[INFO] [stdout]      |                     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_repr` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2581:17
[INFO] [stdout]      |
[INFO] [stdout] 2581 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2582:17
[INFO] [stdout]      |
[INFO] [stdout] 2582 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2583:17
[INFO] [stdout]      |
[INFO] [stdout] 2583 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generics`
[INFO] [stdout]     --> src/sema.rs:2584:17
[INFO] [stdout]      |
[INFO] [stdout] 2584 |                 generics,
[INFO] [stdout]      |                 ^^^^^^^^ help: try ignoring the field: `generics: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defn`
[INFO] [stdout]     --> src/sema.rs:2585:17
[INFO] [stdout]      |
[INFO] [stdout] 2585 |                 defn,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `defn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]     --> src/sema.rs:2590:21
[INFO] [stdout]      |
[INFO] [stdout] 2590 |                 let def = defs.find_type_in_mod(sema_mod, name).unwrap();
[INFO] [stdout]      |                     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:2595:29
[INFO] [stdout]      |
[INFO] [stdout] 2595 |                         for item in blk{
[INFO] [stdout]      |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tr`
[INFO] [stdout]     --> src/sema.rs:2602:17
[INFO] [stdout]      |
[INFO] [stdout] 2602 |                 tr,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `tr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2603:17
[INFO] [stdout]      |
[INFO] [stdout] 2603 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2490:41
[INFO] [stdout]      |
[INFO] [stdout] 2490 | ...                   repr = Repr::Vhdl
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2493:41
[INFO] [stdout]      |
[INFO] [stdout] 2493 | ...                   repr = Repr::Vhdl
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2513:45
[INFO] [stdout]      |
[INFO] [stdout] 2513 | / ...                   repr = Repr::Int(IntType {
[INFO] [stdout] 2514 | | ...                       signed: false,
[INFO] [stdout] 2515 | | ...                       logic: LogicType::Binary,
[INFO] [stdout] 2516 | | ...                       bits,
[INFO] [stdout] 2517 | | ...                   });
[INFO] [stdout]      | |________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2504:45
[INFO] [stdout]      |
[INFO] [stdout] 2504 | / ...                   repr = Repr::Int(IntType {
[INFO] [stdout] 2505 | | ...                       signed: true,
[INFO] [stdout] 2506 | | ...                       logic: LogicType::Binary,
[INFO] [stdout] 2507 | | ...                       bits,
[INFO] [stdout] 2508 | | ...                   });
[INFO] [stdout]      | |________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2619:40
[INFO] [stdout]      |
[INFO] [stdout] 2619 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern"),
[INFO] [stdout]      |                                        ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `abi`
[INFO] [stdout]     --> src/sema.rs:2619:47
[INFO] [stdout]      |
[INFO] [stdout] 2619 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern"),
[INFO] [stdout]      |                                               ^^^ help: try ignoring the field: `abi: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]     --> src/sema.rs:2619:52
[INFO] [stdout]      |
[INFO] [stdout] 2619 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern"),
[INFO] [stdout]      |                                                    ^^^^^ help: try ignoring the field: `items: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]     --> src/sema.rs:2623:17
[INFO] [stdout]      |
[INFO] [stdout] 2623 |                 params,
[INFO] [stdout]      |                 ^^^^^^ help: try ignoring the field: `params: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2651:17
[INFO] [stdout]      |
[INFO] [stdout] 2651 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]     --> src/sema.rs:2652:17
[INFO] [stdout]      |
[INFO] [stdout] 2652 |                 target,
[INFO] [stdout]      |                 ^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]     --> src/sema.rs:2653:17
[INFO] [stdout]      |
[INFO] [stdout] 2653 |                 args,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2656:17
[INFO] [stdout]      |
[INFO] [stdout] 2656 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visibility`
[INFO] [stdout]     --> src/sema.rs:2657:17
[INFO] [stdout]      |
[INFO] [stdout] 2657 |                 visibility,
[INFO] [stdout]      |                 ^^^^^^^^^^ help: try ignoring the field: `visibility: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2658:17
[INFO] [stdout]      |
[INFO] [stdout] 2658 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]     --> src/sema.rs:2659:17
[INFO] [stdout]      |
[INFO] [stdout] 2659 |                 content,
[INFO] [stdout]      |                 ^^^^^^^ help: try ignoring the field: `content: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2701:17
[INFO] [stdout]      |
[INFO] [stdout] 2701 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2702:17
[INFO] [stdout]      |
[INFO] [stdout] 2702 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2703:17
[INFO] [stdout]      |
[INFO] [stdout] 2703 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generics`
[INFO] [stdout]     --> src/sema.rs:2704:17
[INFO] [stdout]      |
[INFO] [stdout] 2704 |                 generics,
[INFO] [stdout]      |                 ^^^^^^^^ help: try ignoring the field: `generics: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defn`
[INFO] [stdout]     --> src/sema.rs:2705:17
[INFO] [stdout]      |
[INFO] [stdout] 2705 |                 defn,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `defn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]     --> src/sema.rs:2710:21
[INFO] [stdout]      |
[INFO] [stdout] 2710 |                 let def = defs.find_type_in_mod(sema_mod, name).unwrap();
[INFO] [stdout]      |                     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:2715:29
[INFO] [stdout]      |
[INFO] [stdout] 2715 |                         for item in blk{
[INFO] [stdout]      |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tr`
[INFO] [stdout]     --> src/sema.rs:2722:17
[INFO] [stdout]      |
[INFO] [stdout] 2722 |                 tr,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `tr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2723:17
[INFO] [stdout]      |
[INFO] [stdout] 2723 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2750:17
[INFO] [stdout]      |
[INFO] [stdout] 2750 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout]     --> src/sema.rs:2751:17
[INFO] [stdout]      |
[INFO] [stdout] 2751 |                 init,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `init: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2769:17
[INFO] [stdout]      |
[INFO] [stdout] 2769 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2770:17
[INFO] [stdout]      |
[INFO] [stdout] 2770 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]     --> src/sema.rs:2771:17
[INFO] [stdout]      |
[INFO] [stdout] 2771 |                 direction,
[INFO] [stdout]      |                 ^^^^^^^^^ help: try ignoring the field: `direction: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2772:17
[INFO] [stdout]      |
[INFO] [stdout] 2772 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2773:17
[INFO] [stdout]      |
[INFO] [stdout] 2773 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/opt.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let mut old_cfg = core::mem::take(&mut cfg);
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/mangle.rs:32:35
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn insert_type(&mut self, name: &[&str], def: DefId) {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]   --> src/mangle.rs:32:50
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn insert_type(&mut self, name: &[&str], def: DefId) {
[INFO] [stdout]    |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/strings.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut leaked = Box::leak(st.into_boxed_str());
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/strings.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let mut leaked = Box::leak(Box::<str>::from(st));
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema.rs:933:29
[INFO] [stdout]     |
[INFO] [stdout] 933 |                         let mut sep = "";
[INFO] [stdout]     |                             ----^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sema.rs:974:33
[INFO] [stdout]     |
[INFO] [stdout] 974 | ...                   let mut sep = "";
[INFO] [stdout]     |                           ----^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             x => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defid`
[INFO] [stdout]     --> src/sema.rs:1610:26
[INFO] [stdout]      |
[INFO] [stdout] 1610 |             Type::FnItem(defid, _) => todo!(),
[INFO] [stdout]      |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_defid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fnty` is never read
[INFO] [stdout]    --> src/sema/hir.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct HirConverter<'a>{
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fnty: &'a FunctionType,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fnty` is never read
[INFO] [stdout]    --> src/sema/mir.rs:432:5
[INFO] [stdout]     |
[INFO] [stdout] 428 | pub struct FunctionConvert<'a> {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 432 |     fnty: &'a FunctionType,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hardcoded_sub` is never used
[INFO] [stdout]   --> src/mangle.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn hardcoded_sub(st: &[&str]) -> Option<&'static str>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `subtab` is never read
[INFO] [stdout]   --> src/mangle.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SubstitutionMap<'a>{
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 18 |     subtab: FxHashMap<&'a [&'a str], u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mod_out` and `ty_map` are never read
[INFO] [stdout]  --> src/irgen/llhd.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LlhdGenerator {
[INFO] [stdout]   |            ------------- fields in this struct
[INFO] [stdout] 7 |     mod_out: llhd::ir::Module,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     ty_map: FxHashMap<DefId, ty::Type>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alias`
[INFO] [stdout]     --> src/sema.rs:1725:47
[INFO] [stdout]      |
[INFO] [stdout] 1725 |                         Type::IncompleteAlias(alias) => unreachable!("handled above"),
[INFO] [stdout]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_alias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `ty:` in this pattern is redundant
[INFO] [stdout]    --> src/sema/tycheck.rs:563:45
[INFO] [stdout]     |
[INFO] [stdout] 563 |         HirStatement::Let { id, mutability, ty: mut ty, init } => {
[INFO] [stdout]     |                                             ^^^^^^^^^^ help: use shorthand field pattern: `mut ty`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:1949:21
[INFO] [stdout]      |
[INFO] [stdout] 1949 |                 let mut values = FxHashMap::with_hasher(Default::default());
[INFO] [stdout]      |                     ----^^^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:1950:21
[INFO] [stdout]      |
[INFO] [stdout] 1950 |                 let mut types = FxHashMap::with_hasher(Default::default());
[INFO] [stdout]      |                     ----^^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:1955:29
[INFO] [stdout]      |
[INFO] [stdout] 1955 |                         for item in items{
[INFO] [stdout]      |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:2027:21
[INFO] [stdout]      |
[INFO] [stdout] 2027 |                 for item in body{
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:2109:17
[INFO] [stdout]      |
[INFO] [stdout] 2109 |             let mut sema_types = ast_types
[INFO] [stdout]      |                 ----^^^^^^^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mutability`
[INFO] [stdout]     --> src/sema.rs:2118:13
[INFO] [stdout]      |
[INFO] [stdout] 2118 |             mutability,
[INFO] [stdout]      |             ^^^^^^^^^^ help: try ignoring the field: `mutability: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lifetime`
[INFO] [stdout]     --> src/sema.rs:2119:13
[INFO] [stdout]      |
[INFO] [stdout] 2119 |             lifetime,
[INFO] [stdout]      |             ^^^^^^^^ help: try ignoring the field: `lifetime: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `underlying`
[INFO] [stdout]     --> src/sema.rs:2120:13
[INFO] [stdout]      |
[INFO] [stdout] 2120 |             underlying,
[INFO] [stdout]      |             ^^^^^^^^^^ help: try ignoring the field: `underlying: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]     --> src/sema.rs:2123:13
[INFO] [stdout]      |
[INFO] [stdout] 2123 |             direction,
[INFO] [stdout]      |             ^^^^^^^^^ help: try ignoring the field: `direction: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lifetime`
[INFO] [stdout]     --> src/sema.rs:2124:13
[INFO] [stdout]      |
[INFO] [stdout] 2124 |             lifetime,
[INFO] [stdout]      |             ^^^^^^^^ help: try ignoring the field: `lifetime: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `underlying`
[INFO] [stdout]     --> src/sema.rs:2125:13
[INFO] [stdout]      |
[INFO] [stdout] 2125 |             underlying,
[INFO] [stdout]      |             ^^^^^^^^^^ help: try ignoring the field: `underlying: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2135:40
[INFO] [stdout]      |
[INFO] [stdout] 2135 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern block"),
[INFO] [stdout]      |                                        ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `abi`
[INFO] [stdout]     --> src/sema.rs:2135:47
[INFO] [stdout]      |
[INFO] [stdout] 2135 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern block"),
[INFO] [stdout]      |                                               ^^^ help: try ignoring the field: `abi: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]     --> src/sema.rs:2135:52
[INFO] [stdout]      |
[INFO] [stdout] 2135 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern block"),
[INFO] [stdout]      |                                                    ^^^^^ help: try ignoring the field: `items: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main`
[INFO] [stdout]     --> src/sema.rs:2181:38
[INFO] [stdout]      |
[INFO] [stdout] 2181 |                     if matches!(attr,main){
[INFO] [stdout]      |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]     --> src/sema.rs:2383:52
[INFO] [stdout]      |
[INFO] [stdout] 2383 | ...                   } else if let Some(val) = defs
[INFO] [stdout]      |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]     --> src/sema.rs:2406:39
[INFO] [stdout]      |
[INFO] [stdout] 2406 |         parse::Expr::MacroExpansion { target, args } => todo!(),
[INFO] [stdout]      |                                       ^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]     --> src/sema.rs:2406:47
[INFO] [stdout]      |
[INFO] [stdout] 2406 |         parse::Expr::MacroExpansion { target, args } => todo!(),
[INFO] [stdout]      |                                               ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]     --> src/sema.rs:2420:35
[INFO] [stdout]      |
[INFO] [stdout] 2420 |         parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]      |                                   ^^^^ help: try ignoring the field: `base: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]     --> src/sema.rs:2420:41
[INFO] [stdout]      |
[INFO] [stdout] 2420 |         parse::Expr::ArrayIndex { base, index } => todo!(),
[INFO] [stdout]      |                                         ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/sema.rs:2530:21
[INFO] [stdout]      |
[INFO] [stdout] 2530 |                 let mut variants = variants
[INFO] [stdout]      |                     ----^^^^^^^^
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctor`
[INFO] [stdout]     --> src/sema.rs:2450:25
[INFO] [stdout]      |
[INFO] [stdout] 2450 |                         ctor => unreachable!()
[INFO] [stdout]      |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_ctor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2469:17
[INFO] [stdout]      |
[INFO] [stdout] 2469 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generics`
[INFO] [stdout]     --> src/sema.rs:2478:17
[INFO] [stdout]      |
[INFO] [stdout] 2478 |                 generics,
[INFO] [stdout]      |                 ^^^^^^^^ help: try ignoring the field: `generics: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2479:17
[INFO] [stdout]      |
[INFO] [stdout] 2479 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `repr` is assigned to, but never used
[INFO] [stdout]     --> src/sema.rs:2483:21
[INFO] [stdout]      |
[INFO] [stdout] 2483 |                 let mut repr = Repr::Default;
[INFO] [stdout]      |                     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_repr` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2581:17
[INFO] [stdout]      |
[INFO] [stdout] 2581 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2582:17
[INFO] [stdout]      |
[INFO] [stdout] 2582 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2583:17
[INFO] [stdout]      |
[INFO] [stdout] 2583 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generics`
[INFO] [stdout]     --> src/sema.rs:2584:17
[INFO] [stdout]      |
[INFO] [stdout] 2584 |                 generics,
[INFO] [stdout]      |                 ^^^^^^^^ help: try ignoring the field: `generics: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defn`
[INFO] [stdout]     --> src/sema.rs:2585:17
[INFO] [stdout]      |
[INFO] [stdout] 2585 |                 defn,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `defn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]     --> src/sema.rs:2590:21
[INFO] [stdout]      |
[INFO] [stdout] 2590 |                 let def = defs.find_type_in_mod(sema_mod, name).unwrap();
[INFO] [stdout]      |                     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:2595:29
[INFO] [stdout]      |
[INFO] [stdout] 2595 |                         for item in blk{
[INFO] [stdout]      |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tr`
[INFO] [stdout]     --> src/sema.rs:2602:17
[INFO] [stdout]      |
[INFO] [stdout] 2602 |                 tr,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `tr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2603:17
[INFO] [stdout]      |
[INFO] [stdout] 2603 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2490:41
[INFO] [stdout]      |
[INFO] [stdout] 2490 | ...                   repr = Repr::Vhdl
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2493:41
[INFO] [stdout]      |
[INFO] [stdout] 2493 | ...                   repr = Repr::Vhdl
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2513:45
[INFO] [stdout]      |
[INFO] [stdout] 2513 | / ...                   repr = Repr::Int(IntType {
[INFO] [stdout] 2514 | | ...                       signed: false,
[INFO] [stdout] 2515 | | ...                       logic: LogicType::Binary,
[INFO] [stdout] 2516 | | ...                       bits,
[INFO] [stdout] 2517 | | ...                   });
[INFO] [stdout]      | |________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `repr` is never read
[INFO] [stdout]     --> src/sema.rs:2504:45
[INFO] [stdout]      |
[INFO] [stdout] 2504 | / ...                   repr = Repr::Int(IntType {
[INFO] [stdout] 2505 | | ...                       signed: true,
[INFO] [stdout] 2506 | | ...                       logic: LogicType::Binary,
[INFO] [stdout] 2507 | | ...                       bits,
[INFO] [stdout] 2508 | | ...                   });
[INFO] [stdout]      | |________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2619:40
[INFO] [stdout]      |
[INFO] [stdout] 2619 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern"),
[INFO] [stdout]      |                                        ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `abi`
[INFO] [stdout]     --> src/sema.rs:2619:47
[INFO] [stdout]      |
[INFO] [stdout] 2619 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern"),
[INFO] [stdout]      |                                               ^^^ help: try ignoring the field: `abi: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]     --> src/sema.rs:2619:52
[INFO] [stdout]      |
[INFO] [stdout] 2619 |             parse::Item::ExternBlock { attrs, abi, items } => todo!("extern"),
[INFO] [stdout]      |                                                    ^^^^^ help: try ignoring the field: `items: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]     --> src/sema.rs:2623:17
[INFO] [stdout]      |
[INFO] [stdout] 2623 |                 params,
[INFO] [stdout]      |                 ^^^^^^ help: try ignoring the field: `params: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2651:17
[INFO] [stdout]      |
[INFO] [stdout] 2651 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]     --> src/sema.rs:2652:17
[INFO] [stdout]      |
[INFO] [stdout] 2652 |                 target,
[INFO] [stdout]      |                 ^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]     --> src/sema.rs:2653:17
[INFO] [stdout]      |
[INFO] [stdout] 2653 |                 args,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2656:17
[INFO] [stdout]      |
[INFO] [stdout] 2656 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visibility`
[INFO] [stdout]     --> src/sema.rs:2657:17
[INFO] [stdout]      |
[INFO] [stdout] 2657 |                 visibility,
[INFO] [stdout]      |                 ^^^^^^^^^^ help: try ignoring the field: `visibility: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2658:17
[INFO] [stdout]      |
[INFO] [stdout] 2658 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]     --> src/sema.rs:2659:17
[INFO] [stdout]      |
[INFO] [stdout] 2659 |                 content,
[INFO] [stdout]      |                 ^^^^^^^ help: try ignoring the field: `content: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2701:17
[INFO] [stdout]      |
[INFO] [stdout] 2701 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2702:17
[INFO] [stdout]      |
[INFO] [stdout] 2702 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2703:17
[INFO] [stdout]      |
[INFO] [stdout] 2703 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generics`
[INFO] [stdout]     --> src/sema.rs:2704:17
[INFO] [stdout]      |
[INFO] [stdout] 2704 |                 generics,
[INFO] [stdout]      |                 ^^^^^^^^ help: try ignoring the field: `generics: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defn`
[INFO] [stdout]     --> src/sema.rs:2705:17
[INFO] [stdout]      |
[INFO] [stdout] 2705 |                 defn,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `defn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]     --> src/sema.rs:2710:21
[INFO] [stdout]      |
[INFO] [stdout] 2710 |                 let def = defs.find_type_in_mod(sema_mod, name).unwrap();
[INFO] [stdout]      |                     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]     --> src/sema.rs:2715:29
[INFO] [stdout]      |
[INFO] [stdout] 2715 |                         for item in blk{
[INFO] [stdout]      |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tr`
[INFO] [stdout]     --> src/sema.rs:2722:17
[INFO] [stdout]      |
[INFO] [stdout] 2722 |                 tr,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `tr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2723:17
[INFO] [stdout]      |
[INFO] [stdout] 2723 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2750:17
[INFO] [stdout]      |
[INFO] [stdout] 2750 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout]     --> src/sema.rs:2751:17
[INFO] [stdout]      |
[INFO] [stdout] 2751 |                 init,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `init: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attrs`
[INFO] [stdout]     --> src/sema.rs:2769:17
[INFO] [stdout]      |
[INFO] [stdout] 2769 |                 attrs,
[INFO] [stdout]      |                 ^^^^^ help: try ignoring the field: `attrs: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]     --> src/sema.rs:2770:17
[INFO] [stdout]      |
[INFO] [stdout] 2770 |                 vis,
[INFO] [stdout]      |                 ^^^ help: try ignoring the field: `vis: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]     --> src/sema.rs:2771:17
[INFO] [stdout]      |
[INFO] [stdout] 2771 |                 direction,
[INFO] [stdout]      |                 ^^^^^^^^^ help: try ignoring the field: `direction: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/sema.rs:2772:17
[INFO] [stdout]      |
[INFO] [stdout] 2772 |                 name,
[INFO] [stdout]      |                 ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]     --> src/sema.rs:2773:17
[INFO] [stdout]      |
[INFO] [stdout] 2773 |                 ty,
[INFO] [stdout]      |                 ^^ help: try ignoring the field: `ty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/opt.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let mut old_cfg = core::mem::take(&mut cfg);
[INFO] [stdout]    |                 ----^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/mangle.rs:32:35
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn insert_type(&mut self, name: &[&str], def: DefId) {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]   --> src/mangle.rs:32:50
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn insert_type(&mut self, name: &[&str], def: DefId) {
[INFO] [stdout]    |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/strings.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |             let mut leaked = Box::leak(st.into_boxed_str());
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/strings.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let mut leaked = Box::leak(Box::<str>::from(st));
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             x => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fnty` is never read
[INFO] [stdout]    --> src/sema/hir.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct HirConverter<'a>{
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fnty: &'a FunctionType,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fnty` is never read
[INFO] [stdout]    --> src/sema/mir.rs:432:5
[INFO] [stdout]     |
[INFO] [stdout] 428 | pub struct FunctionConvert<'a> {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 432 |     fnty: &'a FunctionType,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hardcoded_sub` is never used
[INFO] [stdout]   --> src/mangle.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn hardcoded_sub(st: &[&str]) -> Option<&'static str>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `subtab` is never read
[INFO] [stdout]   --> src/mangle.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SubstitutionMap<'a>{
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 18 |     subtab: FxHashMap<&'a [&'a str], u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mod_out` and `ty_map` are never read
[INFO] [stdout]  --> src/irgen/llhd.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LlhdGenerator {
[INFO] [stdout]   |            ------------- fields in this struct
[INFO] [stdout] 7 |     mod_out: llhd::ir::Module,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     ty_map: FxHashMap<DefId, ty::Type>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `ty:` in this pattern is redundant
[INFO] [stdout]    --> src/sema/tycheck.rs:563:45
[INFO] [stdout]     |
[INFO] [stdout] 563 |         HirStatement::Let { id, mutability, ty: mut ty, init } => {
[INFO] [stdout]     |                                             ^^^^^^^^^^ help: use shorthand field pattern: `mut ty`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.91s
[INFO] running `Command { std: "docker" "inspect" "921f6df5a00b2328e8bf1ec052734654fca65323b77fa2a8ea0c4f8f8cc4b69c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "921f6df5a00b2328e8bf1ec052734654fca65323b77fa2a8ea0c4f8f8cc4b69c", kill_on_drop: false }`
[INFO] [stdout] 921f6df5a00b2328e8bf1ec052734654fca65323b77fa2a8ea0c4f8f8cc4b69c
