[INFO] cloning repository https://github.com/WasmSanitizer/WasmSanitizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WasmSanitizer/WasmSanitizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWasmSanitizer%2FWasmSanitizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWasmSanitizer%2FWasmSanitizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 251f82461e78ba4b6bff3602784bc098569ae44f [INFO] checking WasmSanitizer/WasmSanitizer against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWasmSanitizer%2FWasmSanitizer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WasmSanitizer/WasmSanitizer [INFO] finished tweaking git repo https://github.com/WasmSanitizer/WasmSanitizer [INFO] tweaked toml for git repo https://github.com/WasmSanitizer/WasmSanitizer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WasmSanitizer/WasmSanitizer on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WasmSanitizer/WasmSanitizer 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded serial_test_derive v3.0.0 [INFO] [stderr] Downloaded rand_distr v0.3.0 [INFO] [stderr] Downloaded serial_test v3.0.0 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded wasabi_leb128 v0.4.0 [INFO] [stderr] Downloaded syn v2.0.58 [INFO] [stderr] Downloaded syn v0.12.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6d19890703e25e59ad87447340910c6e6b51a97414f67ff9937c958cc6c4980 [INFO] running `Command { std: "docker" "start" "-a" "b6d19890703e25e59ad87447340910c6e6b51a97414f67ff9937c958cc6c4980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6d19890703e25e59ad87447340910c6e6b51a97414f67ff9937c958cc6c4980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d19890703e25e59ad87447340910c6e6b51a97414f67ff9937c958cc6c4980", kill_on_drop: false }` [INFO] [stdout] b6d19890703e25e59ad87447340910c6e6b51a97414f67ff9937c958cc6c4980 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36bf8bd468e08b1158a037d476561d5ee50c85da88236e8263e1fc0b0d50d374 [INFO] running `Command { std: "docker" "start" "-a" "36bf8bd468e08b1158a037d476561d5ee50c85da88236e8263e1fc0b0d50d374", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking wasabi_leb128 v0.4.0 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Compiling binary_derive v0.2.0 (/opt/rustwide/workdir/lib/wasm/binary_derive) [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> lib/wasm/binary_derive/src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | / quote!({ [INFO] [stdout] 38 | | #( #check_tag )* [INFO] [stdout] 39 | | #decode_fields [INFO] [stdout] 40 | | }) [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-0.4.2/src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379~ nested_tuples_pat!((while let Some(for pounded_var_names!(nested_tuples_pat () $($inner)*) [INFO] [stdout] 380~ nested_tuples_pat!(() = ) $($rest)*) [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-0.4.2/src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379~ nested_tuples_pat!((if let Some(for pounded_var_names!(nested_tuples_pat () $($inner)*) [INFO] [stdout] 380~ nested_tuples_pat!(() = ) $($rest)*) [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] --> lib/wasm/binary_derive/src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | quote!( #( #field_name: )* #field_ty::decode(reader, state)? ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-0.4.2/src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 ~ nested_tuples_pat!((while let Some(for pounded_var_names!(nested_tuples_pat () $($inner)*) [INFO] [stdout] 380 ~ nested_tuples_pat!(() = ) $($rest)*) [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-0.4.2/src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 ~ nested_tuples_pat!((if let Some(for pounded_var_names!(nested_tuples_pat () $($inner)*) [INFO] [stdout] 380 ~ nested_tuples_pat!(() = ) $($rest)*) [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] --> lib/wasm/binary_derive/src/lib.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | let body = quote!({ [INFO] [stdout] | ________________^ [INFO] [stdout] 154 | | #( bytes_written += #tag.encode(writer)?; )* [INFO] [stdout] 155 | | #( bytes_written += #field_names.encode(writer)? );* [INFO] [stdout] 156 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-0.4.2/src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 ~ nested_tuples_pat!((while let Some(for pounded_var_names!(nested_tuples_pat () $($inner)*) [INFO] [stdout] 380 ~ nested_tuples_pat!(() = ) $($rest)*) [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-0.4.2/src/lib.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 ~ nested_tuples_pat!((if let Some(for pounded_var_names!(nested_tuples_pat () $($inner)*) [INFO] [stdout] 380 ~ nested_tuples_pat!(() = ) $($rest)*) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling serial_test_derive v3.0.0 [INFO] [stderr] Checking serial_test v3.0.0 [INFO] [stderr] Checking wasm v0.5.0 (/opt/rustwide/workdir/lib/wasm) [INFO] [stdout] warning: unused variable: `new_func_idx` [INFO] [stdout] --> lib/wasm/src/ast/highlevel.rs:892:13 [INFO] [stdout] | [INFO] [stdout] 892 | let new_func_idx: Idx = self.add_function(type_, locals, body); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_func_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/wasm/src/ast/highlevel.rs:1044:27 [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn param_or_local(&self, idx: Idx) -> ParamOrLocalRef { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1044 | pub fn param_or_local(&self, idx: Idx) -> ParamOrLocalRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/wasm/src/ast/highlevel.rs:1051:31 [INFO] [stdout] | [INFO] [stdout] 1051 | pub fn param_or_local_mut(&mut self, idx: Idx) -> ParamOrLocalMut { [INFO] [stdout] | ^^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1051 | pub fn param_or_local_mut(&mut self, idx: Idx) -> ParamOrLocalMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/wasm/src/ast/highlevel.rs:1058:28 [INFO] [stdout] | [INFO] [stdout] 1058 | pub fn param_or_locals(&self) -> impl Iterator, ParamOrLocalRef)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1058 | pub fn param_or_locals(&self) -> impl Iterator, ParamOrLocalRef<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/wasm/src/ast/highlevel.rs:1064:32 [INFO] [stdout] | [INFO] [stdout] 1064 | pub fn param_or_locals_mut(&mut self) -> impl Iterator, ParamOrLocalMut)> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1064 | pub fn param_or_locals_mut(&mut self) -> impl Iterator, ParamOrLocalMut<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/wasm/src/ast/highlevel.rs:1093:19 [INFO] [stdout] | [INFO] [stdout] 1093 | pub fn params(&self) -> impl Iterator, ParamRef)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1093 | pub fn params(&self) -> impl Iterator, ParamRef<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/wasm/src/ast/highlevel.rs:1104:23 [INFO] [stdout] | [INFO] [stdout] 1104 | pub fn params_mut(&mut self) -> impl Iterator, ParamMut)> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1104 | pub fn params_mut(&mut self) -> impl Iterator, ParamMut<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm_instrumenter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blue`, `Cyan`, and `Purple` [INFO] [stdout] --> src/test.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | use ansi_term::Colour::{Red, Green, Yellow, Blue, Purple, Cyan}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | if (import_module == module_name && import_name == func_name) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if (import_module == module_name && import_name == func_name) { [INFO] [stdout] 106 + if import_module == module_name && import_name == func_name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 142 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 217 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 281 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 281 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:348:24 [INFO] [stdout] | [INFO] [stdout] 348 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 348 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 348 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/test.rs:397:30 [INFO] [stdout] | [INFO] [stdout] 397 | match(&code.body[i]){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 397 - match(&code.body[i]){ [INFO] [stdout] 397 + match &code.body[i]{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 446 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 485 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 485 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:695:24 [INFO] [stdout] | [INFO] [stdout] 695 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 695 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 695 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:801:24 [INFO] [stdout] | [INFO] [stdout] 801 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 801 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 801 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:938:20 [INFO] [stdout] | [INFO] [stdout] 938 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 938 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 938 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:1367:24 [INFO] [stdout] | [INFO] [stdout] 1367 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1367 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 1367 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:1436:24 [INFO] [stdout] | [INFO] [stdout] 1436 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1436 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 1436 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:1807:24 [INFO] [stdout] | [INFO] [stdout] 1807 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1807 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 1807 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blue`, `Cyan`, and `Purple` [INFO] [stdout] --> src/test.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | use ansi_term::Colour::{Red, Green, Yellow, Blue, Purple, Cyan}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | if (import_module == module_name && import_name == func_name) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if (import_module == module_name && import_name == func_name) { [INFO] [stdout] 106 + if import_module == module_name && import_name == func_name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 142 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 217 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 281 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 281 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:348:24 [INFO] [stdout] | [INFO] [stdout] 348 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 348 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 348 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/test.rs:397:30 [INFO] [stdout] | [INFO] [stdout] 397 | match(&code.body[i]){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 397 - match(&code.body[i]){ [INFO] [stdout] 397 + match &code.body[i]{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 446 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 485 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 485 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:695:24 [INFO] [stdout] | [INFO] [stdout] 695 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 695 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 695 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:801:24 [INFO] [stdout] | [INFO] [stdout] 801 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 801 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 801 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:938:20 [INFO] [stdout] | [INFO] [stdout] 938 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 938 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 938 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:1367:24 [INFO] [stdout] | [INFO] [stdout] 1367 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1367 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 1367 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:1436:24 [INFO] [stdout] | [INFO] [stdout] 1436 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1436 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 1436 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/test.rs:1807:24 [INFO] [stdout] | [INFO] [stdout] 1807 | if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1807 - if (import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string()) { [INFO] [stdout] 1807 + if import_module == "wasi_snapshot_preview1".to_string() && import_name == "proc_exit".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> src/test.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | let func_name = &func.name.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> src/test.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 169 | ... Instr::Local(LocalOp::Get, idx2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> src/test.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | let func_name = &func.name.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> src/test.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 169 | ... Instr::Local(LocalOp::Get, idx2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:290:29 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:290:29 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:349:25 [INFO] [stdout] | [INFO] [stdout] 349 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:349:25 [INFO] [stdout] | [INFO] [stdout] 349 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:486:25 [INFO] [stdout] | [INFO] [stdout] 486 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_param_count` [INFO] [stdout] --> src/test.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | let func_param_count = func.param_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_param_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:486:25 [INFO] [stdout] | [INFO] [stdout] 486 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_param_count` [INFO] [stdout] --> src/test.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | let func_param_count = func.param_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_param_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:696:25 [INFO] [stdout] | [INFO] [stdout] 696 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:705:29 [INFO] [stdout] | [INFO] [stdout] 705 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:696:25 [INFO] [stdout] | [INFO] [stdout] 696 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:705:29 [INFO] [stdout] | [INFO] [stdout] 705 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:802:25 [INFO] [stdout] | [INFO] [stdout] 802 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:814:29 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_param_count` [INFO] [stdout] --> src/test.rs:820:21 [INFO] [stdout] | [INFO] [stdout] 820 | let func_param_count = func.param_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_param_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx1` [INFO] [stdout] --> src/test.rs:861:56 [INFO] [stdout] | [INFO] [stdout] 861 | ... (Instr::Local(LocalOp::Get,idx1), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> src/test.rs:862:55 [INFO] [stdout] | [INFO] [stdout] 862 | ... Instr::Local(LocalOp::Get,idx2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:802:25 [INFO] [stdout] | [INFO] [stdout] 802 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:814:29 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_param_count` [INFO] [stdout] --> src/test.rs:820:21 [INFO] [stdout] | [INFO] [stdout] 820 | let func_param_count = func.param_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_param_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx1` [INFO] [stdout] --> src/test.rs:861:56 [INFO] [stdout] | [INFO] [stdout] 861 | ... (Instr::Local(LocalOp::Get,idx1), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> src/test.rs:862:55 [INFO] [stdout] | [INFO] [stdout] 862 | ... Instr::Local(LocalOp::Get,idx2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i64_add_flag` is assigned to, but never used [INFO] [stdout] --> src/test.rs:929:13 [INFO] [stdout] | [INFO] [stdout] 929 | let mut i64_add_flag = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i64_add_flag` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:932:13 [INFO] [stdout] | [INFO] [stdout] 932 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:939:21 [INFO] [stdout] | [INFO] [stdout] 939 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/test.rs:968:10 [INFO] [stdout] | [INFO] [stdout] 968 | for (idx, func) in module.functions_mut() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_len` [INFO] [stdout] --> src/test.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | let result_len = func.type_.results.len(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i64_add_flag` is assigned to, but never used [INFO] [stdout] --> src/test.rs:929:13 [INFO] [stdout] | [INFO] [stdout] 929 | let mut i64_add_flag = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i64_add_flag` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:979:25 [INFO] [stdout] | [INFO] [stdout] 979 | if let Some(rest) = cur_func_name.strip_prefix("std::"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i64_add_flag` is never read [INFO] [stdout] --> src/test.rs:1021:33 [INFO] [stdout] | [INFO] [stdout] 1021 | ... i64_add_flag = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx1` [INFO] [stdout] --> src/test.rs:1137:51 [INFO] [stdout] | [INFO] [stdout] 1137 | Instr::Local(LocalOp::Get,idx1), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> src/test.rs:1138:51 [INFO] [stdout] | [INFO] [stdout] 1138 | Instr::Local(LocalOp::Get,idx2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx3` [INFO] [stdout] --> src/test.rs:1140:51 [INFO] [stdout] | [INFO] [stdout] 1140 | Instr::Local(LocalOp::Set,idx3)) => { // char mul [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:932:13 [INFO] [stdout] | [INFO] [stdout] 932 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:939:21 [INFO] [stdout] | [INFO] [stdout] 939 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/test.rs:968:10 [INFO] [stdout] | [INFO] [stdout] 968 | for (idx, func) in module.functions_mut() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_len` [INFO] [stdout] --> src/test.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | let result_len = func.type_.results.len(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:979:25 [INFO] [stdout] | [INFO] [stdout] 979 | if let Some(rest) = cur_func_name.strip_prefix("std::"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i64_add_flag` is never read [INFO] [stdout] --> src/test.rs:1021:33 [INFO] [stdout] | [INFO] [stdout] 1021 | ... i64_add_flag = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx1` [INFO] [stdout] --> src/test.rs:1137:51 [INFO] [stdout] | [INFO] [stdout] 1137 | Instr::Local(LocalOp::Get,idx1), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> src/test.rs:1138:51 [INFO] [stdout] | [INFO] [stdout] 1138 | Instr::Local(LocalOp::Get,idx2), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx3` [INFO] [stdout] --> src/test.rs:1140:51 [INFO] [stdout] | [INFO] [stdout] 1140 | Instr::Local(LocalOp::Set,idx3)) => { // char mul [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:1361:13 [INFO] [stdout] | [INFO] [stdout] 1361 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:1368:25 [INFO] [stdout] | [INFO] [stdout] 1368 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:1376:29 [INFO] [stdout] | [INFO] [stdout] 1376 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:1361:13 [INFO] [stdout] | [INFO] [stdout] 1361 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:1368:25 [INFO] [stdout] | [INFO] [stdout] 1368 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/test.rs:1376:29 [INFO] [stdout] | [INFO] [stdout] 1376 | if let Some(rest) = cur_func_name.strip_prefix("__"){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:1430:13 [INFO] [stdout] | [INFO] [stdout] 1430 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:1437:25 [INFO] [stdout] | [INFO] [stdout] 1437 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:1430:13 [INFO] [stdout] | [INFO] [stdout] 1430 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:1437:25 [INFO] [stdout] | [INFO] [stdout] 1437 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:1801:13 [INFO] [stdout] | [INFO] [stdout] 1801 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:1808:25 [INFO] [stdout] | [INFO] [stdout] 1808 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `proc_exit_idx` is assigned to, but never used [INFO] [stdout] --> src/test.rs:1801:13 [INFO] [stdout] | [INFO] [stdout] 1801 | let mut proc_exit_idx: Idx = Idx::::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_proc_exit_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proc_exit_idx` is never read [INFO] [stdout] --> src/test.rs:1808:25 [INFO] [stdout] | [INFO] [stdout] 1808 | proc_exit_idx = idx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blue`, `Cyan`, `Green`, `Purple`, `Red`, and `Yellow` [INFO] [stdout] --> src/bin/test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use ansi_term::Colour::{Red, Green, Yellow, Blue, Purple, Cyan}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^ ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log_error` [INFO] [stdout] --> src/bin/test.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! log_error { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blue`, `Cyan`, `Green`, `Purple`, `Red`, and `Yellow` [INFO] [stdout] --> src/bin/test.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use ansi_term::Colour::{Red, Green, Yellow, Blue, Purple, Cyan}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^ ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log_error` [INFO] [stdout] --> src/bin/test.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! log_error { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "36bf8bd468e08b1158a037d476561d5ee50c85da88236e8263e1fc0b0d50d374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36bf8bd468e08b1158a037d476561d5ee50c85da88236e8263e1fc0b0d50d374", kill_on_drop: false }` [INFO] [stdout] 36bf8bd468e08b1158a037d476561d5ee50c85da88236e8263e1fc0b0d50d374