[INFO] cloning repository https://github.com/security-pride/CLIR
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/security-pride/CLIR" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecurity-pride%2FCLIR", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecurity-pride%2FCLIR'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58186e9a94923dec344bf668040f1681db885719
[INFO] checking security-pride/CLIR against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecurity-pride%2FCLIR" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  74% (4746/6375)
Updating files:  75% (4782/6375)
Updating files:  76% (4845/6375)
Updating files:  77% (4909/6375)
Updating files:  78% (4973/6375)
Updating files:  79% (5037/6375)
Updating files:  80% (5100/6375)
Updating files:  81% (5164/6375)
Updating files:  82% (5228/6375)
Updating files:  83% (5292/6375)
Updating files:  84% (5355/6375)
Updating files:  85% (5419/6375)
Updating files:  86% (5483/6375)
Updating files:  87% (5547/6375)
Updating files:  88% (5610/6375)
Updating files:  89% (5674/6375)
Updating files:  90% (5738/6375)
Updating files:  91% (5802/6375)
Updating files:  92% (5865/6375)
Updating files:  93% (5929/6375)
Updating files:  94% (5993/6375)
Updating files:  95% (6057/6375)
Updating files:  96% (6120/6375)
Updating files:  97% (6184/6375)
Updating files:  98% (6248/6375)
Updating files:  99% (6312/6375)
Updating files: 100% (6375/6375)
Updating files: 100% (6375/6375), done.
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/security-pride/CLIR
[INFO] finished tweaking git repo https://github.com/security-pride/CLIR
[INFO] tweaked toml for git repo https://github.com/security-pride/CLIR written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/security-pride/CLIR on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/security-pride/CLIR 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b
[INFO] running `Command { std: "docker" "start" "e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cranelift-srcgen v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/srcgen)
[INFO] [stderr]     Checking hashbrown v0.15.0
[INFO] [stderr]    Compiling wasmtime-internal-core v43.0.0 (/opt/rustwide/workdir/wasmtime/crates/core)
[INFO] [stderr]    Compiling cranelift-isle v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/isle/isle)
[INFO] [stderr]    Compiling cc v1.1.10
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/codegen/shared)
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling target-lexicon v0.13.4
[INFO] [stderr]     Checking bumpalo v3.16.0
[INFO] [stderr]     Checking rustc-hash v2.1.1
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking arbitrary v1.4.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling serde_json v1.0.124
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling thiserror v1.0.62
[INFO] [stderr]     Checking winnow v0.7.12
[INFO] [stderr]    Compiling cranelift-assembler-x64-meta v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/assembler-x64/meta)
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking toml_writer v1.0.2
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking cranelift-control v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/control)
[INFO] [stderr]     Checking radium v0.7.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking rustc_version v0.2.3
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]     Checking clap_builder v4.5.15
[INFO] [stderr]     Checking gimli v0.33.0
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/codegen/meta)
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking toml_parser v1.0.1
[INFO] [stderr]     Checking memmap2 v0.9.4
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling cranelift-assembler-x64 v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/assembler-x64)
[INFO] [stderr]     Checking regex v1.11.0
[INFO] [stderr]    Compiling cranelift-codegen v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/codegen)
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.62
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling zerocopy-derive v0.8.27
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling mongodb-internal-macros v3.0.1
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tokio v1.39.2
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]     Checking clap v4.5.15
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_core v0.9.0-alpha.2
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0-alpha.2
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking rand v0.9.0-alpha.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking cranelift-bitset v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/bitset)
[INFO] [stderr]     Checking serde_spanned v1.0.0
[INFO] [stderr]     Checking toml_datetime v0.7.0
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking toml v0.9.2
[INFO] [stderr]     Checking cranelift-entity v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/entity)
[INFO] [stderr]     Checking regalloc2 v0.13.5
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking cranelift-bforest v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/bforest)
[INFO] [stderr]     Checking bson v2.11.0
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking mongodb v3.0.1
[INFO] [stdout] warning: unused import: `crate::machinst::abi::*`
[INFO] [stdout]  --> wasmtime/cranelift/codegen/src/isa/x64/abi.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::machinst::abi::*;
[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: `crate::machinst::lower::*`
[INFO] [stdout]   --> wasmtime/cranelift/codegen/src/isa/x64/lower.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::machinst::lower::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking commons v0.1.0 (/opt/rustwide/workdir/crates/commons)
[INFO] [stderr]     Checking cranelift-native v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/native)
[INFO] [stderr]     Checking cranelift-reader v0.130.0 (/opt/rustwide/workdir/wasmtime/cranelift/reader)
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> crates/commons/src/types.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[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 variable: `rng`
[INFO] [stdout]   --> crates/commons/src/fixed_rng.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |     if let Some(rng) = rng_guard.as_mut() {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `random_number` is never read
[INFO] [stdout]   --> crates/commons/src/fixed_rng.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut random_number = 0;
[INFO] [stdout]    |                                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 41 |             random_number = rand::thread_rng().gen_range(start..end);
[INFO] [stdout]    |             -------------------------------------------------------- `random_number` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `final_config` is never read
[INFO] [stdout]    --> crates/commons/src/types.rs:154:28
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut final_config = ArchConfig::default();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 166 |     final_config = configs[0].clone();
[INFO] [stdout]     |     ------------ `final_config` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking cg-constructor v0.1.0 (/opt/rustwide/workdir/crates/cg-constructor)
[INFO] [stderr]     Checking cf-constructor v0.1.0 (/opt/rustwide/workdir/crates/cf-constructor)
[INFO] [stdout] warning: unused import: `FixedRng`
[INFO] [stdout]  --> crates/cf-constructor/src/lib.rs:1:47
[INFO] [stdout]   |
[INFO] [stdout] 1 | use commons::fixed_rng::{gen_and_print_range, FixedRng};
[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: `cranelift_codegen::ir::layout::Blocks`
[INFO] [stdout]  --> crates/cf-constructor/src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cranelift_codegen::ir::layout::Blocks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Inst`, `Layout`, and `Value`
[INFO] [stdout]  --> crates/cf-constructor/src/lib.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 |     types, BlockCall, Function, Inst, InstBuilder, InstructionData, JumpTableData, Layout, Value,
[INFO] [stdout]   |                                 ^^^^                                               ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::packed_option::PackedOption`
[INFO] [stdout]   --> crates/cf-constructor/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use cranelift_codegen::packed_option::PackedOption;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]   --> crates/cf-constructor/src/lib.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::{thread_rng, Rng};
[INFO] [stdout]    |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> crates/cf-constructor/src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> crates/cf-constructor/src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::flowgraph::ControlFlowGraph`
[INFO] [stdout]  --> crates/cg-constructor/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cranelift_codegen::flowgraph::ControlFlowGraph;
[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: `cranelift_codegen::ir`
[INFO] [stdout]  --> crates/cg-constructor/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cranelift_codegen::ir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Block`, `ExternalName`, and `FuncRef`
[INFO] [stdout]  --> crates/cg-constructor/src/lib.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     AbiParam, Block, ExternalName, FuncRef, Function, Signature, Type, UserFuncName,
[INFO] [stdout]   |               ^^^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]   --> crates/cg-constructor/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashSet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> crates/cg-constructor/src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut rng = rand::thread_rng();
[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: `rng`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 |     for i in 0..case_num {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:551:9
[INFO] [stdout]     |
[INFO] [stdout] 551 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:551:9
[INFO] [stdout]     |
[INFO] [stdout] 551 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block_num`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:557:17
[INFO] [stdout]     |
[INFO] [stdout] 557 |             let block_num = sequential_blocks.blocks.len();
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:846:9
[INFO] [stdout]     |
[INFO] [stdout] 846 |     let mut cfg = ControlFlowGraph::with_function(&func);
[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]    --> crates/cf-constructor/src/lib.rs:881:21
[INFO] [stdout]     |
[INFO] [stdout] 881 |                 let mut default_block_call = dfg.jump_tables[table].default_block_mut();
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inst`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:851:9
[INFO] [stdout]     |
[INFO] [stdout] 851 |         inst,
[INFO] [stdout]     |         ^^^^ help: try ignoring the field: `inst: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:864:17
[INFO] [stdout]     |
[INFO] [stdout] 864 |                 opcode,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:879:44
[INFO] [stdout]     |
[INFO] [stdout] 879 |             InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                            ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:879:52
[INFO] [stdout]     |
[INFO] [stdout] 879 |             InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                    ^^^ help: try ignoring the field: `arg: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:893:17
[INFO] [stdout]     |
[INFO] [stdout] 893 |                 opcode,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `destination`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:894:17
[INFO] [stdout]     |
[INFO] [stdout] 894 |                 destination,
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: try ignoring the field: `destination: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:922:9
[INFO] [stdout]     |
[INFO] [stdout] 922 |     let mut cfg = ControlFlowGraph::with_function(&func);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `replaced_block_control_instr`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:928:21
[INFO] [stdout]     |
[INFO] [stdout] 928 |         if let Some(replaced_block_control_instr) =
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replaced_block_control_instr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:944:21
[INFO] [stdout]     |
[INFO] [stdout] 944 |                     opcode,
[INFO] [stdout]     |                     ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocks`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:946:21
[INFO] [stdout]     |
[INFO] [stdout] 946 |                     blocks,
[INFO] [stdout]     |                     ^^^^^^ help: try ignoring the field: `blocks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:982:48
[INFO] [stdout]     |
[INFO] [stdout] 982 |                 InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:982:61
[INFO] [stdout]     |
[INFO] [stdout] 982 |                 InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                             ^^^^^ help: try ignoring the field: `table: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> crates/cg-constructor/src/lib.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         for i in 0..num_children {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> crates/cg-constructor/src/lib.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl FunctionNode {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn print(&self, depth: usize) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> crates/cf-constructor/src/lib.rs:547:5
[INFO] [stdout]     |
[INFO] [stdout] 547 |     clif_file.write_all(output.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 547 |     let _ = clif_file.write_all(output.as_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking function-generator v0.1.0 (/opt/rustwide/workdir/crates/function-generator)
[INFO] [stdout] warning: unused import: `cranelift_codegen::cfg_printer::CFGPrinter`
[INFO] [stdout]  --> crates/function-generator/src/dominator_tree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cranelift_codegen::cfg_printer::CFGPrinter;
[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 imports: `CursorPosition` and `FuncCursor`
[INFO] [stdout]  --> crates/function-generator/src/dominator_tree.rs:2:41
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cranelift_codegen::cursor::{Cursor, CursorPosition, FuncCursor};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockPredecessor`
[INFO] [stdout]  --> crates/function-generator/src/dominator_tree.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cranelift_codegen::flowgraph::{BlockPredecessor, ControlFlowGraph};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::ir::layout::Blocks`
[INFO] [stdout]  --> crates/function-generator/src/dominator_tree.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cranelift_codegen::ir::layout::Blocks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockCall`, `InstBuilder`, `Inst`, `InstructionData`, `JumpTableData`, `Layout`, `Value`, and `types`
[INFO] [stdout]  --> crates/function-generator/src/dominator_tree.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     types, BlockCall, Function, Inst, InstBuilder, InstructionData, JumpTableData, Layout, Value,
[INFO] [stdout]   |     ^^^^^  ^^^^^^^^^            ^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::packed_option::PackedOption`
[INFO] [stdout]  --> crates/function-generator/src/dominator_tree.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cranelift_codegen::packed_option::PackedOption;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]   --> crates/function-generator/src/dominator_tree.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{thread_rng, Rng};
[INFO] [stdout]    |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> crates/function-generator/src/dominator_tree.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> crates/function-generator/src/dominator_tree.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> crates/function-generator/src/dominator_tree.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `commons::types::Instruction`
[INFO] [stdout]  --> crates/function-generator/src/instruction_selector.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use commons::types::Instruction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockCall`, `Function`, `Immediate`, `MemFlags`, and `ValueListPool`
[INFO] [stdout]   --> crates/function-generator/src/instruction_selector.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 |     types, AtomicRmwOp, Block, BlockCall, ConstantData, Endianness, Function, Immediate,
[INFO] [stdout]    |                                ^^^^^^^^^                            ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 11 |     InstBuilder, InstructionData, MemFlags, Opcode, TrapCode, Type, Value, ValueListPool,
[INFO] [stdout]    |                                   ^^^^^^^^                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `bytes_of` and `cast_ref`
[INFO] [stdout]  --> crates/function-generator/src/lib.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use bytemuck::{bytes_of, cast_ref};
[INFO] [stdout]   |                ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CursorPosition`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 | use cranelift_codegen::cursor::{Cursor, CursorPosition, FuncCursor};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockPredecessor`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | use cranelift_codegen::flowgraph::{BlockPredecessor, ControlFlowGraph};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ieee128` and `V128Imm`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:17:41
[INFO] [stdout]    |
[INFO] [stdout] 17 | use cranelift_codegen::ir::immediates::{Ieee128, Imm64, Offset32, V128Imm};
[INFO] [stdout]    |                                         ^^^^^^^                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FuncRef`, `GlobalValueData`, `Inst`, `JumpTableData`, `JumpTables`, `ValueList`, and `types`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     types, ArgumentPurpose, Block, BlockArg, BlockCall, ConstantData, Endianness, ExtFuncData,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     ExternalName, FuncRef, Function, GlobalValueData, Inst, InstBuilder, InstructionData,
[INFO] [stdout]    |                   ^^^^^^^            ^^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 22 |     JumpTableData, JumpTables, Opcode, StackSlotData, StackSlotKind, Type, UserExternalName, Value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 23 |     ValueList,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bson` and `from_bson`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 | use mongodb::bson::{doc, from_bson, Bson};
[INFO] [stdout]    |                          ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client`, `Collection`, and `bson`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 29 |     bson::Document,
[INFO] [stdout] 30 |     sync::{Client, Collection},
[INFO] [stdout]    |            ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::borrow::BorrowMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `f32x4`, `f64x2`, `i16x8`, `i32x4`, `i64x2`, and `i8x16`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | use wide::{f32x4, f64x2, i16x8, i32x4, i64x2, i8x16};
[INFO] [stdout]    |            ^^^^^  ^^^^^  ^^^^^  ^^^^^  ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:3256:13
[INFO] [stdout]      |
[INFO] [stdout] 3255 |             return None;
[INFO] [stdout]      |             ----------- any code following this expression is unreachable
[INFO] [stdout] 3256 |             cur.ins().debugtrap();
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:3702:13
[INFO] [stdout]      |
[INFO] [stdout] 3701 |             return None;
[INFO] [stdout]      |             ----------- any code following this expression is unreachable
[INFO] [stdout] 3702 |             cur.ins().trap(TrapCode::STACK_OVERFLOW);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:4690:41
[INFO] [stdout]      |
[INFO] [stdout] 4690 |             let random_u128: u128 = rng.gen();
[INFO] [stdout]      |                                         ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:4712:13
[INFO] [stdout]      |
[INFO] [stdout] 4711 |             return None;
[INFO] [stdout]      |             ----------- any code following this expression is unreachable
[INFO] [stdout] 4712 |             let new_value = cur.ins().f16const(Ieee16::with_bits(rng.random::<u16>()));
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> crates/function-generator/src/dominator_tree.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cranelift_codegen::cursor::{Cursor, CursorPosition, FuncCursor};
[INFO] [stdout]   |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::entity::EntityRef`
[INFO] [stdout]  --> crates/function-generator/src/instruction_selector.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cranelift_codegen::entity::EntityRef;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::entity::EntityRef`
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use cranelift_codegen::entity::EntityRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dominators`
[INFO] [stdout]   --> crates/function-generator/src/dominator_tree.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     dominators: &mut HashMap<Block, HashSet<Block>>,
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dominators`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:4791:9
[INFO] [stdout]      |
[INFO] [stdout] 4707 |         Opcode::TlsValue => {
[INFO] [stdout]      |         ---------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 4791 |         Opcode::TlsValue => {
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/function-generator/src/instruction_selector.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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: variable does not need to be mutable
[INFO] [stdout]    --> crates/function-generator/src/instruction_selector.rs:304:17
[INFO] [stdout]     |
[INFO] [stdout] 304 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:400:17
[INFO] [stdout]     |
[INFO] [stdout] 400 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:436:17
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:472:17
[INFO] [stdout]     |
[INFO] [stdout] 472 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:508:17
[INFO] [stdout]     |
[INFO] [stdout] 508 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:730:17
[INFO] [stdout]     |
[INFO] [stdout] 730 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:766:17
[INFO] [stdout]     |
[INFO] [stdout] 766 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:802:17
[INFO] [stdout]     |
[INFO] [stdout] 802 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:839:17
[INFO] [stdout]     |
[INFO] [stdout] 839 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:876:17
[INFO] [stdout]     |
[INFO] [stdout] 876 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]    --> crates/function-generator/src/instruction_selector.rs:989:17
[INFO] [stdout]     |
[INFO] [stdout] 989 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1026:17
[INFO] [stdout]      |
[INFO] [stdout] 1026 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1063:17
[INFO] [stdout]      |
[INFO] [stdout] 1063 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1100:17
[INFO] [stdout]      |
[INFO] [stdout] 1100 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1354:17
[INFO] [stdout]      |
[INFO] [stdout] 1354 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1391:17
[INFO] [stdout]      |
[INFO] [stdout] 1391 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1428:17
[INFO] [stdout]      |
[INFO] [stdout] 1428 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1465:17
[INFO] [stdout]      |
[INFO] [stdout] 1465 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1502:17
[INFO] [stdout]      |
[INFO] [stdout] 1502 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:1539:17
[INFO] [stdout]      |
[INFO] [stdout] 1539 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:2603:17
[INFO] [stdout]      |
[INFO] [stdout] 2603 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:3666:17
[INFO] [stdout]      |
[INFO] [stdout] 3666 |             let mut random_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:3676:25
[INFO] [stdout]      |
[INFO] [stdout] 3676 |                     let mut random_inserted_values_with_same_type = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:3681:25
[INFO] [stdout]      |
[INFO] [stdout] 3681 |                     let mut inserted_value = *random_inserted_values_with_same_type
[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]     --> crates/function-generator/src/instruction_selector.rs:4128:17
[INFO] [stdout]      |
[INFO] [stdout] 4128 |             let mut candidate_values = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:4802:17
[INFO] [stdout]      |
[INFO] [stdout] 4802 |             let mut values = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:4807:17
[INFO] [stdout]      |
[INFO] [stdout] 4807 |             let mut borrow_flags =
[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]     --> crates/function-generator/src/instruction_selector.rs:4832:17
[INFO] [stdout]      |
[INFO] [stdout] 4832 |             let mut values = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:4837:17
[INFO] [stdout]      |
[INFO] [stdout] 4837 |             let mut carry_flags =
[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]     --> crates/function-generator/src/instruction_selector.rs:4862:17
[INFO] [stdout]      |
[INFO] [stdout] 4862 |             let mut values = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:4867:17
[INFO] [stdout]      |
[INFO] [stdout] 4867 |             let mut carry_flags =
[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]     --> crates/function-generator/src/instruction_selector.rs:4892:17
[INFO] [stdout]      |
[INFO] [stdout] 4892 |             let mut values = get_dominator_values_with_type(
[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]     --> crates/function-generator/src/instruction_selector.rs:4897:17
[INFO] [stdout]      |
[INFO] [stdout] 4897 |             let mut borrow_flags =
[INFO] [stdout]      |                 ----^^^^^^^^^^^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr_data`
[INFO] [stdout]    --> crates/function-generator/src/instruction_selector.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     instr_data: InstructionData,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_value`
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:3360:17
[INFO] [stdout]      |
[INFO] [stdout] 3360 |             let new_value = cur
[INFO] [stdout]      |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_lane`
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:3709:29
[INFO] [stdout]      |
[INFO] [stdout] 3709 |             let (lane_type, max_lane) = extract_vector_type(value_type);
[INFO] [stdout]      |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lane`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_lane`
[INFO] [stdout]     --> crates/function-generator/src/instruction_selector.rs:4127:30
[INFO] [stdout]      |
[INFO] [stdout] 4127 |             let (value_type, max_lane) = extract_vector_type(result_value_type);
[INFO] [stdout]      |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lane`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:529:17
[INFO] [stdout]     |
[INFO] [stdout] 529 |                 opcode,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:530:17
[INFO] [stdout]     |
[INFO] [stdout] 530 |                 arg,
[INFO] [stdout]     |                 ^^^ help: try ignoring the field: `arg: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocks`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:531:17
[INFO] [stdout]     |
[INFO] [stdout] 531 |                 blocks,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `blocks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:542:48
[INFO] [stdout]     |
[INFO] [stdout] 542 |             ir::InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:542:56
[INFO] [stdout]     |
[INFO] [stdout] 542 |             ir::InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                        ^^^ help: try ignoring the field: `arg: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:542:61
[INFO] [stdout]     |
[INFO] [stdout] 542 |             ir::InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                             ^^^^^ help: try ignoring the field: `table: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:588:10
[INFO] [stdout]     |
[INFO] [stdout] 588 |     for (i, node) in dfs_order.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:634:25
[INFO] [stdout]     |
[INFO] [stdout] 634 |                         opcode,
[INFO] [stdout]     |                         ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:639:30
[INFO] [stdout]     |
[INFO] [stdout] 639 |                         for (i, param_type) in block_params_type.iter().enumerate() {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:657:25
[INFO] [stdout]     |
[INFO] [stdout] 657 |                         opcode,
[INFO] [stdout]     |                         ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:658:25
[INFO] [stdout]     |
[INFO] [stdout] 658 |                         arg,
[INFO] [stdout]     |                         ^^^ help: try ignoring the field: `arg: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:669:30
[INFO] [stdout]     |
[INFO] [stdout] 669 |                         for (i, param_type) in block_params_type.iter().enumerate() {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:687:52
[INFO] [stdout]     |
[INFO] [stdout] 687 |                     InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                    ^^^^^^ help: try ignoring the field: `opcode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:687:60
[INFO] [stdout]     |
[INFO] [stdout] 687 |                     InstructionData::BranchTable { opcode, arg, table } => {
[INFO] [stdout]     |                                                            ^^^ help: try ignoring the field: `arg: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:695:38
[INFO] [stdout]     |
[INFO] [stdout] 695 | ...                   for (i, param_type) in block_params_type.iter().enumerate() {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scalar_types`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:791:13
[INFO] [stdout]     |
[INFO] [stdout] 791 |         let scalar_types = vec![I8, I16, I32, I64, F32, F64];
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scalar_types`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `all_documents`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:222:26
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn get_instr_snippet(all_documents: &Vec<Document>, num: usize) -> Vec<Vec<InstructionData>> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_documents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:222:57
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn get_instr_snippet(all_documents: &Vec<Document>, num: usize) -> Vec<Vec<InstructionData>> {
[INFO] [stdout]     |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:975:38
[INFO] [stdout]     |
[INFO] [stdout] 975 | ...                   for (i, call_result) in call_results.iter_mut().enumerate() {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:995:26
[INFO] [stdout]     |
[INFO] [stdout] 995 | fn init_function_context(func: &mut Function) {}
[INFO] [stdout]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockJson` is never constructed
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct BlockJson {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_instr`, `add_block_type`, `add_context`, `to_json_string`, and `from_json_string` are never used
[INFO] [stdout]   --> crates/function-generator/src/lib.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl BlockJson {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 49 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn add_instr(&mut self, json: JsonValue) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn add_block_type(&mut self, json: JsonValue) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn add_context(&mut self, json: JsonValue) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn to_json_string(&self) -> anyhow::Result<String, serde_json::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn from_json_string(json_str: &str) -> anyhow::Result<Self, serde_json::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_function_context` is never used
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:995:4
[INFO] [stdout]     |
[INFO] [stdout] 995 | fn init_function_context(func: &mut Function) {}
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bitselect_type_mapping` is never used
[INFO] [stdout]   --> crates/function-generator/src/instruction_selector.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn bitselect_type_mapping(vector_type: Type) -> Type {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::iter::Map` that must be used
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:593:13
[INFO] [stdout]     |
[INFO] [stdout] 593 |             pre_blocks.iter().map(|x| node_and_pre_blocks.push(x.block));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 593 |             let _ = pre_blocks.iter().map(|x| node_and_pre_blocks.push(x.block));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `Iterator::map` call that discard the iterator's values
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:593:31
[INFO] [stdout]     |
[INFO] [stdout] 593 |             pre_blocks.iter().map(|x| node_and_pre_blocks.push(x.block));
[INFO] [stdout]     |                               ^^^^-------------------------------------^
[INFO] [stdout]     |                               |   |
[INFO] [stdout]     |                               |   this function returns `()`, which is likely not what you wanted
[INFO] [stdout]     |                               |   called `Iterator::map` with callable that returns `()`
[INFO] [stdout]     |                               after this call to map, the resulting iterator is `impl Iterator<Item = ()>`, which means the only information carried by the iterator is the number of items
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Iterator::map`, like many of the methods on `Iterator`, gets executed lazily, meaning that its effects won't be visible until it is iterated
[INFO] [stdout]     = note: `#[warn(map_unit_fn)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to use `Iterator::for_each`
[INFO] [stdout]     |
[INFO] [stdout] 593 -             pre_blocks.iter().map(|x| node_and_pre_blocks.push(x.block));
[INFO] [stdout] 593 +             pre_blocks.iter().for_each(|x| node_and_pre_blocks.push(x.block));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> crates/function-generator/src/lib.rs:926:43
[INFO] [stdout]     |
[INFO] [stdout] 926 |                         for next_instr in func_cursor.next_inst() {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 926 -                         for next_instr in func_cursor.next_inst() {
[INFO] [stdout] 926 +                         while let Some(next_instr) = func_cursor.next_inst() {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 926 -                         for next_instr in func_cursor.next_inst() {
[INFO] [stdout] 926 +                         if let Some(next_instr) = func_cursor.next_inst() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking CLIR v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/bin/ir_serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::Parser;
[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: `cranelift_codegen::ir::instructions::InstructionFormat`
[INFO] [stdout]  --> src/bin/ir_serde.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cranelift_codegen::ir::instructions::InstructionFormat;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Immediate` and `Value`
[INFO] [stdout]  --> src/bin/ir_serde.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cranelift_codegen::ir::{Function, Immediate, InstructionData, Value};
[INFO] [stdout]   |                                       ^^^^^^^^^                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::options::ClientOptions`
[INFO] [stdout]  --> src/bin/ir_serde.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use mongodb::options::ClientOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson`
[INFO] [stdout]   --> src/bin/ir_serde.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]   --> src/bin/ir_serde.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::process;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/bin/ir_serde.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cfg_print` and `output_clif`
[INFO] [stdout]  --> src/bin/ir_generator.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cf_constructor::{cf_construct, cfg_print, output_clif};
[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 imports: `cfg_print` and `output_clif`
[INFO] [stdout]  --> src/bin/ir_generator.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cf_constructor::{cf_construct, cfg_print, output_clif};
[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: `ArgAction`
[INFO] [stdout]  --> src/bin/ir_generator.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{ArgAction, Parser};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::cfg_printer::CFGPrinter`
[INFO] [stdout]  --> src/bin/ir_generator.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cranelift_codegen::cfg_printer::CFGPrinter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::control::ControlPlane`
[INFO] [stdout]  --> src/bin/ir_generator.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cranelift_codegen::control::ControlPlane;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::flowgraph::ControlFlowGraph`
[INFO] [stdout]  --> src/bin/ir_generator.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cranelift_codegen::flowgraph::ControlFlowGraph;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AbiParam`, `ExtFuncData`, `ExternalName`, `Signature`, `UserExternalName`, and `UserFuncName`
[INFO] [stdout]   --> src/bin/ir_generator.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     AbiParam, Block, ExtFuncData, ExternalName, Function, Signature, UserExternalName, UserFuncName,
[INFO] [stdout]    |     ^^^^^^^^         ^^^^^^^^^^^  ^^^^^^^^^^^^            ^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallConv` and `self`
[INFO] [stdout]   --> src/bin/ir_generator.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 | use cranelift_codegen::isa::{self, CallConv};
[INFO] [stdout]    |                              ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::Context`
[INFO] [stdout]   --> src/bin/ir_generator.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use cranelift_codegen::Context;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ir`
[INFO] [stdout]   --> src/bin/ir_generator.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use cranelift_codegen::{ir, write_function};
[INFO] [stdout]    |                         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bson`, `doc`, and `from_bson`
[INFO] [stdout]   --> src/bin/ir_generator.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mongodb::bson::{doc, from_bson, Bson};
[INFO] [stdout]    |                     ^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson`
[INFO] [stdout]   --> src/bin/ir_generator.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArgAction`
[INFO] [stdout]  --> src/bin/ir_generator.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{ArgAction, Parser};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::cfg_printer::CFGPrinter`
[INFO] [stdout]  --> src/bin/ir_generator.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cranelift_codegen::cfg_printer::CFGPrinter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::control::ControlPlane`
[INFO] [stdout]  --> src/bin/ir_generator.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cranelift_codegen::control::ControlPlane;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::flowgraph::ControlFlowGraph`
[INFO] [stdout]  --> src/bin/ir_generator.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cranelift_codegen::flowgraph::ControlFlowGraph;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AbiParam`, `ExtFuncData`, `ExternalName`, `Signature`, `UserExternalName`, and `UserFuncName`
[INFO] [stdout]   --> src/bin/ir_generator.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     AbiParam, Block, ExtFuncData, ExternalName, Function, Signature, UserExternalName, UserFuncName,
[INFO] [stdout]    |     ^^^^^^^^         ^^^^^^^^^^^  ^^^^^^^^^^^^            ^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallConv` and `self`
[INFO] [stdout]   --> src/bin/ir_generator.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 | use cranelift_codegen::isa::{self, CallConv};
[INFO] [stdout]    |                              ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::Context`
[INFO] [stdout]   --> src/bin/ir_generator.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use cranelift_codegen::Context;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ir`
[INFO] [stdout]   --> src/bin/ir_generator.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use cranelift_codegen::{ir, write_function};
[INFO] [stdout]    |                         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `function_generator::dominator_tree::compute_dominators`
[INFO] [stdout]   --> src/bin/ir_generator.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use function_generator::dominator_tree::compute_dominators;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bson`, `doc`, and `from_bson`
[INFO] [stdout]   --> src/bin/ir_generator.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mongodb::bson::{doc, from_bson, Bson};
[INFO] [stdout]    |                     ^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson`
[INFO] [stdout]   --> src/bin/ir_generator.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]   --> src/bin/ir_generator.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::borrow::BorrowMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]   --> src/bin/ir_generator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use std::fmt::format;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]   --> src/bin/ir_generator.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | use std::{env, vec};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `toml`
[INFO] [stdout]   --> src/bin/ir_generator.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use toml;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/bin/ir_generator.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     while true {
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/bin/ir_generator.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 219 |     while true {
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]   --> src/bin/ir_generator.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::borrow::BorrowMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]   --> src/bin/ir_generator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use std::fmt::format;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]   --> src/bin/ir_generator.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | use std::{env, vec};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `toml`
[INFO] [stdout]   --> src/bin/ir_generator.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use toml;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/bin/ir_generator.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     while true {
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/bin/ir_generator.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 219 |     while true {
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/bin/ir_serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::Parser;
[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: `cranelift_codegen::ir::instructions::InstructionFormat`
[INFO] [stdout]  --> src/bin/ir_serde.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cranelift_codegen::ir::instructions::InstructionFormat;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Immediate` and `Value`
[INFO] [stdout]  --> src/bin/ir_serde.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cranelift_codegen::ir::{Function, Immediate, InstructionData, Value};
[INFO] [stdout]   |                                       ^^^^^^^^^                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::options::ClientOptions`
[INFO] [stdout]  --> src/bin/ir_serde.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use mongodb::options::ClientOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bson`
[INFO] [stdout]   --> src/bin/ir_serde.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]   --> src/bin/ir_serde.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::process;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/bin/ir_serde.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_serde.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut find_result = collection.find(Document::new());
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_serde.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let mut cfg = ControlFlowGraph::with_function(func);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]    --> src/bin/ir_serde.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let mut cfg = ControlFlowGraph::with_function(func);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> src/bin/ir_serde.rs:213:17
[INFO] [stdout]     |
[INFO] [stdout] 213 |             let opcode = instr_data.opcode();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr_args`
[INFO] [stdout]    --> src/bin/ir_serde.rs:214:17
[INFO] [stdout]     |
[INFO] [stdout] 214 |             let instr_args = pos.func.dfg.inst_args(inst);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr_result`
[INFO] [stdout]    --> src/bin/ir_serde.rs:215:17
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let instr_result = pos.func.dfg.inst_results(inst);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]    --> src/bin/ir_serde.rs:225:17
[INFO] [stdout]     |
[INFO] [stdout] 225 |             let values: Vec<_> = pos.func.dfg.inst_values(inst).collect();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traverse_cfg` is never used
[INFO] [stdout]    --> src/bin/ir_serde.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn traverse_cfg(func: &mut Function) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_serde.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     process_dirs_clif(path);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let _ = process_dirs_clif(path);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_serde.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         insert_json_into_mongodb(&block_json.to_json_string().unwrap());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let _ = insert_json_into_mongodb(&block_json.to_json_string().unwrap());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]    --> src/bin/ir_generator.rs:126:22
[INFO] [stdout]     |
[INFO] [stdout] 126 |         if let Some((last, rest)) = func_node_post_order.split_last_mut() {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_generator.rs:282:17
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let mut path = Path::new(path).join(&config.arch);
[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: `last`
[INFO] [stdout]    --> src/bin/ir_generator.rs:244:22
[INFO] [stdout]     |
[INFO] [stdout] 244 |         if let Some((last, rest)) = func_node_post_order.split_last_mut() {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_serde.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let mut find_result = collection.find(Document::new());
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_serde.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let mut cfg = ControlFlowGraph::with_function(func);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout]    --> src/bin/ir_serde.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let mut cfg = ControlFlowGraph::with_function(func);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opcode`
[INFO] [stdout]    --> src/bin/ir_serde.rs:213:17
[INFO] [stdout]     |
[INFO] [stdout] 213 |             let opcode = instr_data.opcode();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr_args`
[INFO] [stdout]    --> src/bin/ir_serde.rs:214:17
[INFO] [stdout]     |
[INFO] [stdout] 214 |             let instr_args = pos.func.dfg.inst_args(inst);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instr_result`
[INFO] [stdout]    --> src/bin/ir_serde.rs:215:17
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let instr_result = pos.func.dfg.inst_results(inst);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]    --> src/bin/ir_serde.rs:225:17
[INFO] [stdout]     |
[INFO] [stdout] 225 |             let values: Vec<_> = pos.func.dfg.inst_values(inst).collect();
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traverse_cfg` is never used
[INFO] [stdout]    --> src/bin/ir_serde.rs:174:4
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn traverse_cfg(func: &mut Function) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_generator.rs:404:21
[INFO] [stdout]     |
[INFO] [stdout] 404 |                 let mut config = load_config(single_config);
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_collection` is never used
[INFO] [stdout]   --> src/bin/ir_generator.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn get_collection() -> anyhow::Result<Collection<Document>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_serde.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     process_dirs_clif(path);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let _ = process_dirs_clif(path);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_serde.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         insert_json_into_mongodb(&block_json.to_json_string().unwrap());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let _ = insert_json_into_mongodb(&block_json.to_json_string().unwrap());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let _ = write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let _ = write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         fs::create_dir_all(path);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let _ = fs::create_dir_all(path);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:197:9
[INFO] [stdout]     |
[INFO] [stdout] 197 |         clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let _ = clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let _ = clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 |         clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let _ = clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |                 write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 258 |                 let _ = write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |             write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 261 |             let _ = write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             fs::create_dir_all(&path);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 283 |             let _ = fs::create_dir_all(&path);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:318:13
[INFO] [stdout]     |
[INFO] [stdout] 318 |             clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 318 |             let _ = clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |             clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 319 |             let _ = clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |             clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 320 |             let _ = clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]    --> src/bin/ir_generator.rs:126:22
[INFO] [stdout]     |
[INFO] [stdout] 126 |         if let Some((last, rest)) = func_node_post_order.split_last_mut() {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_generator.rs:282:17
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let mut path = Path::new(path).join(&config.arch);
[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: `last`
[INFO] [stdout]    --> src/bin/ir_generator.rs:244:22
[INFO] [stdout]     |
[INFO] [stdout] 244 |         if let Some((last, rest)) = func_node_post_order.split_last_mut() {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/ir_generator.rs:404:21
[INFO] [stdout]     |
[INFO] [stdout] 404 |                 let mut config = load_config(single_config);
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_collection` is never used
[INFO] [stdout]   --> src/bin/ir_generator.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn get_collection() -> anyhow::Result<Collection<Document>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let _ = write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let _ = write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         fs::create_dir_all(path);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let _ = fs::create_dir_all(path);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:197:9
[INFO] [stdout]     |
[INFO] [stdout] 197 |         clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let _ = clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let _ = clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 |         clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let _ = clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |                 write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 258 |                 let _ = write_function(&mut clif_output, &func_node.func);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |             write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 261 |             let _ = write_function(&mut clif_output, &root_func_node.func);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             fs::create_dir_all(&path);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 283 |             let _ = fs::create_dir_all(&path);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:318:13
[INFO] [stdout]     |
[INFO] [stdout] 318 |             clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 318 |             let _ = clif_none_file.write_all(clif_none_output.as_bytes()); 
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |             clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 319 |             let _ = clif_speed_file.write_all(clif_speed_output.as_bytes()); 
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/bin/ir_generator.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |             clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 320 |             let _ = clif_speed_size_file.write_all(clif_speed_size_output.as_bytes()); 
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] running `Command { std: "docker" "inspect" "e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b", kill_on_drop: false }`
[INFO] [stdout] e85091622aa973e326102070aace6db27e673c187fd7224353454833e9c2695b
