[INFO] cloning repository https://github.com/portal-co/pit [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/pit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20e31d2198ee45667bc543bd38be1867f9a5e3da [INFO] checking portal-co/pit against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpit" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/portal-co/pit on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/portal-co/pit [INFO] finished tweaking git repo https://github.com/portal-co/pit [INFO] tweaked toml for git repo https://github.com/portal-co/pit written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/portal-co/pit 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 061e201805b8a8d8ed2f41e6d6772383b7e9acda8782d5c348f0238e45eac064 [INFO] running `Command { std: "docker" "start" "-a" "061e201805b8a8d8ed2f41e6d6772383b7e9acda8782d5c348f0238e45eac064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "061e201805b8a8d8ed2f41e6d6772383b7e9acda8782d5c348f0238e45eac064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061e201805b8a8d8ed2f41e6d6772383b7e9acda8782d5c348f0238e45eac064", kill_on_drop: false }` [INFO] [stdout] 061e201805b8a8d8ed2f41e6d6772383b7e9acda8782d5c348f0238e45eac064 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd1411ed8dc74bd893df04684f75cacbac855a5d956c6216921fc0a09206db83 [INFO] running `Command { std: "docker" "start" "-a" "dd1411ed8dc74bd893df04684f75cacbac855a5d956c6216921fc0a09206db83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking arena-traits v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking macro_rules_attribute v0.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking never-say-never v6.6.666 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking polonius-the-crab v0.2.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking cfg-traits v0.3.0-alpha.0 [INFO] [stderr] Checking cfg-traits v0.2.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ssa-traits v0.2.0 [INFO] [stderr] Compiling quasiquote-proc-macro v0.1.0 [INFO] [stderr] Checking quasiquote v0.1.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking wasm-encoder v0.212.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking wasmparser v0.77.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking spdx v0.10.6 [INFO] [stderr] Checking wasm-encoder v0.41.2 [INFO] [stderr] Checking wasmtime-component-util v18.0.4 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling ext-trait-proc_macros v1.0.1 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling lending-iterator-proc_macros v0.1.7 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking ext-trait v1.0.1 [INFO] [stderr] Checking extension-traits v1.0.1 [INFO] [stderr] Compiling walrus-macro v0.19.0 [INFO] [stderr] Compiling externref-macro v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Checking nougat v0.2.4 [INFO] [stderr] Checking lending-iterator v0.1.7 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking walrus v0.19.0 [INFO] [stderr] Checking ssa-traits v0.3.0-alpha.0 [INFO] [stderr] Checking wasm_runtime_layer v0.4.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tpit-rt v0.3.2 (/opt/rustwide/workdir/tpit-rt) [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stdout] warning: unused imports: `Arc`, `AtomicUsize`, and `Ordering` [INFO] [stdout] --> tpit-rt/src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 7 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `void` is never used [INFO] [stdout] --> tpit-rt/src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | fn void(a: u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `AtomicUsize`, and `Ordering` [INFO] [stdout] --> tpit-rt/src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 7 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `void` is never used [INFO] [stdout] --> tpit-rt/src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | fn void(a: u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pit-core v0.3.2 (/opt/rustwide/workdir/pit-core) [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stdout] warning: unused imports: `alpha1` and `is_not` [INFO] [stdout] --> pit-core/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | character::complete::{alpha1, alphanumeric1, char, multispace0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1` and `is_not` [INFO] [stdout] --> pit-core/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | character::complete::{alpha1, alphanumeric1, char, multispace0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pit-core/src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 136 | / match a.strip_prefix("R") { [INFO] [stdout] 137 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 176 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pit-core/src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 136 | / match a.strip_prefix("R") { [INFO] [stdout] 137 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 176 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking externref v0.2.0 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pit-core/src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | write!(s, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pit-core/src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | write!(s, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pit-rust-guest v0.3.2 (/opt/rustwide/workdir/pit-rust-guest) [INFO] [stderr] Checking pit-c v0.3.2 (/opt/rustwide/workdir/pit-c) [INFO] [stderr] Checking pit-teavm v0.3.2 (/opt/rustwide/workdir/pit-teavm) [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> pit-teavm/src/lib.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:89:64 [INFO] [stdout] | [INFO] [stdout] 89 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 105 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:124:64 [INFO] [stdout] | [INFO] [stdout] 124 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:139:64 [INFO] [stdout] | [INFO] [stdout] 139 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:102:64 [INFO] [stdout] | [INFO] [stdout] 102 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pit-basic v0.3.2 (/opt/rustwide/workdir/pit-basic) [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> pit-teavm/src/lib.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [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] --> pit-rust-guest/src/lib.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | let mut c = format_ident!("p{a}"); [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] [stderr] Checking pit-rust-externref v0.3.2 (/opt/rustwide/workdir/pit-rust-externref) [INFO] [stdout] warning: value assigned to `generics2Str` is never read [INFO] [stdout] --> pit-teavm/src/lib.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | generics2Str = format!("[{}]", generics2Str); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generics2RStr` is never read [INFO] [stdout] --> pit-teavm/src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | generics2RStr = format!("[{}]", generics2RStr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_renders` [INFO] [stdout] --> pit-teavm/src/lib.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let (is2, instance_renders) = do_instances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance_renders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 231 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-rust-guest/src/lib.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let mut c = format_ident!("p{a}"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:463:29 [INFO] [stdout] | [INFO] [stdout] 463 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:464:29 [INFO] [stdout] | [INFO] [stdout] 464 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:513:33 [INFO] [stdout] | [INFO] [stdout] 513 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:514:33 [INFO] [stdout] | [INFO] [stdout] 514 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:515:33 [INFO] [stdout] | [INFO] [stdout] 515 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> pit-teavm/src/lib.rs:563:27 [INFO] [stdout] | [INFO] [stdout] 563 | if let Ok(g) = s.parse::() { [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] --> pit-teavm/src/lib.rs:569:52 [INFO] [stdout] | [INFO] [stdout] 569 | let mut n = (0..n).filter_map(|a| stack.pop()).join(","); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> pit-teavm/src/lib.rs:579:59 [INFO] [stdout] | [INFO] [stdout] 579 | let mut n = (0..generics).filter_map(|a| stack.pop()).join(","); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `sync::Mutex` [INFO] [stdout] --> pit-basic/src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u32) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u32); [INFO] [stdout] 3 + fn size(&mut self) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u32) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u32) { [INFO] [stdout] 106 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u32); [INFO] [stdout] 112 + fn go(this: u32) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 90 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - fn size(&mut self) -> (u32) { [INFO] [stdout] 94 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 103 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - fn size(&mut self) -> (u64) { [INFO] [stdout] 107 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 121 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - fn size(&mut self) -> (u32) { [INFO] [stdout] 125 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u64) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u64); [INFO] [stdout] 3 + fn size(&mut self) -> u64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u64) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u64) { [INFO] [stdout] 106 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u64); [INFO] [stdout] 112 + fn go(this: u32) -> u64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 92 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn size(&mut self) -> (u64) { [INFO] [stdout] 96 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generics2RStr` is never read [INFO] [stdout] --> pit-teavm/src/lib.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | generics2RStr = format!("[{}]", generics2RStr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rname` [INFO] [stdout] --> pit-teavm/src/lib.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | let rname = format!(".{name}@{s}"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `genericsStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut genericsStr = (0..generics) [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generics_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `genericsRStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut genericsRStr = (0..generics) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2Str` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut generics2Str = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2RStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let mut generics2RStr = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2Str` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | let mut generics2Str = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2RStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | let mut generics2RStr = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2Str` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | let mut generics2Str = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2RStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | let mut generics2RStr = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pit-rust-guest/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | write!(ha, "~{}", id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pit-rust-guest/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ha.write(&opts.salt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = ha.write(&opts.salt); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pit-rust-host-lib v0.3.2 (/opt/rustwide/workdir/pit-rust-host-lib) [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `sync::Mutex` [INFO] [stdout] --> pit-basic/src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u32) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u32); [INFO] [stdout] 3 + fn size(&mut self) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u32) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u32) { [INFO] [stdout] 106 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u32); [INFO] [stdout] 112 + fn go(this: u32) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 90 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - fn size(&mut self) -> (u32) { [INFO] [stdout] 94 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 103 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - fn size(&mut self) -> (u64) { [INFO] [stdout] 107 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 121 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - fn size(&mut self) -> (u32) { [INFO] [stdout] 125 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u64) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u64); [INFO] [stdout] 3 + fn size(&mut self) -> u64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u64) -> u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u64) { [INFO] [stdout] 106 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u64); [INFO] [stdout] 112 + fn go(this: u32) -> u64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 92 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> pit-basic/src/buffer64.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn size(&mut self) -> (u64) { [INFO] [stdout] 96 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `collections::BTreeMap`, and `env::vars` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | env::vars, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | iter::{empty, once}, [INFO] [stdout] 6 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pit-rust-generator v0.3.2 (/opt/rustwide/workdir/pit-rust-generator) [INFO] [stdout] warning: `go` redeclares `read8` with a different signature [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: pit-basic/src/buffer/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ---------------------- `read8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64) -> u32` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `size` with a different signature [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: pit-basic/src/buffer/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | --------------------- `size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32) -> u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `write8` with a different signature [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: pit-basic/src/buffer/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ----------------------- `write8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32, u32)` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64, u32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StoreContext` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:11:120 [INFO] [stdout] | [INFO] [stdout] 11 | backend::WasmEngine, AsContext, AsContextMut, Extern, ExternRef, Func, FuncType, Imports, Instance, Module, Store, StoreContext, Stor... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | (Arc::new(move |mut ctx:StoreContextMut<'_,U,E>,vals: Vec| -> anyhow::Result> { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 168 | as Arc,Vec) -> anyhow::Result> + Send + Sync>) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 ~ Arc::new(move |mut ctx:StoreContextMut<'_,U,E>,vals: Vec| -> anyhow::Result> { [INFO] [stdout] 154 | // let _ = &ctx; [INFO] [stdout] ... [INFO] [stdout] 167 | }) [INFO] [stdout] 168 ~ as Arc,Vec) -> anyhow::Result> + Send + Sync> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generics2Str` is never read [INFO] [stdout] --> pit-teavm/src/lib.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | generics2Str = format!("[{}]", generics2Str); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pit-rust-host v0.3.2 (/opt/rustwide/workdir/pit-rust-host) [INFO] [stdout] warning: value assigned to `generics2RStr` is never read [INFO] [stdout] --> pit-teavm/src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | generics2RStr = format!("[{}]", generics2RStr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance_renders` [INFO] [stdout] --> pit-teavm/src/lib.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let (is2, instance_renders) = do_instances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance_renders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 231 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:463:29 [INFO] [stdout] | [INFO] [stdout] 463 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:464:29 [INFO] [stdout] | [INFO] [stdout] 464 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:513:33 [INFO] [stdout] | [INFO] [stdout] 513 | ... nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:514:33 [INFO] [stdout] | [INFO] [stdout] 514 | ... take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-teavm/src/lib.rs:515:33 [INFO] [stdout] | [INFO] [stdout] 515 | ... ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> pit-basic/src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `read8` with a different signature [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: pit-basic/src/buffer/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ---------------------- `read8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64) -> u32` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `size` with a different signature [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: pit-basic/src/buffer/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | --------------------- `size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32) -> u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `write8` with a different signature [INFO] [stdout] --> pit-basic/src/buffer64/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: pit-basic/src/buffer/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ----------------------- `write8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32, u32)` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64, u32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rets` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | move |mut ctx, args, rets| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> pit-teavm/src/lib.rs:563:27 [INFO] [stdout] | [INFO] [stdout] 563 | if let Ok(g) = s.parse::() { [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] --> pit-teavm/src/lib.rs:569:52 [INFO] [stdout] | [INFO] [stdout] 569 | let mut n = (0..n).filter_map(|a| stack.pop()).join(","); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> pit-teavm/src/lib.rs:579:59 [INFO] [stdout] | [INFO] [stdout] 579 | let mut n = (0..generics).filter_map(|a| stack.pop()).join(","); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-teavm/src/lib.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-teavm/src/lib.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-rust-generator/src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = Opts{ [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: value assigned to `generics2RStr` is never read [INFO] [stdout] --> pit-teavm/src/lib.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | generics2RStr = format!("[{}]", generics2RStr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rname` [INFO] [stdout] --> pit-teavm/src/lib.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | let rname = format!(".{name}@{s}"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | store: ::wasm_runtime_layer::StoreContextMut<'_, U, E>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `genericsStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut genericsStr = (0..generics) [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generics_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `genericsRStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut genericsRStr = (0..generics) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2Str` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut generics2Str = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2RStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let mut generics2RStr = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2Str` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | let mut generics2Str = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2RStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | let mut generics2RStr = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2Str` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | let mut generics2Str = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generics2RStr` should have a snake case name [INFO] [stdout] --> pit-teavm/src/lib.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | let mut generics2RStr = (0..generics2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generics2_rstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-rust-generator/src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = Opts{ [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 imports: `Mutex`, `collections::BTreeMap`, and `env::vars` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | env::vars, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | iter::{empty, once}, [INFO] [stdout] 6 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StoreContext` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:11:120 [INFO] [stdout] | [INFO] [stdout] 11 | backend::WasmEngine, AsContext, AsContextMut, Extern, ExternRef, Func, FuncType, Imports, Instance, Module, Store, StoreContext, Stor... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | (Arc::new(move |mut ctx:StoreContextMut<'_,U,E>,vals: Vec| -> anyhow::Result> { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 168 | as Arc,Vec) -> anyhow::Result> + Send + Sync>) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 ~ Arc::new(move |mut ctx:StoreContextMut<'_,U,E>,vals: Vec| -> anyhow::Result> { [INFO] [stdout] 154 | // let _ = &ctx; [INFO] [stdout] ... [INFO] [stdout] 167 | }) [INFO] [stdout] 168 ~ as Arc,Vec) -> anyhow::Result> + Send + Sync> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ident` [INFO] [stdout] --> pit-rust-host/src/lib.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{spanned::Spanned, Ident, Index}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rets` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | move |mut ctx, args, rets| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | Arg::Resource { ty, nullable, take, ann } => ValueType::ExternRef, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> pit-rust-host-lib/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | store: ::wasm_runtime_layer::StoreContextMut<'_, U, E>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:89:64 [INFO] [stdout] | [INFO] [stdout] 89 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 105 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:124:64 [INFO] [stdout] | [INFO] [stdout] 124 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:139:64 [INFO] [stdout] | [INFO] [stdout] 139 | if let Arg::Resource { ty, nullable, take, ann } = a{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-c/src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-c/src/lib.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-c/src/lib.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ident` [INFO] [stdout] --> pit-rust-host/src/lib.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{spanned::Spanned, Ident, Index}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:102:64 [INFO] [stdout] | [INFO] [stdout] 102 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-rust-guest/src/lib.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | let mut c = format_ident!("p{a}"); [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] --> pit-rust-guest/src/lib.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let mut c = format_ident!("p{a}"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-guest/src/lib.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pit-rust-guest/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | write!(ha, "~{}", id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pit-rust-guest/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ha.write(&opts.salt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = ha.write(&opts.salt); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> pit-rust-host/src/lib.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn proxy(root: &TokenStream, i: &Interface, opts: &Opts, g: &pit_rust_guest::Opts) -> TokenStream{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> pit-rust-host/src/lib.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn proxy(root: &TokenStream, i: &Interface, opts: &Opts, g: &pit_rust_guest::Opts) -> TokenStream{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:123:68 [INFO] [stdout] | [INFO] [stdout] 123 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:48 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:62 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:68 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> pit-rust-host/src/lib.rs:162:56 [INFO] [stdout] | [INFO] [stdout] 162 | let impl_host = i.methods.iter().enumerate().map(|(c, (a, b))| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:168:56 [INFO] [stdout] | [INFO] [stdout] 168 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:123:68 [INFO] [stdout] | [INFO] [stdout] 123 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:48 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:62 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:147:68 [INFO] [stdout] | [INFO] [stdout] 147 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> pit-rust-host/src/lib.rs:162:56 [INFO] [stdout] | [INFO] [stdout] 162 | let impl_host = i.methods.iter().enumerate().map(|(c, (a, b))| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:168:56 [INFO] [stdout] | [INFO] [stdout] 168 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | if let Arg::Resource { ty, nullable, take, ann } = b{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-rust-host/src/lib.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let mut c = format_ident!("p{a}"); [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] --> pit-rust-host/src/lib.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let mut c = Index{ [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] --> pit-rust-host/src/lib.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let mut c = format_ident!("p{a}"); [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] --> pit-rust-host/src/lib.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let mut c = Index{ [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] --> pit-rust-host/src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let mut c = format_ident!("p{a}"); [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] --> pit-rust-host/src/lib.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut c = Index{ [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] --> pit-rust-host/src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let mut c = format_ident!("p{a}"); [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] --> pit-rust-host/src/lib.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let mut c = Index{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-rust-host/src/lib.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-rust-host/src/lib.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking cranelift-entity v0.105.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking wasmparser v0.212.0 [INFO] [stderr] Checking wasmparser v0.219.1 [INFO] [stderr] Checking wasmparser v0.121.2 [INFO] [stderr] Checking wasmtime-types v18.0.4 [INFO] [stderr] Checking wasmprinter v0.2.80 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking wasmtime-environ v18.0.4 [INFO] [stderr] Checking wit-parser v0.219.1 [INFO] [stderr] Checking wasm-encoder v0.219.1 [INFO] [stderr] Checking wasm-metadata v0.219.1 [INFO] [stderr] Checking wit-component v0.219.1 [INFO] [stderr] Checking wit-bindgen-core v0.34.0 [INFO] [stderr] Checking portal-pc-waffle v0.3.3 [INFO] [stderr] Checking waffle-ast v0.4.2 [INFO] [stderr] Checking pit-patch v0.3.2 (/opt/rustwide/workdir/pit-patch) [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `iter::once`, and `mem::take` [INFO] [stdout] --> pit-patch/src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | iter::once, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | mem::take, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arg` and `Sig` [INFO] [stdout] --> pit-patch/src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use pit_core::{Arg, Interface, Sig}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::tfree` [INFO] [stdout] --> pit-patch/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use util::tfree; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportKind`, `FuncDecl`, `FunctionBody`, `ImportKind`, `SignatureData`, `TableData`, `Type`, and `util::new_sig` [INFO] [stdout] --> pit-patch/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | util::new_sig, ExportKind, FuncDecl, FunctionBody, ImportKind, Module, SignatureData, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 12 | TableData, Type, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `waffle_ast::add_op` [INFO] [stdout] --> pit-patch/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use waffle_ast::add_op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `replace`, and `take` [INFO] [stdout] --> pit-patch/src/util.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | iter::once, [INFO] [stdout] 4 | mem::{replace, take}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> pit-patch/src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResTy` [INFO] [stdout] --> pit-patch/src/util.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use pit_core::{Arg, ResTy}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `Block`, `TableData`, `Table`, and `Value` [INFO] [stdout] --> pit-patch/src/util.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | util::new_sig, Block, BlockTarget, Export, ExportKind, Func, FuncDecl, FunctionBody, Import, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 11 | ImportKind, Module, Operator, SignatureData, Table, TableData, Type, Value, WithNullable, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder`, `Expr`, `add_op`, and `results_ref_2` [INFO] [stdout] --> pit-patch/src/util.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use waffle_ast::{add_op, results_ref_2, Builder, Expr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::get_interfaces` [INFO] [stdout] --> pit-patch/src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::get_interfaces; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pit_core::Interface` [INFO] [stdout] --> pit-patch/src/canon.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pit_core::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> pit-patch/src/lower.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::talloc` [INFO] [stdout] --> pit-patch/src/lower.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{canon::canon, util::talloc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `iter::once`, and `mem::take` [INFO] [stdout] --> pit-patch/src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | iter::once, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | mem::take, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arg` and `Sig` [INFO] [stdout] --> pit-patch/src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use pit_core::{Arg, Interface, Sig}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::tfree` [INFO] [stdout] --> pit-patch/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use util::tfree; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportKind`, `FuncDecl`, `FunctionBody`, `ImportKind`, `SignatureData`, `TableData`, `Type`, and `util::new_sig` [INFO] [stdout] --> pit-patch/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | util::new_sig, ExportKind, FuncDecl, FunctionBody, ImportKind, Module, SignatureData, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 12 | TableData, Type, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `waffle_ast::add_op` [INFO] [stdout] --> pit-patch/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use waffle_ast::add_op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `replace`, and `take` [INFO] [stdout] --> pit-patch/src/util.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | iter::once, [INFO] [stdout] 4 | mem::{replace, take}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> pit-patch/src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResTy` [INFO] [stdout] --> pit-patch/src/util.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use pit_core::{Arg, ResTy}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `Block`, `TableData`, `Table`, and `Value` [INFO] [stdout] --> pit-patch/src/util.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | util::new_sig, Block, BlockTarget, Export, ExportKind, Func, FuncDecl, FunctionBody, Import, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 11 | ImportKind, Module, Operator, SignatureData, Table, TableData, Type, Value, WithNullable, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder`, `Expr`, `add_op`, and `results_ref_2` [INFO] [stdout] --> pit-patch/src/util.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use waffle_ast::{add_op, results_ref_2, Builder, Expr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::get_interfaces` [INFO] [stdout] --> pit-patch/src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::get_interfaces; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pit_core::Interface` [INFO] [stdout] --> pit-patch/src/canon.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pit_core::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> pit-patch/src/lower.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::talloc` [INFO] [stdout] --> pit-patch/src/lower.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{canon::canon, util::talloc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-patch/src/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/util.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-patch/src/util.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-patch/src/util.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> pit-patch/src/util.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn to_waffle_type_in(t: &pit_core::Arg, tpit: bool, module: &mut Module) -> waffle::Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-patch/src/util.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/util.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-patch/src/util.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-patch/src/util.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/canon.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | if let SignatureData::Func { params, returns } = &mut sig{ [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-patch/src/canon.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let mut b = b.entry(a.to_owned()).or_insert_with(|| BTreeMap::new()); [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: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | if let Type::Heap(WithNullable { value: HeapType::ExternRef, nullable }) = t.clone() { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:192:80 [INFO] [stdout] | [INFO] [stdout] 192 | if matches!(t.ty,Type::Heap(WithNullable { value: HeapType::ExternRef, nullable })) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tys` [INFO] [stdout] --> pit-patch/src/lower.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | let tys = b.blocks[k].params.iter().map(|a| a.0).collect::>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> pit-patch/src/lower.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let x = b.type_pool.from_iter(once(Type::I32)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:172:94 [INFO] [stdout] | [INFO] [stdout] 172 | if matches!(ty,Type::Heap(WithNullable { value: HeapType::ExternRef, nullable })) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:177:113 [INFO] [stdout] | [INFO] [stdout] 177 | if matches!(b.type_pool[*tys][0] ,Type::Heap(WithNullable { value: HeapType::ExternRef, nullable })) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> pit-patch/src/lower.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | m.try_take_per_func_body(|m, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-patch/src/tpit.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/tpit.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-patch/src/tpit.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/tpit.rs:296:54 [INFO] [stdout] | [INFO] [stdout] 296 | if let SignatureData::Func { params, returns } = [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/tpit.rs:344:54 [INFO] [stdout] | [INFO] [stdout] 344 | if let SignatureData::Func { params, returns } = [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> pit-patch/src/tpit.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let f = waffle_funcs(m, &i, false); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/tpit.rs:395:66 [INFO] [stdout] | [INFO] [stdout] 395 | ... if let SignatureData::Func { params, returns } = [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> pit-patch/src/tpit.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | ... let p = new_sig( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> pit-patch/src/tpit.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | let p = new_sig( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> pit-patch/src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let (s, i) = pit_core::parse_interface(s) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> pit-patch/src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | .map_err(|e: nom::Err>| anyhow::anyhow!("invalid pit"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-patch/src/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/util.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-patch/src/util.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-patch/src/util.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> pit-patch/src/util.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn to_waffle_type_in(t: &pit_core::Arg, tpit: bool, module: &mut Module) -> waffle::Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pit-wit-bridge v0.3.2 (/opt/rustwide/workdir/pit-wit-bridge) [INFO] [stderr] Checking pit-cli v0.3.2 (/opt/rustwide/workdir/pit-cli) [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-patch/src/util.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/util.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> pit-patch/src/util.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | take, [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-patch/src/util.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | util::new_sig, Block, ExportKind, Func, FuncDecl, FunctionBody, Memory, Module, Operator, Signature, SignatureData, Type, Value, With... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImportFn` and `Type` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | copying::module::{i2x, x2i, ImportBehavior, ImportFn, State}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | entity::EntityRef, [INFO] [stdout] 8 | Export, ExportKind, ImportKind, Module, Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/canon.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | if let SignatureData::Func { params, returns } = &mut sig{ [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-patch/src/canon.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let mut b = b.entry(a.to_owned()).or_insert_with(|| BTreeMap::new()); [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 import: `fs` [INFO] [stdout] --> pit-cli/src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeSet, fs, iter::once}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Copier`, `ImportBehavior`, `ImportKind`, `State`, `i2x`, `import_fn`, and `x2i` [INFO] [stdout] --> pit-cli/src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | copying::module::{i2x, import_fn, tree_shake, x2i, Copier, ImportBehavior, State}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 8 | ImportKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 19 | if let Type::Heap(WithNullable { value: HeapType::ExternRef, nullable }) = t.clone() { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:192:80 [INFO] [stdout] | [INFO] [stdout] 192 | if matches!(t.ty,Type::Heap(WithNullable { value: HeapType::ExternRef, nullable })) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tys` [INFO] [stdout] --> pit-patch/src/lower.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | let tys = b.blocks[k].params.iter().map(|a| a.0).collect::>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> pit-patch/src/lower.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let x = b.type_pool.from_iter(once(Type::I32)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:172:94 [INFO] [stdout] | [INFO] [stdout] 172 | if matches!(ty,Type::Heap(WithNullable { value: HeapType::ExternRef, nullable })) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/lower.rs:177:113 [INFO] [stdout] | [INFO] [stdout] 177 | if matches!(b.type_pool[*tys][0] ,Type::Heap(WithNullable { value: HeapType::ExternRef, nullable })) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> pit-patch/src/lower.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | m.try_take_per_func_body(|m, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> pit-cli/src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeSet, fs, iter::once}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Copier`, `ImportBehavior`, `ImportKind`, `State`, `i2x`, `import_fn`, and `x2i` [INFO] [stdout] --> pit-cli/src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | copying::module::{i2x, import_fn, tree_shake, x2i, Copier, ImportBehavior, State}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 8 | ImportKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:9:95 [INFO] [stdout] | [INFO] [stdout] 9 | util::new_sig, Block, ExportKind, Func, FuncDecl, FunctionBody, Memory, Module, Operator, Signature, SignatureData, Type, Value, With... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImportFn` and `Type` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | copying::module::{i2x, x2i, ImportBehavior, ImportFn, State}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | entity::EntityRef, [INFO] [stdout] 8 | Export, ExportKind, ImportKind, Module, Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-patch/src/tpit.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> pit-patch/src/tpit.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | nullable, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pit-patch/src/tpit.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | ann, [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/tpit.rs:296:54 [INFO] [stdout] | [INFO] [stdout] 296 | if let SignatureData::Func { params, returns } = [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/tpit.rs:344:54 [INFO] [stdout] | [INFO] [stdout] 344 | if let SignatureData::Func { params, returns } = [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> pit-patch/src/tpit.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let f = waffle_funcs(m, &i, false); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> pit-patch/src/tpit.rs:395:66 [INFO] [stdout] | [INFO] [stdout] 395 | ... if let SignatureData::Func { params, returns } = [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> pit-patch/src/tpit.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | ... let p = new_sig( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> pit-patch/src/tpit.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | let p = new_sig( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | wit_parser::TypeDefKind::Handle(handle) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | wit_parser::TypeDefKind::Flags(flags) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:80:54 [INFO] [stdout] | [INFO] [stdout] 80 | wit_parser::TypeDefKind::Variant(variant) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | wit_parser::TypeDefKind::Result(result) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | wit_parser::TypeDefKind::Stream(stream) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> pit-cli/src/main.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let Some(c) = b.strip_prefix("-") else { [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: `c` [INFO] [stdout] --> pit-cli/src/main.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | let Some(c) = b.strip_prefix("-") else { [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] --> pit-cli/src/main.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut binders = pit_teavm::Binders::default(); [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] --> pit-cli/src/main.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut binders = pit_teavm::Binders::default(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> pit-cli/src/main.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let Some(c) = b.strip_prefix("-") else { [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: `c` [INFO] [stdout] --> pit-cli/src/main.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | let Some(c) = b.strip_prefix("-") else { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> pit-patch/src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let (s, i) = pit_core::parse_interface(s) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> pit-patch/src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | .map_err(|e: nom::Err>| anyhow::anyhow!("invalid pit"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-cli/src/main.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut binders = pit_teavm::Binders::default(); [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] --> pit-cli/src/main.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut binders = pit_teavm::Binders::default(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:576:66 [INFO] [stdout] | [INFO] [stdout] 576 | wit_bindgen_core::abi::Instruction::ListCanonLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:576:75 [INFO] [stdout] | [INFO] [stdout] 576 | wit_bindgen_core::abi::Instruction::ListCanonLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:577:63 [INFO] [stdout] | [INFO] [stdout] 577 | wit_bindgen_core::abi::Instruction::StringLower { realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:578:61 [INFO] [stdout] | [INFO] [stdout] 578 | wit_bindgen_core::abi::Instruction::ListLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:578:70 [INFO] [stdout] | [INFO] [stdout] 578 | wit_bindgen_core::abi::Instruction::ListLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:579:65 [INFO] [stdout] | [INFO] [stdout] 579 | wit_bindgen_core::abi::Instruction::ListCanonLift { element, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:579:74 [INFO] [stdout] | [INFO] [stdout] 579 | wit_bindgen_core::abi::Instruction::ListCanonLift { element, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:581:60 [INFO] [stdout] | [INFO] [stdout] 581 | wit_bindgen_core::abi::Instruction::ListLift { element, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:581:69 [INFO] [stdout] | [INFO] [stdout] 581 | wit_bindgen_core::abi::Instruction::ListLift { element, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:582:60 [INFO] [stdout] | [INFO] [stdout] 582 | wit_bindgen_core::abi::Instruction::IterElem { element } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:584:63 [INFO] [stdout] | [INFO] [stdout] 584 | wit_bindgen_core::abi::Instruction::RecordLower { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `record: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:584:71 [INFO] [stdout] | [INFO] [stdout] 584 | wit_bindgen_core::abi::Instruction::RecordLower { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:584:77 [INFO] [stdout] | [INFO] [stdout] 584 | wit_bindgen_core::abi::Instruction::RecordLower { record, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:585:62 [INFO] [stdout] | [INFO] [stdout] 585 | wit_bindgen_core::abi::Instruction::RecordLift { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `record: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:585:70 [INFO] [stdout] | [INFO] [stdout] 585 | wit_bindgen_core::abi::Instruction::RecordLift { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:585:76 [INFO] [stdout] | [INFO] [stdout] 585 | wit_bindgen_core::abi::Instruction::RecordLift { record, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:586:63 [INFO] [stdout] | [INFO] [stdout] 586 | wit_bindgen_core::abi::Instruction::HandleLower { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `handle: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:586:71 [INFO] [stdout] | [INFO] [stdout] 586 | wit_bindgen_core::abi::Instruction::HandleLower { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:586:77 [INFO] [stdout] | [INFO] [stdout] 586 | wit_bindgen_core::abi::Instruction::HandleLower { handle, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:587:62 [INFO] [stdout] | [INFO] [stdout] 587 | wit_bindgen_core::abi::Instruction::HandleLift { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `handle: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:587:70 [INFO] [stdout] | [INFO] [stdout] 587 | wit_bindgen_core::abi::Instruction::HandleLift { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:587:76 [INFO] [stdout] | [INFO] [stdout] 587 | wit_bindgen_core::abi::Instruction::HandleLift { handle, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:588:69 [INFO] [stdout] | [INFO] [stdout] 588 | wit_bindgen_core::abi::Instruction::TupleLower { tuple, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:611:68 [INFO] [stdout] | [INFO] [stdout] 611 | wit_bindgen_core::abi::Instruction::TupleLift { tuple, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:621:62 [INFO] [stdout] | [INFO] [stdout] 621 | wit_bindgen_core::abi::Instruction::FlagsLower { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `flags: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:621:69 [INFO] [stdout] | [INFO] [stdout] 621 | wit_bindgen_core::abi::Instruction::FlagsLower { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:621:75 [INFO] [stdout] | [INFO] [stdout] 621 | wit_bindgen_core::abi::Instruction::FlagsLower { flags, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:622:61 [INFO] [stdout] | [INFO] [stdout] 622 | wit_bindgen_core::abi::Instruction::FlagsLift { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `flags: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:622:68 [INFO] [stdout] | [INFO] [stdout] 622 | wit_bindgen_core::abi::Instruction::FlagsLift { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:622:74 [INFO] [stdout] | [INFO] [stdout] 622 | wit_bindgen_core::abi::Instruction::FlagsLift { flags, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | variant, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:627:17 [INFO] [stdout] | [INFO] [stdout] 627 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:628:17 [INFO] [stdout] | [INFO] [stdout] 628 | results, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `results: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:630:63 [INFO] [stdout] | [INFO] [stdout] 630 | wit_bindgen_core::abi::Instruction::VariantLift { variant, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:630:72 [INFO] [stdout] | [INFO] [stdout] 630 | wit_bindgen_core::abi::Instruction::VariantLift { variant, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:630:78 [INFO] [stdout] | [INFO] [stdout] 630 | wit_bindgen_core::abi::Instruction::VariantLift { variant, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:631:61 [INFO] [stdout] | [INFO] [stdout] 631 | wit_bindgen_core::abi::Instruction::EnumLower { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `enum_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:631:68 [INFO] [stdout] | [INFO] [stdout] 631 | wit_bindgen_core::abi::Instruction::EnumLower { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:631:74 [INFO] [stdout] | [INFO] [stdout] 631 | wit_bindgen_core::abi::Instruction::EnumLower { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:632:60 [INFO] [stdout] | [INFO] [stdout] 632 | wit_bindgen_core::abi::Instruction::EnumLift { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `enum_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:632:67 [INFO] [stdout] | [INFO] [stdout] 632 | wit_bindgen_core::abi::Instruction::EnumLift { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:632:73 [INFO] [stdout] | [INFO] [stdout] 632 | wit_bindgen_core::abi::Instruction::EnumLift { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | payload, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:635:17 [INFO] [stdout] | [INFO] [stdout] 635 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | results, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `results: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:638:62 [INFO] [stdout] | [INFO] [stdout] 638 | wit_bindgen_core::abi::Instruction::OptionLift { payload, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:638:71 [INFO] [stdout] | [INFO] [stdout] 638 | wit_bindgen_core::abi::Instruction::OptionLift { payload, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | result, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | results, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `results: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:644:62 [INFO] [stdout] | [INFO] [stdout] 644 | wit_bindgen_core::abi::Instruction::ResultLift { result, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:644:70 [INFO] [stdout] | [INFO] [stdout] 644 | wit_bindgen_core::abi::Instruction::ResultLift { result, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:645:60 [INFO] [stdout] | [INFO] [stdout] 645 | wit_bindgen_core::abi::Instruction::CallWasm { name, sig } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:645:66 [INFO] [stdout] | [INFO] [stdout] 645 | wit_bindgen_core::abi::Instruction::CallWasm { name, sig } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:646:65 [INFO] [stdout] | [INFO] [stdout] 646 | wit_bindgen_core::abi::Instruction::CallInterface { func } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amt` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:647:58 [INFO] [stdout] | [INFO] [stdout] 647 | wit_bindgen_core::abi::Instruction::Return { amt, func } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `amt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:647:63 [INFO] [stdout] | [INFO] [stdout] 647 | wit_bindgen_core::abi::Instruction::Return { amt, func } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | realloc, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | size, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | align, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `align: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:661:67 [INFO] [stdout] | [INFO] [stdout] 661 | wit_bindgen_core::abi::Instruction::GuestDeallocate { size, align } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:661:73 [INFO] [stdout] | [INFO] [stdout] 661 | wit_bindgen_core::abi::Instruction::GuestDeallocate { size, align } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `align: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:663:71 [INFO] [stdout] | [INFO] [stdout] 663 | wit_bindgen_core::abi::Instruction::GuestDeallocateList { element } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:664:74 [INFO] [stdout] | [INFO] [stdout] 664 | wit_bindgen_core::abi::Instruction::GuestDeallocateVariant { blocks } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `blocks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:601:47 [INFO] [stdout] | [INFO] [stdout] 601 | let SignatureData::Func { params, returns } = &self.module.signatures[tys] else{ [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:668:34 [INFO] [stdout] | [INFO] [stdout] 668 | fn return_pointer(&mut self, size: usize, align: usize) -> Self::Operand { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:668:47 [INFO] [stdout] | [INFO] [stdout] 668 | fn return_pointer(&mut self, size: usize, align: usize) -> Self::Operand { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolve` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | resolve: &wit_bindgen_core::wit_parser::Resolve, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | element: &wit_bindgen_core::wit_parser::Type, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolve` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut resolve, world_id) = match decoded { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_id` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut resolve, world_id) = match decoded { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_types` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let (translation, module_data, component_types) = translate_modules(component, &adapter_vec)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | for (idx2, mut x) in copier [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_import_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | InstantiateModule::Import(runtime_import_index, index_map) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_import_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_map` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:130:65 [INFO] [stdout] | [INFO] [stdout] 130 | InstantiateModule::Import(runtime_import_index, index_map) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | GlobalInitializer::LowerImport { index, import } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | GlobalInitializer::LowerImport { index, import } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `import: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_memory` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | GlobalInitializer::ExtractMemory(extract_memory) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_realloc` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | GlobalInitializer::ExtractRealloc(extract_realloc) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_realloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_post_return` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | GlobalInitializer::ExtractPostReturn(extract_post_return) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_post_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_interned_type_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | ... module_interned_type_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_interned_type_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_component_instance_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | CoreDef::InstanceFlags(runtime_component_instance_index) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_component_instance_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trampoline_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | CoreDef::Trampoline(trampoline_index) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trampoline_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-wit-bridge/src/from.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut resolve, world_id) = match decoded { [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] --> pit-wit-bridge/src/from.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let mut m = modules [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lfn` and `pop_block` are never used [INFO] [stdout] --> pit-wit-bridge/src/into.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a, 'b, 'c> State<'a, 'b, 'c> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn lfn(&self, n: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn pop_block(&mut self) -> Func { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | wit_parser::TypeDefKind::Handle(handle) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> pit-wit-bridge/src/from.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | m.expand_all_funcs(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = m.expand_all_funcs(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | wit_parser::TypeDefKind::Flags(flags) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:80:54 [INFO] [stdout] | [INFO] [stdout] 80 | wit_parser::TypeDefKind::Variant(variant) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | wit_parser::TypeDefKind::Result(result) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | wit_parser::TypeDefKind::Stream(stream) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:576:66 [INFO] [stdout] | [INFO] [stdout] 576 | wit_bindgen_core::abi::Instruction::ListCanonLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:576:75 [INFO] [stdout] | [INFO] [stdout] 576 | wit_bindgen_core::abi::Instruction::ListCanonLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:577:63 [INFO] [stdout] | [INFO] [stdout] 577 | wit_bindgen_core::abi::Instruction::StringLower { realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:578:61 [INFO] [stdout] | [INFO] [stdout] 578 | wit_bindgen_core::abi::Instruction::ListLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:578:70 [INFO] [stdout] | [INFO] [stdout] 578 | wit_bindgen_core::abi::Instruction::ListLower { element, realloc } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:579:65 [INFO] [stdout] | [INFO] [stdout] 579 | wit_bindgen_core::abi::Instruction::ListCanonLift { element, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:579:74 [INFO] [stdout] | [INFO] [stdout] 579 | wit_bindgen_core::abi::Instruction::ListCanonLift { element, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:581:60 [INFO] [stdout] | [INFO] [stdout] 581 | wit_bindgen_core::abi::Instruction::ListLift { element, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:581:69 [INFO] [stdout] | [INFO] [stdout] 581 | wit_bindgen_core::abi::Instruction::ListLift { element, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:582:60 [INFO] [stdout] | [INFO] [stdout] 582 | wit_bindgen_core::abi::Instruction::IterElem { element } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:584:63 [INFO] [stdout] | [INFO] [stdout] 584 | wit_bindgen_core::abi::Instruction::RecordLower { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `record: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:584:71 [INFO] [stdout] | [INFO] [stdout] 584 | wit_bindgen_core::abi::Instruction::RecordLower { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:584:77 [INFO] [stdout] | [INFO] [stdout] 584 | wit_bindgen_core::abi::Instruction::RecordLower { record, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:585:62 [INFO] [stdout] | [INFO] [stdout] 585 | wit_bindgen_core::abi::Instruction::RecordLift { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `record: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:585:70 [INFO] [stdout] | [INFO] [stdout] 585 | wit_bindgen_core::abi::Instruction::RecordLift { record, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:585:76 [INFO] [stdout] | [INFO] [stdout] 585 | wit_bindgen_core::abi::Instruction::RecordLift { record, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:586:63 [INFO] [stdout] | [INFO] [stdout] 586 | wit_bindgen_core::abi::Instruction::HandleLower { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `handle: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:586:71 [INFO] [stdout] | [INFO] [stdout] 586 | wit_bindgen_core::abi::Instruction::HandleLower { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:586:77 [INFO] [stdout] | [INFO] [stdout] 586 | wit_bindgen_core::abi::Instruction::HandleLower { handle, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:587:62 [INFO] [stdout] | [INFO] [stdout] 587 | wit_bindgen_core::abi::Instruction::HandleLift { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `handle: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:587:70 [INFO] [stdout] | [INFO] [stdout] 587 | wit_bindgen_core::abi::Instruction::HandleLift { handle, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:587:76 [INFO] [stdout] | [INFO] [stdout] 587 | wit_bindgen_core::abi::Instruction::HandleLift { handle, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:588:69 [INFO] [stdout] | [INFO] [stdout] 588 | wit_bindgen_core::abi::Instruction::TupleLower { tuple, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:611:68 [INFO] [stdout] | [INFO] [stdout] 611 | wit_bindgen_core::abi::Instruction::TupleLift { tuple, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:621:62 [INFO] [stdout] | [INFO] [stdout] 621 | wit_bindgen_core::abi::Instruction::FlagsLower { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `flags: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:621:69 [INFO] [stdout] | [INFO] [stdout] 621 | wit_bindgen_core::abi::Instruction::FlagsLower { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:621:75 [INFO] [stdout] | [INFO] [stdout] 621 | wit_bindgen_core::abi::Instruction::FlagsLower { flags, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:622:61 [INFO] [stdout] | [INFO] [stdout] 622 | wit_bindgen_core::abi::Instruction::FlagsLift { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `flags: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:622:68 [INFO] [stdout] | [INFO] [stdout] 622 | wit_bindgen_core::abi::Instruction::FlagsLift { flags, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:622:74 [INFO] [stdout] | [INFO] [stdout] 622 | wit_bindgen_core::abi::Instruction::FlagsLift { flags, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | variant, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:626:17 [INFO] [stdout] | [INFO] [stdout] 626 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:627:17 [INFO] [stdout] | [INFO] [stdout] 627 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:628:17 [INFO] [stdout] | [INFO] [stdout] 628 | results, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `results: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:630:63 [INFO] [stdout] | [INFO] [stdout] 630 | wit_bindgen_core::abi::Instruction::VariantLift { variant, name, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:630:72 [INFO] [stdout] | [INFO] [stdout] 630 | wit_bindgen_core::abi::Instruction::VariantLift { variant, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:630:78 [INFO] [stdout] | [INFO] [stdout] 630 | wit_bindgen_core::abi::Instruction::VariantLift { variant, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:631:61 [INFO] [stdout] | [INFO] [stdout] 631 | wit_bindgen_core::abi::Instruction::EnumLower { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `enum_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:631:68 [INFO] [stdout] | [INFO] [stdout] 631 | wit_bindgen_core::abi::Instruction::EnumLower { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:631:74 [INFO] [stdout] | [INFO] [stdout] 631 | wit_bindgen_core::abi::Instruction::EnumLower { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:632:60 [INFO] [stdout] | [INFO] [stdout] 632 | wit_bindgen_core::abi::Instruction::EnumLift { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `enum_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:632:67 [INFO] [stdout] | [INFO] [stdout] 632 | wit_bindgen_core::abi::Instruction::EnumLift { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:632:73 [INFO] [stdout] | [INFO] [stdout] 632 | wit_bindgen_core::abi::Instruction::EnumLift { enum_, name, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | payload, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:635:17 [INFO] [stdout] | [INFO] [stdout] 635 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | results, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `results: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:638:62 [INFO] [stdout] | [INFO] [stdout] 638 | wit_bindgen_core::abi::Instruction::OptionLift { payload, ty } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:638:71 [INFO] [stdout] | [INFO] [stdout] 638 | wit_bindgen_core::abi::Instruction::OptionLift { payload, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | result, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | results, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `results: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:644:62 [INFO] [stdout] | [INFO] [stdout] 644 | wit_bindgen_core::abi::Instruction::ResultLift { result, ty } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:644:70 [INFO] [stdout] | [INFO] [stdout] 644 | wit_bindgen_core::abi::Instruction::ResultLift { result, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:645:60 [INFO] [stdout] | [INFO] [stdout] 645 | wit_bindgen_core::abi::Instruction::CallWasm { name, sig } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:645:66 [INFO] [stdout] | [INFO] [stdout] 645 | wit_bindgen_core::abi::Instruction::CallWasm { name, sig } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:646:65 [INFO] [stdout] | [INFO] [stdout] 646 | wit_bindgen_core::abi::Instruction::CallInterface { func } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amt` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:647:58 [INFO] [stdout] | [INFO] [stdout] 647 | wit_bindgen_core::abi::Instruction::Return { amt, func } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `amt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:647:63 [INFO] [stdout] | [INFO] [stdout] 647 | wit_bindgen_core::abi::Instruction::Return { amt, func } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `realloc` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | realloc, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `realloc: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | size, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | align, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `align: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:661:67 [INFO] [stdout] | [INFO] [stdout] 661 | wit_bindgen_core::abi::Instruction::GuestDeallocate { size, align } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:661:73 [INFO] [stdout] | [INFO] [stdout] 661 | wit_bindgen_core::abi::Instruction::GuestDeallocate { size, align } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `align: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:663:71 [INFO] [stdout] | [INFO] [stdout] 663 | wit_bindgen_core::abi::Instruction::GuestDeallocateList { element } => todo!(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `element: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:664:74 [INFO] [stdout] | [INFO] [stdout] 664 | wit_bindgen_core::abi::Instruction::GuestDeallocateVariant { blocks } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `blocks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:601:47 [INFO] [stdout] | [INFO] [stdout] 601 | let SignatureData::Func { params, returns } = &self.module.signatures[tys] else{ [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:668:34 [INFO] [stdout] | [INFO] [stdout] 668 | fn return_pointer(&mut self, size: usize, align: usize) -> Self::Operand { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:668:47 [INFO] [stdout] | [INFO] [stdout] 668 | fn return_pointer(&mut self, size: usize, align: usize) -> Self::Operand { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolve` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | resolve: &wit_bindgen_core::wit_parser::Resolve, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> pit-wit-bridge/src/into.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | element: &wit_bindgen_core::wit_parser::Type, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolve` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut resolve, world_id) = match decoded { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_id` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut resolve, world_id) = match decoded { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_types` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let (translation, module_data, component_types) = translate_modules(component, &adapter_vec)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx2` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | for (idx2, mut x) in copier [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_import_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | InstantiateModule::Import(runtime_import_index, index_map) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_import_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_map` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:130:65 [INFO] [stdout] | [INFO] [stdout] 130 | InstantiateModule::Import(runtime_import_index, index_map) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | GlobalInitializer::LowerImport { index, import } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | GlobalInitializer::LowerImport { index, import } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `import: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_memory` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | GlobalInitializer::ExtractMemory(extract_memory) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_realloc` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:134:47 [INFO] [stdout] | [INFO] [stdout] 134 | GlobalInitializer::ExtractRealloc(extract_realloc) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_realloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_post_return` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | GlobalInitializer::ExtractPostReturn(extract_post_return) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_post_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_interned_type_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | ... module_interned_type_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_interned_type_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime_component_instance_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | CoreDef::InstanceFlags(runtime_component_instance_index) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_component_instance_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trampoline_index` [INFO] [stdout] --> pit-wit-bridge/src/from.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | CoreDef::Trampoline(trampoline_index) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trampoline_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pit-wit-bridge/src/from.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut resolve, world_id) = match decoded { [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] --> pit-wit-bridge/src/from.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let mut m = modules [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lfn` and `pop_block` are never used [INFO] [stdout] --> pit-wit-bridge/src/into.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a, 'b, 'c> State<'a, 'b, 'c> { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn lfn(&self, n: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn pop_block(&mut self) -> Func { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> pit-wit-bridge/src/from.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | m.expand_all_funcs(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = m.expand_all_funcs(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "dd1411ed8dc74bd893df04684f75cacbac855a5d956c6216921fc0a09206db83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd1411ed8dc74bd893df04684f75cacbac855a5d956c6216921fc0a09206db83", kill_on_drop: false }` [INFO] [stdout] dd1411ed8dc74bd893df04684f75cacbac855a5d956c6216921fc0a09206db83