[INFO] cloning repository https://github.com/portal-co/soda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/soda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fsoda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fsoda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a989c20e69c2627cb5f86bcc9dd2a8c454b3bf2 [INFO] checking portal-co/soda against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fsoda" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/portal-co/soda on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/portal-co/soda [INFO] finished tweaking git repo https://github.com/portal-co/soda [INFO] tweaked toml for git repo https://github.com/portal-co/soda written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/portal-co/soda 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/portal-co/waffle-.git` [INFO] [stderr] Updating git repository `https://github.com/wasm-forge/ic-wasi-polyfill.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tor-units v0.6.5 [INFO] [stderr] Downloaded caret v0.4.4 [INFO] [stderr] Downloaded tor-rtcompat v0.10.0 [INFO] [stderr] Downloaded tor-protover v0.6.0 [INFO] [stderr] Downloaded async_executors v0.7.0 [INFO] [stderr] Downloaded wasm-encoder v0.20.0 [INFO] [stderr] Downloaded async-native-tls v0.5.0 [INFO] [stderr] Downloaded derive_builder_macro_fork_arti v0.11.2 [INFO] [stderr] Downloaded tor-hsservice v0.8.0 [INFO] [stderr] Downloaded tor-checkable v0.8.0 [INFO] [stderr] Downloaded fluid-let v1.0.0 [INFO] [stderr] Downloaded tor-log-ratelim v0.3.0 [INFO] [stderr] Downloaded tor-async-utils v0.1.5 [INFO] [stderr] Downloaded merge-io v0.3.0 [INFO] [stderr] Downloaded fslock-guard v0.1.1 [INFO] [stderr] Downloaded pasts v0.14.3 [INFO] [stderr] Downloaded minicoroutine v0.1.3 [INFO] [stderr] Downloaded tor-basic-utils v0.8.0 [INFO] [stderr] Downloaded tor-linkspec v0.11.1 [INFO] [stderr] Downloaded derive_builder_fork_arti v0.11.2 [INFO] [stderr] Downloaded glob-match v0.2.1 [INFO] [stderr] Downloaded whisk v0.12.0 [INFO] [stderr] Downloaded wasm_runtime_layer v0.2.2 [INFO] [stderr] Downloaded arti-client v0.14.1 [INFO] [stderr] Downloaded tor-dirmgr v0.16.0 [INFO] [stderr] Downloaded postage v0.5.0 [INFO] [stderr] Downloaded tor-guardmgr v0.14.1 [INFO] [stderr] Downloaded ssh-key v0.6.4 [INFO] [stderr] Downloaded tor-netdoc v0.12.1 [INFO] [stderr] Downloaded tor-proto v0.16.1 [INFO] [stderr] Downloaded syn-serde v0.3.1 [INFO] [stderr] Downloaded stable-fs v0.2.0 [INFO] [stderr] Downloaded minicoro-sys v0.8.1 [INFO] [stderr] Downloaded embedded-io-adapters v0.6.1 [INFO] [stderr] Downloaded tor-consdiff v0.7.0 [INFO] [stderr] Downloaded tor-hsclient v0.10.0 [INFO] [stderr] Downloaded growable-bloom-filter v2.1.0 [INFO] [stderr] Downloaded k12 v0.3.0 [INFO] [stderr] Downloaded bounded-vec-deque v0.1.1 [INFO] [stderr] Downloaded tor-socksproto v0.10.0 [INFO] [stderr] Downloaded tor-chanmgr v0.14.1 [INFO] [stderr] Downloaded tor-circmgr v0.16.0 [INFO] [stderr] Downloaded tor-dirclient v0.14.0 [INFO] [stderr] Downloaded tor-keymgr v0.8.0 [INFO] [stderr] Downloaded typed-index-collections v3.1.0 [INFO] [stderr] Downloaded tor-netdir v0.12.1 [INFO] [stderr] Downloaded tor-persist v0.10.1 [INFO] [stderr] Downloaded tor-cell v0.16.1 [INFO] [stderr] Downloaded tor-cert v0.11.0 [INFO] [stderr] Downloaded tor-hscrypto v0.6.1 [INFO] [stderr] Downloaded tor-bytes v0.10.0 [INFO] [stderr] Downloaded derive_builder_core_fork_arti v0.11.2 [INFO] [stderr] Downloaded derive-adhoc-macros v0.7.3 [INFO] [stderr] Downloaded derive-adhoc v0.7.3 [INFO] [stderr] Downloaded pwd-grp v0.1.1 [INFO] [stderr] Downloaded fs-mistrust v0.7.8 [INFO] [stderr] Downloaded tor-llcrypto v0.7.0 [INFO] [stderr] Downloaded derive-adhoc-macros v0.8.2 [INFO] [stderr] Downloaded derive-adhoc v0.8.2 [INFO] [stderr] Downloaded tor-rtmock v0.13.0 [INFO] [stderr] Downloaded fslock-arti-fork v0.2.0 [INFO] [stderr] Downloaded tor-config v0.11.0 [INFO] [stderr] Downloaded safelog v0.3.5 [INFO] [stderr] Downloaded retry-error v0.5.1 [INFO] [stderr] Downloaded tor-error v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c19307b043ce9c1e00ac831d3f85e86a0995662f562c05ef9d41444c2abe1e5 [INFO] running `Command { std: "docker" "start" "-a" "5c19307b043ce9c1e00ac831d3f85e86a0995662f562c05ef9d41444c2abe1e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c19307b043ce9c1e00ac831d3f85e86a0995662f562c05ef9d41444c2abe1e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c19307b043ce9c1e00ac831d3f85e86a0995662f562c05ef9d41444c2abe1e5", kill_on_drop: false }` [INFO] [stdout] 5c19307b043ce9c1e00ac831d3f85e86a0995662f562c05ef9d41444c2abe1e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fef2099cc186db936e35747625eb27fd33e2dcacf1d39fae11da1a14fedb99 [INFO] running `Command { std: "docker" "start" "-a" "d4fef2099cc186db936e35747625eb27fd33e2dcacf1d39fae11da1a14fedb99", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking wasm-encoder v0.20.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking wasmparser v0.95.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking waffle v0.0.22 (https://github.com/portal-co/waffle-.git?branch=pr/changes2#89e48a71) [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling prettier-please v0.2.0 [INFO] [stderr] Checking simple-encryption v0.1.0 (/opt/rustwide/workdir/simple-encryption) [INFO] [stdout] warning: unused import: `curve25519_dalek::ristretto::CompressedRistretto` [INFO] [stdout] --> simple-encryption/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use curve25519_dalek::ristretto::CompressedRistretto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::SigningKey` [INFO] [stdout] --> simple-encryption/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ed25519_dalek::SigningKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> simple-encryption/src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{Rng, rngs::OsRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> simple-encryption/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut c = ChaCha20Poly1305::new_from_slice(&symmetric_key).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> simple-encryption/src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut tag = [0u8; 16]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> simple-encryption/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let tag = &message[32..48]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plaintext` [INFO] [stdout] --> simple-encryption/src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut plaintext = vec![0; ciphertext.len()]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> simple-encryption/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut plaintext = vec![0; ciphertext.len()]; [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] --> simple-encryption/src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut decrypter = ChaCha20Poly1305::new_from_slice(&symmetric_key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking more-waffle v0.1.0 (/opt/rustwide/workdir/more-waffle) [INFO] [stdout] warning: unused import: `PerEntity` [INFO] [stdout] --> more-waffle/src/tcore.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | entity::{EntityRef, PerEntity}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `backtrace`, `borrow::Cow`, `iter::empty` [INFO] [stdout] --> more-waffle/src/copying/module.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | backtrace, borrow::Cow, collections::{BTreeMap, BTreeSet, HashMap}, hash::Hash, iter::empty, ops::{Deref, DerefMut} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FuncDecl`, `FunctionBody`, `Operator`, `SignatureData`, `TableData` [INFO] [stdout] --> more-waffle/src/copying/module.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | ...ind, Func, FuncDecl, FunctionBody, Global, ImportKind, Memory, Module, Operator, Signature, SignatureData, Table, TableData, ValueDef}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrontendOptions`, `Func`, `MemoryArg`, `Memory`, `Module`, `Operator`, `SignatureData`, `Signature`, `Type`, `cfg::CFGInfo`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/copying/func.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, FrontendOptions, Func, FunctionBody, Memory, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, entity::EntityRef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `DerefMut`, `Deref` [INFO] [stdout] --> more-waffle/src/copying/block.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, BTreeSet}, ops::{Deref, DerefMut}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrontendOptions`, `Func`, `MemoryArg`, `Memory`, `Module`, `Operator`, `SignatureData`, `Signature`, `Type`, `cfg::CFGInfo`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/copying/block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, FrontendOptions, Func, FunctionBody, Memory, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `Func`, `ImportKind`, `Import`, `Signature`, `Table`, `Value`, `wasmparser::types::KebabStr` [INFO] [stdout] --> more-waffle/src/passes/unmem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | wasmparser::types::KebabStr, Block, ExportKind, Func, FuncDecl, FunctionBody, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, Operator, Signature, SignatureData, Table, Type, Value, V... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, `Value`, `wasmparser::types::KebabStr` [INFO] [stdout] --> more-waffle/src/passes/unswitch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | wasmparser::types::KebabStr, Block, ExportKind, Func, FuncDecl, Import, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | ImportKind, MemoryArg, Module, Operator, Signature, SignatureData, Table, Type, Value, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 7 | ValueDef, Memory, MemoryData, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlobalData` [INFO] [stdout] --> more-waffle/src/render.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use waffle::{ConstVal, GlobalData, InterpContext, MemoryData, MemorySegment, Module, TableData, Type}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> more-waffle/src/link.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `backtrace`, `default` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | array, backtrace, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] 4 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `values` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{locals, values}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signature`, `cfg::CFGInfo`, `passes::maxssa`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cfg::CFGInfo, passes::maxssa, pool::ListRef, Block, BlockTarget, Func, FunctionBody, Module, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 13 | Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `borrow::Cow` [INFO] [stdout] --> more-waffle/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `MemoryArg`, `Type`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, ExportKind, Func, FunctionBody, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 20 | Memory, MemoryArg, Module, Operator, Signature, SignatureData, Table, Terminator, Type, Value, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> more-waffle/src/copying/func.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 154 | panic!("value not found: {a} ({:?} {p})", basis.values[*a]); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 157 | *a [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> more-waffle/src/copying/func.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, entity::EntityRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/tcore.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let c = b.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/tcore.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | for (k, v) in b.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/tcore.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|(a, b)| *b) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/tcore.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut args = b.blocks[b.entry] [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/tcore.rs:281:44 [INFO] [stdout] | [INFO] [stdout] 281 | Terminator::ReturnCall { func, args } => Operator::Call { function_index: func }, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/tcore.rs:282:58 [INFO] [stdout] | [INFO] [stdout] 282 | Terminator::ReturnCallIndirect { sig, table, args } => Operator::CallIndirect { sig_index: sig, table_index: table }, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/tcore.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | f: Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> more-waffle/src/tcore.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | let ValueDef::Operator(o, vs, t) = df else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> more-waffle/src/tcore.rs:378:43 [INFO] [stdout] | [INFO] [stdout] 378 | let ValueDef::Operator(o, vs, t) = df else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mo` [INFO] [stdout] --> more-waffle/src/tcore.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | mo: &BTreeMap, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/tcore.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 318 | let Terminator::Return { mut values } = d.terminator.clone() else { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/module.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | if let ValueDef::Operator(a, vs, c) = &mut k { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/copying/module.rs:243:60 [INFO] [stdout] | [INFO] [stdout] 243 | waffle::Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/copying/module.rs:246:74 [INFO] [stdout] | [INFO] [stdout] 246 | waffle::Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> more-waffle/src/copying/func.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | ValueDef::Operator(o, l, t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/copying/func.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> more-waffle/src/copying/func.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | Terminator::ReturnCall { func, args } => for a in args { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> more-waffle/src/copying/func.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> more-waffle/src/copying/func.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/func.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | mut m: impl FnMut(&mut Value), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/copying/func.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/func.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> more-waffle/src/copying/func.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let n = f.add_value(ValueDef::None); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> more-waffle/src/copying/func.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(n) = m.get(&*v) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> more-waffle/src/copying/func.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let g = f as *mut FunctionBody; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/copying/func.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/func.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 151 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/func.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | mut k: impl FnMut(&mut Block), [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] --> more-waffle/src/copying/func.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut basis = basis.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/copying/block.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn tweak_target(f: &mut FunctionBody, x: &mut BlockTarget, mut m: impl FnMut(&mut Value)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> more-waffle/src/copying/block.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Terminator::ReturnCall { func, args } => for a in args { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> more-waffle/src/copying/block.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> more-waffle/src/copying/block.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/block.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | mut m: impl FnMut(&mut Value), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let tz = b.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | if let ValueDef::Operator(a, b, c) = &mut w { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/passes/reorder_funs.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | if let Terminator::ReturnCall { func, args } = &mut k.terminator { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_index` [INFO] [stdout] --> more-waffle/src/passes/splice.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | if let Operator::Call { function_index } = o{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `function_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/passes/splice.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | for (k, v) in b.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/unswitch.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | if let Terminator::Br { target } = &k.terminator { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let k = f.blocks.get_mut(b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn warp(&mut self, a: Vec) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pv` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | for (pk, (pt, pv)) in f.blocks[*b] [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> more-waffle/src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | table_index, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | Operator::I32Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | Operator::I64Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | Operator::F32Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | Operator::F64Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | Operator::I32Load8S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | Operator::I32Load8U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | Operator::I32Load16S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | Operator::I32Load16U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | Operator::I64Load8S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | Operator::I64Load8U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | Operator::I64Load16S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | Operator::I64Load16U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | Operator::I64Load32S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | Operator::I64Load32U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | Operator::I32Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | Operator::I64Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | Operator::F32Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | Operator::F64Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | Operator::I32Store8 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | Operator::I32Store16 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Operator::I64Store8 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | Operator::I64Store16 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | Operator::I64Store32 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | Operator::MemorySize { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | Operator::MemoryGrow { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_mem` [INFO] [stdout] --> more-waffle/src/lib.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | Operator::MemoryCopy { dst_mem, src_mem } => 2, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `dst_mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_mem` [INFO] [stdout] --> more-waffle/src/lib.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | Operator::MemoryCopy { dst_mem, src_mem } => 2, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `src_mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | Operator::MemoryFill { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table_cache` is never read [INFO] [stdout] --> more-waffle/src/copying/module.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | table_cache: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Memory` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_memory` [INFO] [stdout] ... [INFO] [stdout] 270 | translator!(Memory); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Table` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_table` [INFO] [stdout] ... [INFO] [stdout] 271 | translator!(Table); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Global` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_global` [INFO] [stdout] ... [INFO] [stdout] 272 | translator!(Global); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Func` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_func` [INFO] [stdout] ... [INFO] [stdout] 273 | translator!(Func); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | drop(k); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BlockDef` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minicoro-sys v0.8.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pasts v0.14.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling expander v2.1.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking minicoroutine v0.1.3 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling embedded-io-adapters v0.6.1 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stdout] warning: unused import: `curve25519_dalek::ristretto::CompressedRistretto` [INFO] [stdout] --> simple-encryption/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use curve25519_dalek::ristretto::CompressedRistretto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::SigningKey` [INFO] [stdout] --> simple-encryption/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ed25519_dalek::SigningKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> simple-encryption/src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{Rng, rngs::OsRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> simple-encryption/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut c = ChaCha20Poly1305::new_from_slice(&symmetric_key).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> simple-encryption/src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut tag = [0u8; 16]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> simple-encryption/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let tag = &message[32..48]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plaintext` [INFO] [stdout] --> simple-encryption/src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut plaintext = vec![0; ciphertext.len()]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> simple-encryption/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut plaintext = vec![0; ciphertext.len()]; [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] --> simple-encryption/src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut decrypter = ChaCha20Poly1305::new_from_slice(&symmetric_key).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling candid v0.10.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking csyncify v0.1.0 (/opt/rustwide/workdir/csyncify) [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stdout] warning: unused import: `Loop` [INFO] [stdout] --> csyncify/src/lib.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use pasts::{prelude::*, Loop}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> csyncify/src/lib.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn block_on_any_in(mut r: CorRef, a: impl Future + Send) -> W { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PerEntity` [INFO] [stdout] --> more-waffle/src/tcore.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | entity::{EntityRef, PerEntity}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `backtrace`, `borrow::Cow`, `iter::empty` [INFO] [stdout] --> more-waffle/src/copying/module.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | backtrace, borrow::Cow, collections::{BTreeMap, BTreeSet, HashMap}, hash::Hash, iter::empty, ops::{Deref, DerefMut} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FuncDecl`, `FunctionBody`, `Operator`, `SignatureData`, `TableData` [INFO] [stdout] --> more-waffle/src/copying/module.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | ...ind, Func, FuncDecl, FunctionBody, Global, ImportKind, Memory, Module, Operator, Signature, SignatureData, Table, TableData, ValueDef}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrontendOptions`, `Func`, `MemoryArg`, `Memory`, `Module`, `Operator`, `SignatureData`, `Signature`, `Type`, `cfg::CFGInfo`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/copying/func.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, FrontendOptions, Func, FunctionBody, Memory, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, entity::EntityRef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `DerefMut`, `Deref` [INFO] [stdout] --> more-waffle/src/copying/block.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, BTreeSet}, ops::{Deref, DerefMut}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrontendOptions`, `Func`, `MemoryArg`, `Memory`, `Module`, `Operator`, `SignatureData`, `Signature`, `Type`, `cfg::CFGInfo`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/copying/block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, FrontendOptions, Func, FunctionBody, Memory, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `Func`, `ImportKind`, `Import`, `Signature`, `Table`, `Value`, `wasmparser::types::KebabStr` [INFO] [stdout] --> more-waffle/src/passes/unmem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | wasmparser::types::KebabStr, Block, ExportKind, Func, FuncDecl, FunctionBody, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, Operator, Signature, SignatureData, Table, Type, Value, V... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, `Value`, `wasmparser::types::KebabStr` [INFO] [stdout] --> more-waffle/src/passes/unswitch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | wasmparser::types::KebabStr, Block, ExportKind, Func, FuncDecl, Import, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | ImportKind, MemoryArg, Module, Operator, Signature, SignatureData, Table, Type, Value, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 7 | ValueDef, Memory, MemoryData, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlobalData` [INFO] [stdout] --> more-waffle/src/render.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use waffle::{ConstVal, GlobalData, InterpContext, MemoryData, MemorySegment, Module, TableData, Type}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> more-waffle/src/link.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `backtrace`, `default` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | array, backtrace, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] 4 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `values` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{locals, values}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signature`, `cfg::CFGInfo`, `passes::maxssa`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cfg::CFGInfo, passes::maxssa, pool::ListRef, Block, BlockTarget, Func, FunctionBody, Module, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 13 | Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `borrow::Cow` [INFO] [stdout] --> more-waffle/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `MemoryArg`, `Type`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, ExportKind, Func, FunctionBody, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 20 | Memory, MemoryArg, Module, Operator, Signature, SignatureData, Table, Terminator, Type, Value, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> more-waffle/src/copying/func.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 154 | panic!("value not found: {a} ({:?} {p})", basis.values[*a]); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 157 | *a [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> more-waffle/src/copying/func.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, entity::EntityRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/tcore.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let c = b.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/tcore.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | for (k, v) in b.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/tcore.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|(a, b)| *b) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/tcore.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut args = b.blocks[b.entry] [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/tcore.rs:281:44 [INFO] [stdout] | [INFO] [stdout] 281 | Terminator::ReturnCall { func, args } => Operator::Call { function_index: func }, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/tcore.rs:282:58 [INFO] [stdout] | [INFO] [stdout] 282 | Terminator::ReturnCallIndirect { sig, table, args } => Operator::CallIndirect { sig_index: sig, table_index: table }, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/tcore.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | f: Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> more-waffle/src/tcore.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | let ValueDef::Operator(o, vs, t) = df else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> more-waffle/src/tcore.rs:378:43 [INFO] [stdout] | [INFO] [stdout] 378 | let ValueDef::Operator(o, vs, t) = df else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mo` [INFO] [stdout] --> more-waffle/src/tcore.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | mo: &BTreeMap, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/tcore.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 318 | let Terminator::Return { mut values } = d.terminator.clone() else { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/module.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | if let ValueDef::Operator(a, vs, c) = &mut k { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/copying/module.rs:243:60 [INFO] [stdout] | [INFO] [stdout] 243 | waffle::Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/copying/module.rs:246:74 [INFO] [stdout] | [INFO] [stdout] 246 | waffle::Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> more-waffle/src/copying/func.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | ValueDef::Operator(o, l, t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking merge-io v0.3.0 [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/copying/func.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> more-waffle/src/copying/func.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | Terminator::ReturnCall { func, args } => for a in args { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> more-waffle/src/copying/func.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> more-waffle/src/copying/func.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/func.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | mut m: impl FnMut(&mut Value), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/copying/func.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/func.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> more-waffle/src/copying/func.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let n = f.add_value(ValueDef::None); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> more-waffle/src/copying/func.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(n) = m.get(&*v) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> more-waffle/src/copying/func.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let g = f as *mut FunctionBody; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/copying/func.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/func.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 151 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/func.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | mut k: impl FnMut(&mut Block), [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] --> more-waffle/src/copying/func.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut basis = basis.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/copying/block.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn tweak_target(f: &mut FunctionBody, x: &mut BlockTarget, mut m: impl FnMut(&mut Value)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> more-waffle/src/copying/block.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Terminator::ReturnCall { func, args } => for a in args { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> more-waffle/src/copying/block.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> more-waffle/src/copying/block.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/block.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | mut m: impl FnMut(&mut Value), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let tz = b.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | if let ValueDef::Operator(a, b, c) = &mut w { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/passes/reorder_funs.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | if let Terminator::ReturnCall { func, args } = &mut k.terminator { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_index` [INFO] [stdout] --> more-waffle/src/passes/splice.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | if let Operator::Call { function_index } = o{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `function_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/passes/splice.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | for (k, v) in b.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/unswitch.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | if let Terminator::Br { target } = &k.terminator { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let k = f.blocks.get_mut(b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn warp(&mut self, a: Vec) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pv` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | for (pk, (pt, pv)) in f.blocks[*b] [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> more-waffle/src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | table_index, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | Operator::I32Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | Operator::I64Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | Operator::F32Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | Operator::F64Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | Operator::I32Load8S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | Operator::I32Load8U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | Operator::I32Load16S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | Operator::I32Load16U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | Operator::I64Load8S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | Operator::I64Load8U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | Operator::I64Load16S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | Operator::I64Load16U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | Operator::I64Load32S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | Operator::I64Load32U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | Operator::I32Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | Operator::I64Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | Operator::F32Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | Operator::F64Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | Operator::I32Store8 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | Operator::I32Store16 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Operator::I64Store8 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | Operator::I64Store16 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | Operator::I64Store32 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | Operator::MemorySize { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | Operator::MemoryGrow { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_mem` [INFO] [stdout] --> more-waffle/src/lib.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | Operator::MemoryCopy { dst_mem, src_mem } => 2, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `dst_mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_mem` [INFO] [stdout] --> more-waffle/src/lib.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | Operator::MemoryCopy { dst_mem, src_mem } => 2, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `src_mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | Operator::MemoryFill { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking half v2.4.0 [INFO] [stdout] warning: field `table_cache` is never read [INFO] [stdout] --> more-waffle/src/copying/module.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | table_cache: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Memory` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_memory` [INFO] [stdout] ... [INFO] [stdout] 270 | translator!(Memory); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Table` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_table` [INFO] [stdout] ... [INFO] [stdout] 271 | translator!(Table); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Global` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_global` [INFO] [stdout] ... [INFO] [stdout] 272 | translator!(Global); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Func` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_func` [INFO] [stdout] ... [INFO] [stdout] 273 | translator!(Func); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | drop(k); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BlockDef` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling wars-core v0.1.0 (/opt/rustwide/workdir/wars-core) [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> wars-core/src/lib.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, path::PathBuf, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::Index` [INFO] [stdout] --> wars-core/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::Index; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_macro_input` [INFO] [stdout] --> wars-core/src/lib.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{parse::Parse, parse_macro_input, LitStr, Token}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> wars-core/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Module, Signature, SignatureData, Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `z` should have an upper camel case name [INFO] [stdout] --> wars-core/src/lib.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub struct z { [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `Z` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> wars-core/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> wars-core/src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | m: &Module, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> wars-core/src/lib.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | for (pi, x) in m.signatures[s].clone().params.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> wars-core/src/lib.rs:448:26 [INFO] [stdout] | [INFO] [stdout] 448 | for (pi, x) in m.signatures[s].clone().params.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-core/src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mut wrap = if opts.r#async { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-core/src/lib.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | let mut stat = new_state_enum(None, f, ident.clone(), &m); [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] --> wars-core/src/lib.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | let mut stat = new_state_enum(Some(&b), f, ident.clone(), &m); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> wars-core/src/lib.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | let n = mangle(m, f, a); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> wars-core/src/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | let s = render_sig( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> wars-core/src/lib.rs:608:15 [INFO] [stdout] | [INFO] [stdout] 608 | for (pi, (t, v)) in b.blocks[a].params.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig_index` [INFO] [stdout] --> wars-core/src/lib.rs:731:25 [INFO] [stdout] | [INFO] [stdout] 731 | sig_index, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `sig_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:732:25 [INFO] [stdout] | [INFO] [stdout] 732 | table_index, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-core/src/lib.rs:737:53 [INFO] [stdout] | [INFO] [stdout] 737 | waffle::Operator::TypedSelect { ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1240:50 [INFO] [stdout] | [INFO] [stdout] 1240 | waffle::Operator::TableGet { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1243:50 [INFO] [stdout] | [INFO] [stdout] 1243 | waffle::Operator::TableSet { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1246:51 [INFO] [stdout] | [INFO] [stdout] 1246 | waffle::Operator::TableGrow { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1249:51 [INFO] [stdout] | [INFO] [stdout] 1249 | waffle::Operator::TableSize { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrap` [INFO] [stdout] --> wars-core/src/lib.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | wrap: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `states` [INFO] [stdout] --> wars-core/src/lib.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 588 | states: &mut Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> wars-core/src/lib.rs:1310:9 [INFO] [stdout] | [INFO] [stdout] 1310 | b: &FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> wars-core/src/lib.rs:1312:9 [INFO] [stdout] | [INFO] [stdout] 1312 | m: &Module, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking indexmap-nostd v0.4.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking wasmi_core v0.13.0 [INFO] [stderr] Checking wasmparser-nostd v0.100.1 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ic-cdk v0.12.1 [INFO] [stderr] Checking axle v0.1.0 (/opt/rustwide/workdir/axle) [INFO] [stderr] Checking embedded-io-convert v0.1.0 (/opt/rustwide/workdir/embedded-io-convert) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> embedded-io-convert/src/read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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::error::Error` [INFO] [stdout] --> embedded-io-convert/src/write.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> embedded-io-convert/src/write.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{Future, AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> embedded-io-convert/src/seek.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> embedded-io-convert/src/seek.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_io_async::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite` [INFO] [stdout] --> embedded-io-convert/src/seek.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{AsyncRead, AsyncSeek, AsyncWrite, Future}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ic-stable-structures v0.6.3 [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> embedded-io-convert/src/write.rs:96:60 [INFO] [stdout] | [INFO] [stdout] 96 | (inner, res.map_err(|e|e.into()).map(|a|0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> embedded-io-convert/src/write.rs:130:41 [INFO] [stdout] | [INFO] [stdout] 130 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking waffle-ic v0.1.0 (/opt/rustwide/workdir/waffle-ic) [INFO] [stderr] Checking quinify2 v0.1.0 (/opt/rustwide/workdir/quinify2) [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> quinify2/src/lib.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::BTreeMap, io::Write, iter::empty}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Table`, `Value`, `wasmparser::types::KebabStr` [INFO] [stdout] --> quinify2/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | wasmparser::types::KebabStr, Block, ExportKind, Func, FuncDecl, FunctionBody, Import, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 11 | ImportKind, Memory, MemoryArg, MemoryData, Module, Operator, Signature, SignatureData, Table, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 12 | Type, Value, ValueDef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> quinify2/src/lib.rs:52:58 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn quin_iter(m: &mut Module, x: impl Iterator, q: Func) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - pub fn quin_iter(m: &mut Module, x: impl Iterator, q: Func) { [INFO] [stdout] 52 + pub fn quin_iter(m: &mut Module, x: impl Iterator, q: Func) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> quinify2/src/lib.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn metaquin_iter(m: &mut Module, x: &[(u8)], q: Func) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - pub fn metaquin_iter(m: &mut Module, x: &[(u8)], q: Func) { [INFO] [stdout] 87 + pub fn metaquin_iter(m: &mut Module, x: &[u8], q: Func) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quin` is never constructed [INFO] [stdout] --> quinify2/src/lib.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct Quin<'a, 'b> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling function_name-proc-macro v0.3.0 [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars v0.1.0 (/opt/rustwide/workdir/wars) [INFO] [stderr] Checking wasmi_arena v0.4.1 [INFO] [stdout] warning: unused import: `litrs::StringLit` [INFO] [stdout] --> wars/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use litrs::StringLit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::Ident` [INFO] [stdout] --> wars/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use proc_macro2::Ident; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LitStr`, `Token`, `parse::Parse` [INFO] [stdout] --> wars/src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{parse::Parse, parse_macro_input, LitStr, Token}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking function_name v0.3.0 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stdout] warning: unused import: `PerEntity` [INFO] [stdout] --> more-waffle/src/tcore.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | entity::{EntityRef, PerEntity}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `backtrace`, `borrow::Cow`, `iter::empty` [INFO] [stdout] --> more-waffle/src/copying/module.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | backtrace, borrow::Cow, collections::{BTreeMap, BTreeSet, HashMap}, hash::Hash, iter::empty, ops::{Deref, DerefMut} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FuncDecl`, `FunctionBody`, `Operator`, `SignatureData`, `TableData` [INFO] [stdout] --> more-waffle/src/copying/module.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | ...ind, Func, FuncDecl, FunctionBody, Global, ImportKind, Memory, Module, Operator, Signature, SignatureData, Table, TableData, ValueDef}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrontendOptions`, `Func`, `MemoryArg`, `Memory`, `Module`, `Operator`, `SignatureData`, `Signature`, `Type`, `cfg::CFGInfo`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/copying/func.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, FrontendOptions, Func, FunctionBody, Memory, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, entity::EntityRef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `DerefMut`, `Deref` [INFO] [stdout] --> more-waffle/src/copying/block.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, BTreeSet}, ops::{Deref, DerefMut}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrontendOptions`, `Func`, `MemoryArg`, `Memory`, `Module`, `Operator`, `SignatureData`, `Signature`, `Type`, `cfg::CFGInfo`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/copying/block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, FrontendOptions, Func, FunctionBody, Memory, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `Func`, `ImportKind`, `Import`, `Signature`, `Table`, `Value`, `wasmparser::types::KebabStr` [INFO] [stdout] --> more-waffle/src/passes/unmem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | wasmparser::types::KebabStr, Block, ExportKind, Func, FuncDecl, FunctionBody, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, Operator, Signature, SignatureData, Table, Type, Value, V... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, `Value`, `wasmparser::types::KebabStr` [INFO] [stdout] --> more-waffle/src/passes/unswitch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | wasmparser::types::KebabStr, Block, ExportKind, Func, FuncDecl, Import, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | ImportKind, MemoryArg, Module, Operator, Signature, SignatureData, Table, Type, Value, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 7 | ValueDef, Memory, MemoryData, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlobalData` [INFO] [stdout] --> more-waffle/src/render.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use waffle::{ConstVal, GlobalData, InterpContext, MemoryData, MemorySegment, Module, TableData, Type}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> more-waffle/src/link.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `backtrace`, `default` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | array, backtrace, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] 4 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `values` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{locals, values}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signature`, `cfg::CFGInfo`, `passes::maxssa`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cfg::CFGInfo, passes::maxssa, pool::ListRef, Block, BlockTarget, Func, FunctionBody, Module, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 13 | Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `borrow::Cow` [INFO] [stdout] --> more-waffle/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `MemoryArg`, `Type`, `pool::ListRef` [INFO] [stdout] --> more-waffle/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, pool::ListRef, Block, BlockTarget, ExportKind, Func, FunctionBody, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 20 | Memory, MemoryArg, Module, Operator, Signature, SignatureData, Table, Terminator, Type, Value, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> more-waffle/src/copying/func.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 154 | panic!("value not found: {a} ({:?} {p})", basis.values[*a]); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 157 | *a [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> more-waffle/src/copying/func.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, Value, ValueDef, entity::EntityRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/tcore.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let c = b.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/tcore.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | for (k, v) in b.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/tcore.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|(a, b)| *b) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/tcore.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut args = b.blocks[b.entry] [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/tcore.rs:281:44 [INFO] [stdout] | [INFO] [stdout] 281 | Terminator::ReturnCall { func, args } => Operator::Call { function_index: func }, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/tcore.rs:282:58 [INFO] [stdout] | [INFO] [stdout] 282 | Terminator::ReturnCallIndirect { sig, table, args } => Operator::CallIndirect { sig_index: sig, table_index: table }, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/tcore.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | f: Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> more-waffle/src/tcore.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | let ValueDef::Operator(o, vs, t) = df else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> more-waffle/src/tcore.rs:378:43 [INFO] [stdout] | [INFO] [stdout] 378 | let ValueDef::Operator(o, vs, t) = df else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mo` [INFO] [stdout] --> more-waffle/src/tcore.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | mo: &BTreeMap, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/tcore.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 318 | let Terminator::Return { mut values } = d.terminator.clone() else { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/module.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | if let ValueDef::Operator(a, vs, c) = &mut k { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/copying/module.rs:243:60 [INFO] [stdout] | [INFO] [stdout] 243 | waffle::Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/copying/module.rs:246:74 [INFO] [stdout] | [INFO] [stdout] 246 | waffle::Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> more-waffle/src/copying/func.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | ValueDef::Operator(o, l, t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/copying/func.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> more-waffle/src/copying/func.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | Terminator::ReturnCall { func, args } => for a in args { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> more-waffle/src/copying/func.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> more-waffle/src/copying/func.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking stable-fs v0.2.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/func.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | mut m: impl FnMut(&mut Value), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/copying/func.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/func.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> more-waffle/src/copying/func.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let n = f.add_value(ValueDef::None); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> more-waffle/src/copying/func.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(n) = m.get(&*v) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> more-waffle/src/copying/func.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let g = f as *mut FunctionBody; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/copying/func.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/copying/func.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 151 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/func.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | mut k: impl FnMut(&mut Block), [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] --> more-waffle/src/copying/func.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut basis = basis.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> more-waffle/src/copying/block.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn tweak_target(f: &mut FunctionBody, x: &mut BlockTarget, mut m: impl FnMut(&mut Value)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> more-waffle/src/copying/block.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | Terminator::ReturnCall { func, args } => for a in args { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> more-waffle/src/copying/block.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> more-waffle/src/copying/block.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | Terminator::ReturnCallIndirect { sig, table, args } => for a in args { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> more-waffle/src/copying/block.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | mut m: impl FnMut(&mut Value), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let tz = b.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> more-waffle/src/passes/mem_fusing.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | if let ValueDef::Operator(a, b, c) = &mut w { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> more-waffle/src/passes/reorder_funs.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | if let Terminator::ReturnCall { func, args } = &mut k.terminator { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_index` [INFO] [stdout] --> more-waffle/src/passes/splice.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | if let Operator::Call { function_index } = o{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `function_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/passes/splice.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | for (k, v) in b.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> more-waffle/src/passes/unswitch.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | if let Terminator::Br { target } = &k.terminator { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let k = f.blocks.get_mut(b).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | fn warp(&mut self, a: Vec) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pv` [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | for (pk, (pt, pv)) in f.blocks[*b] [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> more-waffle/src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | table_index, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | Operator::I32Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | Operator::I64Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | Operator::F32Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | Operator::F64Load { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | Operator::I32Load8S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | Operator::I32Load8U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | Operator::I32Load16S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | Operator::I32Load16U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | Operator::I64Load8S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | Operator::I64Load8U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | Operator::I64Load16S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | Operator::I64Load16U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | Operator::I64Load32S { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | Operator::I64Load32U { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | Operator::I32Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | Operator::I64Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | Operator::F32Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | Operator::F64Store { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | Operator::I32Store8 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | Operator::I32Store16 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | Operator::I64Store8 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | Operator::I64Store16 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> more-waffle/src/lib.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | Operator::I64Store32 { memory } => 1, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `memory: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | Operator::MemorySize { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | Operator::MemoryGrow { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_mem` [INFO] [stdout] --> more-waffle/src/lib.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | Operator::MemoryCopy { dst_mem, src_mem } => 2, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `dst_mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_mem` [INFO] [stdout] --> more-waffle/src/lib.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | Operator::MemoryCopy { dst_mem, src_mem } => 2, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `src_mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> more-waffle/src/lib.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | Operator::MemoryFill { mem } => 1, [INFO] [stdout] | ^^^ help: try ignoring the field: `mem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table_cache` is never read [INFO] [stdout] --> more-waffle/src/copying/module.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | table_cache: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Memory` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_memory` [INFO] [stdout] ... [INFO] [stdout] 270 | translator!(Memory); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Table` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_table` [INFO] [stdout] ... [INFO] [stdout] 271 | translator!(Table); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Global` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_global` [INFO] [stdout] ... [INFO] [stdout] 272 | translator!(Global); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Func` should have a snake case name [INFO] [stdout] --> more-waffle/src/copying/module.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_func` [INFO] [stdout] ... [INFO] [stdout] 273 | translator!(Func); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> more-waffle/src/obfuscate/cff.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | drop(k); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BlockDef` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasmi v0.31.2 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking ic-wasi-polyfill v0.3.17 (https://github.com/wasm-forge/ic-wasi-polyfill.git#870e2cd0) [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> wars-core/src/lib.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, path::PathBuf, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::Index` [INFO] [stdout] --> wars-core/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::Index; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_macro_input` [INFO] [stdout] --> wars-core/src/lib.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{parse::Parse, parse_macro_input, LitStr, Token}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> wars-core/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Module, Signature, SignatureData, Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `z` should have an upper camel case name [INFO] [stdout] --> wars-core/src/lib.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub struct z { [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `Z` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking syn-serde v0.3.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nlj-core v0.1.0 (/opt/rustwide/workdir/neeluj/nlj-core) [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | wars::wars!("target/wasm32-unknown-unknown/release/nlj_x.wasm" => XCore: X "ar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wars::wars` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | wars::wars!("target/wasm32-unknown-unknown/release/nlj_x.wasm" => XCore: X "ar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wars::wars` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> wars-core/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> wars-core/src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | m: &Module, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> wars-core/src/lib.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | for (pi, x) in m.signatures[s].clone().params.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> wars-core/src/lib.rs:448:26 [INFO] [stdout] | [INFO] [stdout] 448 | for (pi, x) in m.signatures[s].clone().params.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-core/src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mut wrap = if opts.r#async { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-core/src/lib.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | let mut stat = new_state_enum(None, f, ident.clone(), &m); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XCoreData` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | core: XCoreData, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `XCore` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let (m,) = ::malloc(self,a.len() as u32).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-core/src/lib.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | let mut stat = new_state_enum(Some(&b), f, ident.clone(), &m); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `XCore` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | ::memory(self)[(m as usize)..][..a.len()].copy_from_slice(&a); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `XCore` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let (l,) = ::len_of(self,a).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `XCore` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | let n = ::memory(self)[(a as usize)..][..(l as usize)].to_vec(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `XCore` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | ::free(self,a).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `XCore` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | impl XCore for T{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XCoreData` in this scope [INFO] [stdout] --> neeluj/nlj-core/src/wars.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn z(&mut self) -> &mut XCoreData{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nlj-core` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> wars-core/src/lib.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | let n = mangle(m, f, a); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> wars-core/src/lib.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | let s = render_sig( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> wars-core/src/lib.rs:608:15 [INFO] [stdout] | [INFO] [stdout] 608 | for (pi, (t, v)) in b.blocks[a].params.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig_index` [INFO] [stdout] --> wars-core/src/lib.rs:731:25 [INFO] [stdout] | [INFO] [stdout] 731 | sig_index, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `sig_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:732:25 [INFO] [stdout] | [INFO] [stdout] 732 | table_index, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-core/src/lib.rs:737:53 [INFO] [stdout] | [INFO] [stdout] 737 | waffle::Operator::TypedSelect { ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1240:50 [INFO] [stdout] | [INFO] [stdout] 1240 | waffle::Operator::TableGet { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1243:50 [INFO] [stdout] | [INFO] [stdout] 1243 | waffle::Operator::TableSet { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1246:51 [INFO] [stdout] | [INFO] [stdout] 1246 | waffle::Operator::TableGrow { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_index` [INFO] [stdout] --> wars-core/src/lib.rs:1249:51 [INFO] [stdout] | [INFO] [stdout] 1249 | waffle::Operator::TableSize { table_index } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `table_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrap` [INFO] [stdout] --> wars-core/src/lib.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | wrap: TokenStream, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `states` [INFO] [stdout] --> wars-core/src/lib.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 588 | states: &mut Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> wars-core/src/lib.rs:1310:9 [INFO] [stdout] | [INFO] [stdout] 1310 | b: &FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> wars-core/src/lib.rs:1312:9 [INFO] [stdout] | [INFO] [stdout] 1312 | m: &Module, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d4fef2099cc186db936e35747625eb27fd33e2dcacf1d39fae11da1a14fedb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fef2099cc186db936e35747625eb27fd33e2dcacf1d39fae11da1a14fedb99", kill_on_drop: false }` [INFO] [stdout] d4fef2099cc186db936e35747625eb27fd33e2dcacf1d39fae11da1a14fedb99