[INFO] cloning repository https://github.com/emliunix/wasmly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emliunix/wasmly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femliunix%2Fwasmly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femliunix%2Fwasmly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 118a56bf9c16eda736615fbe13e3ab6b18d49707 [INFO] checking emliunix/wasmly against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femliunix%2Fwasmly" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/emliunix/wasmly [INFO] finished tweaking git repo https://github.com/emliunix/wasmly [INFO] tweaked toml for git repo https://github.com/emliunix/wasmly written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emliunix/wasmly on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emliunix/wasmly 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-5-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `wasmly` [INFO] [stderr] * `bin` target `wasmly` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking emliunix/wasmly against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femliunix%2Fwasmly" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/emliunix/wasmly [INFO] finished tweaking git repo https://github.com/emliunix/wasmly [INFO] tweaked toml for git repo https://github.com/emliunix/wasmly written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emliunix/wasmly on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emliunix/wasmly 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-5-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `wasmly` [INFO] [stderr] * `bin` target `wasmly` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 638fa4b6366c88be3d86cf828d898e60019116309c011ae044dfc9090262190e [INFO] running `Command { std: "docker" "start" "-a" "638fa4b6366c88be3d86cf828d898e60019116309c011ae044dfc9090262190e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "638fa4b6366c88be3d86cf828d898e60019116309c011ae044dfc9090262190e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638fa4b6366c88be3d86cf828d898e60019116309c011ae044dfc9090262190e", kill_on_drop: false }` [INFO] [stdout] 638fa4b6366c88be3d86cf828d898e60019116309c011ae044dfc9090262190e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb6bdeacbee62d972bfc237f6570388111391996bbe3a9077aa7d95d9f3f0fe2 [INFO] running `Command { std: "docker" "start" "-a" "eb6bdeacbee62d972bfc237f6570388111391996bbe3a9077aa7d95d9f3f0fe2", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `wasmly` [INFO] [stderr] * `bin` target `wasmly` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking wasmly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BinaryError`, `Located`, `ParseResult`, and `SourceLocation` [INFO] [stdout] --> src/binary/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub use error::{BinaryError, Located, ParseResult, SourceLocation}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryError`, `Located`, `ParseResult`, and `SourceLocation` [INFO] [stdout] --> src/binary/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub use error::{BinaryError, Located, ParseResult, SourceLocation}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cont.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | AdminInstr::Label(i, vs, es, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbl` [INFO] [stdout] --> src/main.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | if let StackItem::Label(lbl) = &self.stack[i] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lbl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Label` is never used [INFO] [stdout] --> src/main.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `num_rets` is never used [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Label { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn num_rets(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StackItem` is never used [INFO] [stdout] --> src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum StackItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_instrs` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn nested_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_instrs` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn block_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_func_rets` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn n_func_rets(ty: &Ty) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/main.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct Level<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `instr` are never used [INFO] [stdout] --> src/main.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> Level<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 90 | fn new(instrs: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn instr(&self) -> &'a Instr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InstrCursor` is never used [INFO] [stdout] --> src/main.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | trait InstrCursor<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 161 | fn new() -> VM { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn run(&mut self, instrs: &Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn step<'a>(&mut self, instr: &'a Instr, cursor: &mut Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn result(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn push(&mut self, item: StackItem) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn pop(&mut self) -> StackItem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | i32, push_i32, I32, i64, push_i64, I64, f32, push_f32, F32, f64, push_f64, F64, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | impl_stack_pop!(i32, pop_i32, I32, i64, pop_i64, I64, f32, pop_f32, F32, f64, pop_f64, F64,); [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] 296 | [INFO] [stdout] 297 | fn pop_label(&mut self, mut n_labels: usize) -> (Label, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_stack_push` which comes from the expansion of the macro `impl_stack_pop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/binary/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type ParseResult<'a, O> = IResult<&'a [u8], O, NomError<&'a [u8]>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryError` is never used [INFO] [stdout] --> src/binary/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum BinaryError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceLocation` is never constructed [INFO] [stdout] --> src/binary/error.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SourceLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_slice`, `end`, and `contains` are never used [INFO] [stdout] --> src/binary/error.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl SourceLocation { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(offset: usize, length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_slice<'a>(base: &'a [u8], slice: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn end(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn contains(&self, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Located` is never constructed [INFO] [stdout] --> src/binary/error.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Located { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_parse`, `map`, `location`, `value`, and `into_inner` are never used [INFO] [stdout] --> src/binary/error.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Located { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new(value: T, location: SourceLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_parse<'a>(base: &'a [u8], value: T, remaining: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn map(self, f: F) -> Located [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn location(&self) -> &SourceLocation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_location` is never used [INFO] [stdout] --> src/binary/error.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn with_location<'a, T, P, O>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capture_location` is never used [INFO] [stdout] --> src/binary/error.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn capture_location<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/binary/leb128.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Input<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_u32` is never used [INFO] [stdout] --> src/binary/leb128.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decode_u32(input: Input) -> nom::IResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_i32` is never used [INFO] [stdout] --> src/binary/leb128.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_i32(input: Input) -> nom::IResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_u32` is never used [INFO] [stdout] --> src/binary/leb128.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn encode_u32(value: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_i32` is never used [INFO] [stdout] --> src/binary/leb128.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn encode_i32(value: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/binary/primitives.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Input<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_byte` is never used [INFO] [stdout] --> src/binary/primitives.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_magic` is never used [INFO] [stdout] --> src/binary/primitives.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_version` is never used [INFO] [stdout] --> src/binary/primitives.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_section_header` is never used [INFO] [stdout] --> src/binary/primitives.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name` is never used [INFO] [stdout] --> src/binary/primitives.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_leb128_u32` is never used [INFO] [stdout] --> src/binary/primitives.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/binary/sections.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Input<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vec` is never used [INFO] [stdout] --> src/binary/sections.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_vec<'a, T, F>(input: Input<'a>, parser: F) -> ParseResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_valtype` is never used [INFO] [stdout] --> src/binary/sections.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input) -> ParseResult<'_, ValType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_reftype` is never used [INFO] [stdout] --> src/binary/sections.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input) -> ParseResult<'_, RefType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_functype` is never used [INFO] [stdout] --> src/binary/sections.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_type_section` is never used [INFO] [stdout] --> src/binary/sections.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_function_section` is never used [INFO] [stdout] --> src/binary/sections.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_limits` is never used [INFO] [stdout] --> src/binary/sections.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input) -> ParseResult<'_, Limits> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tabletype` is never used [INFO] [stdout] --> src/binary/sections.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input) -> ParseResult<'_, TableType> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_memtype` is never used [INFO] [stdout] --> src/binary/sections.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input) -> ParseResult<'_, MemType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_locals` is never used [INFO] [stdout] --> src/binary/sections.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_instructions` is never used [INFO] [stdout] --> src/binary/sections.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr` is never used [INFO] [stdout] --> src/binary/sections.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input) -> ParseResult<'_, Expr> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_code` is never used [INFO] [stdout] --> src/binary/sections.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input) -> ParseResult<'_, Code> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_code_section` is never used [INFO] [stdout] --> src/binary/sections.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_leb128_u32` is never used [INFO] [stdout] --> src/binary/sections.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_leb128_i32` is never used [INFO] [stdout] --> src/binary/sections.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AdminInstr` is never used [INFO] [stdout] --> src/cont.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum AdminInstr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/cont.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Config(AdminInstr, Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_i32` is never used [INFO] [stdout] --> src/cont.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | impl_val!(val_i32, I32, i32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_f32` is never used [INFO] [stdout] --> src/cont.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | impl_val!(val_f32, F32, f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/cont.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used [INFO] [stdout] --> src/cont.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Instance { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn run(&mut self, instrs: &Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn step<'a>(&mut self, config: Config<&'a [Instr]>) -> Config<&'a [Instr]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/cont.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn indent(mut i: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cont` is never used [INFO] [stdout] --> src/cont.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn print_cont(k: &AdminInstr, n: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config` is never used [INFO] [stdout] --> src/cont.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn print_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expr` is never constructed [INFO] [stdout] --> src/module.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeSection` is never used [INFO] [stdout] --> src/module.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type TypeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> src/module.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImportDesc` is never used [INFO] [stdout] --> src/module.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ImportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ImportSection` is never used [INFO] [stdout] --> src/module.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ImportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FunctionSection` is never used [INFO] [stdout] --> src/module.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type FunctionSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/module.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableSection` is never used [INFO] [stdout] --> src/module.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TableSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/module.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemorySection` is never used [INFO] [stdout] --> src/module.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub type MemorySection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Global` is never constructed [INFO] [stdout] --> src/module.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalSection` is never used [INFO] [stdout] --> src/module.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub type GlobalSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Export` is never constructed [INFO] [stdout] --> src/module.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Export { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExportDesc` is never used [INFO] [stdout] --> src/module.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum ExportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExportSection` is never used [INFO] [stdout] --> src/module.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub type ExportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Start` is never constructed [INFO] [stdout] --> src/module.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Start { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/module.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ElemMode` is never used [INFO] [stdout] --> src/module.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum ElemMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElementSection` is never used [INFO] [stdout] --> src/module.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub type ElementSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Code` is never constructed [INFO] [stdout] --> src/module.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CodeSection` is never used [INFO] [stdout] --> src/module.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type CodeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/module.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataMode` is never used [INFO] [stdout] --> src/module.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum DataMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataSection` is never used [INFO] [stdout] --> src/module.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub type DataSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataCountSection` is never used [INFO] [stdout] --> src/module.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub type DataCountSection = Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomSection` is never constructed [INFO] [stdout] --> src/module.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct CustomSection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/module.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `module_imports`, `module_exports`, and `validate` are never used [INFO] [stdout] --> src/module.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 161 | /// Create an empty module [INFO] [stdout] 162 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn module_imports(&self) -> Vec<(String, String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn module_exports(&self) -> Vec<(String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncAddr` is never used [INFO] [stdout] --> src/module.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | pub type FuncAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableAddr` is never used [INFO] [stdout] --> src/module.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | pub type TableAddr = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemAddr` is never used [INFO] [stdout] --> src/module.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | pub type MemAddr = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalAddr` is never used [INFO] [stdout] --> src/module.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | pub type GlobalAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemAddr` is never used [INFO] [stdout] --> src/module.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type ElemAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataAddr` is never used [INFO] [stdout] --> src/module.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub type DataAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/module.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/module.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl Store { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 247 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FuncInst` is never used [INFO] [stdout] --> src/module.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum FuncInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ModuleAddr` is never used [INFO] [stdout] --> src/module.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | pub type ModuleAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostFunc` is never constructed [INFO] [stdout] --> src/module.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct HostFunc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableInst` is never constructed [INFO] [stdout] --> src/module.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct TableInst { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ref` is never used [INFO] [stdout] --> src/module.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | pub enum Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemInst` is never constructed [INFO] [stdout] --> src/module.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct MemInst { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalInst` is never constructed [INFO] [stdout] --> src/module.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct GlobalInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemInst` is never constructed [INFO] [stdout] --> src/module.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct ElemInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataInst` is never constructed [INFO] [stdout] --> src/module.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct DataInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleInst` is never constructed [INFO] [stdout] --> src/module.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ModuleInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportInst` is never constructed [INFO] [stdout] --> src/module.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct ExportInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternVal` is never used [INFO] [stdout] --> src/module.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | pub enum ExternVal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_decode` is never used [INFO] [stdout] --> src/module.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn module_decode(_bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_instantiate` is never used [INFO] [stdout] --> src/module.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn module_instantiate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_invoke` is never used [INFO] [stdout] --> src/module.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn func_invoke( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_type` is never used [INFO] [stdout] --> src/module.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn func_type(store: &Store, func_addr: FuncAddr) -> &FuncType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_alloc_host` is never used [INFO] [stdout] --> src/module.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn func_alloc_host(store: &mut Store, func_type: FuncType, host_func: HostFunc) -> FuncAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_read` is never used [INFO] [stdout] --> src/module.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn table_read(store: &Store, table_addr: TableAddr, index: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_write` is never used [INFO] [stdout] --> src/module.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn table_write( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_size` is never used [INFO] [stdout] --> src/module.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn table_size(store: &Store, table_addr: TableAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_grow` is never used [INFO] [stdout] --> src/module.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn table_grow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_read` is never used [INFO] [stdout] --> src/module.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn mem_read(store: &Store, mem_addr: MemAddr, offset: u32, len: u32) -> Result<&[u8], String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_write` is never used [INFO] [stdout] --> src/module.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn mem_write( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_size` is never used [INFO] [stdout] --> src/module.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn mem_size(store: &Store, mem_addr: MemAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_grow` is never used [INFO] [stdout] --> src/module.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn mem_grow(_store: &mut Store, _mem_addr: MemAddr, _delta: u32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_read` is never used [INFO] [stdout] --> src/module.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn global_read(store: &Store, global_addr: GlobalAddr) -> Val { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_write` is never used [INFO] [stdout] --> src/module.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn global_write(store: &mut Store, global_addr: GlobalAddr, val: Val) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValType` is never used [INFO] [stdout] --> src/types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ValType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefType` is never used [INFO] [stdout] --> src/types.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum RefType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ty` is never used [INFO] [stdout] --> src/types.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Ty { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuncType` is never constructed [INFO] [stdout] --> src/types.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct FuncType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Limits` is never constructed [INFO] [stdout] --> src/types.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Limits { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableType` is never constructed [INFO] [stdout] --> src/types.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct TableType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemType` is never constructed [INFO] [stdout] --> src/types.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MemType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutability` is never used [INFO] [stdout] --> src/types.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Mutability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalType` is never constructed [INFO] [stdout] --> src/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct GlobalType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternType` is never used [INFO] [stdout] --> src/types.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum ExternType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `func_tys` is never used [INFO] [stdout] --> src/types.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Ty { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 102 | pub fn func_tys(&self) -> (&[Ty], &[Ty]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeIdx` is never used [INFO] [stdout] --> src/types.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub type TypeIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncIdx` is never used [INFO] [stdout] --> src/types.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | pub type FuncIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableIdx` is never used [INFO] [stdout] --> src/types.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub type TableIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemIdx` is never used [INFO] [stdout] --> src/types.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub type MemIdx = u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalIdx` is never used [INFO] [stdout] --> src/types.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub type GlobalIdx = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemIdx` is never used [INFO] [stdout] --> src/types.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub type ElemIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataIdx` is never used [INFO] [stdout] --> src/types.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub type DataIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocalIdx` is never used [INFO] [stdout] --> src/types.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub type LocalIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LabelIdx` is never used [INFO] [stdout] --> src/types.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub type LabelIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockType` is never used [INFO] [stdout] --> src/types.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum BlockType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instr` is never used [INFO] [stdout] --> src/types.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum Instr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Val` is never used [INFO] [stdout] --> src/types.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_type` is never used [INFO] [stdout] --> src/types.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn block_type>(ind_tys: &I, ty: &BlockType) -> Ty { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input<'_>) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input) -> ParseResult<'_, ValType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input<'_>) -> ParseResult<'_, ValType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input) -> ParseResult<'_, RefType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input<'_>) -> ParseResult<'_, RefType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input<'_>) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input) -> ParseResult<'_, Limits> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input<'_>) -> ParseResult<'_, Limits> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input) -> ParseResult<'_, TableType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input<'_>) -> ParseResult<'_, TableType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input) -> ParseResult<'_, MemType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input<'_>) -> ParseResult<'_, MemType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input) -> ParseResult<'_, Expr> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input<'_>) -> ParseResult<'_, Expr> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input) -> ParseResult<'_, Code> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input<'_>) -> ParseResult<'_, Code> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:267:34 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cont.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | AdminInstr::Label(i, vs, es, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryError`, `Located`, `ParseResult`, and `SourceLocation` [INFO] [stdout] --> src/binary/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub use error::{BinaryError, Located, ParseResult, SourceLocation}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryError`, `Located`, `ParseResult`, and `SourceLocation` [INFO] [stdout] --> src/binary/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub use error::{BinaryError, Located, ParseResult, SourceLocation}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbl` [INFO] [stdout] --> src/main.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | if let StackItem::Label(lbl) = &self.stack[i] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lbl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_instrs` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn nested_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_func_rets` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn n_func_rets(ty: &Ty) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `halt` is never read [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 153 | stack: Vec, [INFO] [stdout] 154 | halt: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_i64`, `push_f32`, `push_f64`, `pop_i64`, `pop_f32`, and `pop_f64` are never used [INFO] [stdout] --> src/main.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 160 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | i32, push_i32, I32, i64, push_i64, I64, f32, push_f32, F32, f64, push_f64, F64, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | impl_stack_pop!(i32, pop_i32, I32, i64, pop_i64, I64, f32, pop_f32, F32, f64, pop_f64, F64,); [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_stack_push` which comes from the expansion of the macro `impl_stack_pop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryError` is never used [INFO] [stdout] --> src/binary/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum BinaryError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `location` and `value` are never used [INFO] [stdout] --> src/binary/error.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Located { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn location(&self) -> &SourceLocation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_location` is never used [INFO] [stdout] --> src/binary/error.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn with_location<'a, T, P, O>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capture_location` is never used [INFO] [stdout] --> src/binary/error.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn capture_location<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_f32` is never used [INFO] [stdout] --> src/cont.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | impl_val!(val_f32, F32, f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/cont.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn indent(mut i: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cont` is never used [INFO] [stdout] --> src/cont.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn print_cont(k: &AdminInstr, n: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config` is never used [INFO] [stdout] --> src/cont.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn print_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeSection` is never used [INFO] [stdout] --> src/module.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type TypeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> src/module.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImportDesc` is never used [INFO] [stdout] --> src/module.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ImportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ImportSection` is never used [INFO] [stdout] --> src/module.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ImportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FunctionSection` is never used [INFO] [stdout] --> src/module.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type FunctionSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/module.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableSection` is never used [INFO] [stdout] --> src/module.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TableSection = Vec
; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/module.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemorySection` is never used [INFO] [stdout] --> src/module.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub type MemorySection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Global` is never constructed [INFO] [stdout] --> src/module.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalSection` is never used [INFO] [stdout] --> src/module.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub type GlobalSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Export` is never constructed [INFO] [stdout] --> src/module.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Export { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExportDesc` is never used [INFO] [stdout] --> src/module.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum ExportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExportSection` is never used [INFO] [stdout] --> src/module.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub type ExportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Start` is never constructed [INFO] [stdout] --> src/module.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Start { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/module.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ElemMode` is never used [INFO] [stdout] --> src/module.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum ElemMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElementSection` is never used [INFO] [stdout] --> src/module.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub type ElementSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CodeSection` is never used [INFO] [stdout] --> src/module.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type CodeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/module.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataMode` is never used [INFO] [stdout] --> src/module.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum DataMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataSection` is never used [INFO] [stdout] --> src/module.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub type DataSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataCountSection` is never used [INFO] [stdout] --> src/module.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub type DataCountSection = Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomSection` is never constructed [INFO] [stdout] --> src/module.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct CustomSection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/module.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `module_imports`, `module_exports`, and `validate` are never used [INFO] [stdout] --> src/module.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 161 | /// Create an empty module [INFO] [stdout] 162 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn module_imports(&self) -> Vec<(String, String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn module_exports(&self) -> Vec<(String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncAddr` is never used [INFO] [stdout] --> src/module.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | pub type FuncAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableAddr` is never used [INFO] [stdout] --> src/module.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | pub type TableAddr = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemAddr` is never used [INFO] [stdout] --> src/module.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | pub type MemAddr = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalAddr` is never used [INFO] [stdout] --> src/module.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | pub type GlobalAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemAddr` is never used [INFO] [stdout] --> src/module.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type ElemAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataAddr` is never used [INFO] [stdout] --> src/module.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub type DataAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/module.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/module.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl Store { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 247 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FuncInst` is never used [INFO] [stdout] --> src/module.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum FuncInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ModuleAddr` is never used [INFO] [stdout] --> src/module.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | pub type ModuleAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostFunc` is never constructed [INFO] [stdout] --> src/module.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct HostFunc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableInst` is never constructed [INFO] [stdout] --> src/module.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct TableInst { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ref` is never used [INFO] [stdout] --> src/module.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | pub enum Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemInst` is never constructed [INFO] [stdout] --> src/module.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct MemInst { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalInst` is never constructed [INFO] [stdout] --> src/module.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct GlobalInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemInst` is never constructed [INFO] [stdout] --> src/module.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct ElemInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataInst` is never constructed [INFO] [stdout] --> src/module.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct DataInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleInst` is never constructed [INFO] [stdout] --> src/module.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ModuleInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportInst` is never constructed [INFO] [stdout] --> src/module.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct ExportInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternVal` is never used [INFO] [stdout] --> src/module.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | pub enum ExternVal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_decode` is never used [INFO] [stdout] --> src/module.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn module_decode(_bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_instantiate` is never used [INFO] [stdout] --> src/module.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn module_instantiate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_invoke` is never used [INFO] [stdout] --> src/module.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn func_invoke( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_type` is never used [INFO] [stdout] --> src/module.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn func_type(store: &Store, func_addr: FuncAddr) -> &FuncType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_alloc_host` is never used [INFO] [stdout] --> src/module.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn func_alloc_host(store: &mut Store, func_type: FuncType, host_func: HostFunc) -> FuncAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_read` is never used [INFO] [stdout] --> src/module.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn table_read(store: &Store, table_addr: TableAddr, index: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_write` is never used [INFO] [stdout] --> src/module.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn table_write( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_size` is never used [INFO] [stdout] --> src/module.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn table_size(store: &Store, table_addr: TableAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_grow` is never used [INFO] [stdout] --> src/module.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn table_grow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_read` is never used [INFO] [stdout] --> src/module.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn mem_read(store: &Store, mem_addr: MemAddr, offset: u32, len: u32) -> Result<&[u8], String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_write` is never used [INFO] [stdout] --> src/module.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn mem_write( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_size` is never used [INFO] [stdout] --> src/module.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn mem_size(store: &Store, mem_addr: MemAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_grow` is never used [INFO] [stdout] --> src/module.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn mem_grow(_store: &mut Store, _mem_addr: MemAddr, _delta: u32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_read` is never used [INFO] [stdout] --> src/module.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn global_read(store: &Store, global_addr: GlobalAddr) -> Val { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_write` is never used [INFO] [stdout] --> src/module.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn global_write(store: &mut Store, global_addr: GlobalAddr, val: Val) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I64`, `F32`, and `F64` are never constructed [INFO] [stdout] --> src/types.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 27 | I32, [INFO] [stdout] 28 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | F32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | F64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutability` is never used [INFO] [stdout] --> src/types.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Mutability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalType` is never constructed [INFO] [stdout] --> src/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct GlobalType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternType` is never used [INFO] [stdout] --> src/types.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum ExternType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeIdx` is never used [INFO] [stdout] --> src/types.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub type TypeIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncIdx` is never used [INFO] [stdout] --> src/types.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | pub type FuncIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableIdx` is never used [INFO] [stdout] --> src/types.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub type TableIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemIdx` is never used [INFO] [stdout] --> src/types.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub type MemIdx = u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalIdx` is never used [INFO] [stdout] --> src/types.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub type GlobalIdx = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemIdx` is never used [INFO] [stdout] --> src/types.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub type ElemIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataIdx` is never used [INFO] [stdout] --> src/types.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub type DataIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocalIdx` is never used [INFO] [stdout] --> src/types.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub type LocalIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LabelIdx` is never used [INFO] [stdout] --> src/types.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub type LabelIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Index` is never constructed [INFO] [stdout] --> src/types.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum BlockType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 126 | Empty, [INFO] [stdout] 127 | Index(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unreachable` is never constructed [INFO] [stdout] --> src/types.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum Instr { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 133 | Unreachable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I64`, `F32`, `F64`, and `NULL` are never constructed [INFO] [stdout] --> src/types.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum Val { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 152 | I32(i32), [INFO] [stdout] 153 | I64(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 154 | F32(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 155 | F64(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 156 | NULL(Ty), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input<'_>) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input) -> ParseResult<'_, ValType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input<'_>) -> ParseResult<'_, ValType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input) -> ParseResult<'_, RefType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input<'_>) -> ParseResult<'_, RefType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input<'_>) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input) -> ParseResult<'_, Limits> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input<'_>) -> ParseResult<'_, Limits> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input) -> ParseResult<'_, TableType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input<'_>) -> ParseResult<'_, TableType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input) -> ParseResult<'_, MemType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input<'_>) -> ParseResult<'_, MemType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input) -> ParseResult<'_, Expr> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input<'_>) -> ParseResult<'_, Expr> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input) -> ParseResult<'_, Code> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input<'_>) -> ParseResult<'_, Code> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:267:34 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cont.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | AdminInstr::Label(i, vs, es, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbl` [INFO] [stdout] --> src/main.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | if let StackItem::Label(lbl) = &self.stack[i] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lbl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Label` is never used [INFO] [stdout] --> src/main.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `num_rets` is never used [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Label { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | fn num_rets(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StackItem` is never used [INFO] [stdout] --> src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum StackItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_instrs` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn nested_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_instrs` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn block_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_func_rets` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn n_func_rets(ty: &Ty) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/main.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct Level<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `instr` are never used [INFO] [stdout] --> src/main.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> Level<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 90 | fn new(instrs: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn instr(&self) -> &'a Instr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InstrCursor` is never used [INFO] [stdout] --> src/main.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | trait InstrCursor<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/main.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 161 | fn new() -> VM { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn run(&mut self, instrs: &Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn step<'a>(&mut self, instr: &'a Instr, cursor: &mut Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn result(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn push(&mut self, item: StackItem) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn pop(&mut self) -> StackItem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | i32, push_i32, I32, i64, push_i64, I64, f32, push_f32, F32, f64, push_f64, F64, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | impl_stack_pop!(i32, pop_i32, I32, i64, pop_i64, I64, f32, pop_f32, F32, f64, pop_f64, F64,); [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] 296 | [INFO] [stdout] 297 | fn pop_label(&mut self, mut n_labels: usize) -> (Label, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_stack_push` which comes from the expansion of the macro `impl_stack_pop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/binary/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type ParseResult<'a, O> = IResult<&'a [u8], O, NomError<&'a [u8]>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryError` is never used [INFO] [stdout] --> src/binary/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum BinaryError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceLocation` is never constructed [INFO] [stdout] --> src/binary/error.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SourceLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_slice`, `end`, and `contains` are never used [INFO] [stdout] --> src/binary/error.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl SourceLocation { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(offset: usize, length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_slice<'a>(base: &'a [u8], slice: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn end(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn contains(&self, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Located` is never constructed [INFO] [stdout] --> src/binary/error.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Located { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_parse`, `map`, `location`, `value`, and `into_inner` are never used [INFO] [stdout] --> src/binary/error.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Located { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 66 | pub fn new(value: T, location: SourceLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_parse<'a>(base: &'a [u8], value: T, remaining: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn map(self, f: F) -> Located [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn location(&self) -> &SourceLocation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_location` is never used [INFO] [stdout] --> src/binary/error.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn with_location<'a, T, P, O>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capture_location` is never used [INFO] [stdout] --> src/binary/error.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn capture_location<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/binary/leb128.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Input<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_u32` is never used [INFO] [stdout] --> src/binary/leb128.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decode_u32(input: Input) -> nom::IResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_i32` is never used [INFO] [stdout] --> src/binary/leb128.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_i32(input: Input) -> nom::IResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_u32` is never used [INFO] [stdout] --> src/binary/leb128.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn encode_u32(value: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_i32` is never used [INFO] [stdout] --> src/binary/leb128.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn encode_i32(value: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/binary/primitives.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Input<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_byte` is never used [INFO] [stdout] --> src/binary/primitives.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_magic` is never used [INFO] [stdout] --> src/binary/primitives.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_version` is never used [INFO] [stdout] --> src/binary/primitives.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_section_header` is never used [INFO] [stdout] --> src/binary/primitives.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name` is never used [INFO] [stdout] --> src/binary/primitives.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_leb128_u32` is never used [INFO] [stdout] --> src/binary/primitives.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/binary/sections.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Input<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vec` is never used [INFO] [stdout] --> src/binary/sections.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_vec<'a, T, F>(input: Input<'a>, parser: F) -> ParseResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_valtype` is never used [INFO] [stdout] --> src/binary/sections.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input) -> ParseResult<'_, ValType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_reftype` is never used [INFO] [stdout] --> src/binary/sections.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input) -> ParseResult<'_, RefType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_functype` is never used [INFO] [stdout] --> src/binary/sections.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_type_section` is never used [INFO] [stdout] --> src/binary/sections.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_function_section` is never used [INFO] [stdout] --> src/binary/sections.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_limits` is never used [INFO] [stdout] --> src/binary/sections.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input) -> ParseResult<'_, Limits> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tabletype` is never used [INFO] [stdout] --> src/binary/sections.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input) -> ParseResult<'_, TableType> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_memtype` is never used [INFO] [stdout] --> src/binary/sections.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input) -> ParseResult<'_, MemType> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_locals` is never used [INFO] [stdout] --> src/binary/sections.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_instructions` is never used [INFO] [stdout] --> src/binary/sections.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr` is never used [INFO] [stdout] --> src/binary/sections.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input) -> ParseResult<'_, Expr> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_code` is never used [INFO] [stdout] --> src/binary/sections.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input) -> ParseResult<'_, Code> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_code_section` is never used [INFO] [stdout] --> src/binary/sections.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_leb128_u32` is never used [INFO] [stdout] --> src/binary/sections.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_leb128_i32` is never used [INFO] [stdout] --> src/binary/sections.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AdminInstr` is never used [INFO] [stdout] --> src/cont.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum AdminInstr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/cont.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Config(AdminInstr, Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_i32` is never used [INFO] [stdout] --> src/cont.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | impl_val!(val_i32, I32, i32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cont.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | AdminInstr::Label(i, vs, es, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_f32` is never used [INFO] [stdout] --> src/cont.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | impl_val!(val_f32, F32, f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/cont.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used [INFO] [stdout] --> src/cont.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Instance { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn run(&mut self, instrs: &Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn step<'a>(&mut self, config: Config<&'a [Instr]>) -> Config<&'a [Instr]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/cont.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn indent(mut i: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cont` is never used [INFO] [stdout] --> src/cont.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn print_cont(k: &AdminInstr, n: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config` is never used [INFO] [stdout] --> src/cont.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn print_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expr` is never constructed [INFO] [stdout] --> src/module.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeSection` is never used [INFO] [stdout] --> src/module.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type TypeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> src/module.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImportDesc` is never used [INFO] [stdout] --> src/module.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ImportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ImportSection` is never used [INFO] [stdout] --> src/module.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ImportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FunctionSection` is never used [INFO] [stdout] --> src/module.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type FunctionSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/module.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableSection` is never used [INFO] [stdout] --> src/module.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TableSection = Vec
; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/module.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemorySection` is never used [INFO] [stdout] --> src/module.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub type MemorySection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Global` is never constructed [INFO] [stdout] --> src/module.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalSection` is never used [INFO] [stdout] --> src/module.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub type GlobalSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Export` is never constructed [INFO] [stdout] --> src/module.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Export { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExportDesc` is never used [INFO] [stdout] --> src/module.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum ExportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExportSection` is never used [INFO] [stdout] --> src/module.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub type ExportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Start` is never constructed [INFO] [stdout] --> src/module.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Start { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/module.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ElemMode` is never used [INFO] [stdout] --> src/module.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum ElemMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElementSection` is never used [INFO] [stdout] --> src/module.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub type ElementSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Code` is never constructed [INFO] [stdout] --> src/module.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CodeSection` is never used [INFO] [stdout] --> src/module.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type CodeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/module.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataMode` is never used [INFO] [stdout] --> src/module.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum DataMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataSection` is never used [INFO] [stdout] --> src/module.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub type DataSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataCountSection` is never used [INFO] [stdout] --> src/module.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub type DataCountSection = Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomSection` is never constructed [INFO] [stdout] --> src/module.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct CustomSection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/module.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `module_imports`, `module_exports`, and `validate` are never used [INFO] [stdout] --> src/module.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 161 | /// Create an empty module [INFO] [stdout] 162 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn module_imports(&self) -> Vec<(String, String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn module_exports(&self) -> Vec<(String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncAddr` is never used [INFO] [stdout] --> src/module.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | pub type FuncAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableAddr` is never used [INFO] [stdout] --> src/module.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | pub type TableAddr = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemAddr` is never used [INFO] [stdout] --> src/module.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | pub type MemAddr = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalAddr` is never used [INFO] [stdout] --> src/module.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | pub type GlobalAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemAddr` is never used [INFO] [stdout] --> src/module.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type ElemAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataAddr` is never used [INFO] [stdout] --> src/module.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub type DataAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/module.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/module.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl Store { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 247 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FuncInst` is never used [INFO] [stdout] --> src/module.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum FuncInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ModuleAddr` is never used [INFO] [stdout] --> src/module.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | pub type ModuleAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostFunc` is never constructed [INFO] [stdout] --> src/module.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct HostFunc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableInst` is never constructed [INFO] [stdout] --> src/module.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct TableInst { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ref` is never used [INFO] [stdout] --> src/module.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | pub enum Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemInst` is never constructed [INFO] [stdout] --> src/module.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct MemInst { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalInst` is never constructed [INFO] [stdout] --> src/module.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct GlobalInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemInst` is never constructed [INFO] [stdout] --> src/module.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct ElemInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataInst` is never constructed [INFO] [stdout] --> src/module.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct DataInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleInst` is never constructed [INFO] [stdout] --> src/module.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ModuleInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportInst` is never constructed [INFO] [stdout] --> src/module.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct ExportInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternVal` is never used [INFO] [stdout] --> src/module.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | pub enum ExternVal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_decode` is never used [INFO] [stdout] --> src/module.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn module_decode(_bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_instantiate` is never used [INFO] [stdout] --> src/module.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn module_instantiate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_invoke` is never used [INFO] [stdout] --> src/module.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn func_invoke( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_type` is never used [INFO] [stdout] --> src/module.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn func_type(store: &Store, func_addr: FuncAddr) -> &FuncType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_alloc_host` is never used [INFO] [stdout] --> src/module.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn func_alloc_host(store: &mut Store, func_type: FuncType, host_func: HostFunc) -> FuncAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_read` is never used [INFO] [stdout] --> src/module.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn table_read(store: &Store, table_addr: TableAddr, index: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_write` is never used [INFO] [stdout] --> src/module.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn table_write( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_size` is never used [INFO] [stdout] --> src/module.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn table_size(store: &Store, table_addr: TableAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_grow` is never used [INFO] [stdout] --> src/module.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn table_grow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_read` is never used [INFO] [stdout] --> src/module.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn mem_read(store: &Store, mem_addr: MemAddr, offset: u32, len: u32) -> Result<&[u8], String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_write` is never used [INFO] [stdout] --> src/module.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn mem_write( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_size` is never used [INFO] [stdout] --> src/module.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn mem_size(store: &Store, mem_addr: MemAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_grow` is never used [INFO] [stdout] --> src/module.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn mem_grow(_store: &mut Store, _mem_addr: MemAddr, _delta: u32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_read` is never used [INFO] [stdout] --> src/module.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn global_read(store: &Store, global_addr: GlobalAddr) -> Val { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_write` is never used [INFO] [stdout] --> src/module.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn global_write(store: &mut Store, global_addr: GlobalAddr, val: Val) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValType` is never used [INFO] [stdout] --> src/types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ValType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefType` is never used [INFO] [stdout] --> src/types.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum RefType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ty` is never used [INFO] [stdout] --> src/types.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Ty { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuncType` is never constructed [INFO] [stdout] --> src/types.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct FuncType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Limits` is never constructed [INFO] [stdout] --> src/types.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Limits { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableType` is never constructed [INFO] [stdout] --> src/types.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct TableType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemType` is never constructed [INFO] [stdout] --> src/types.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MemType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutability` is never used [INFO] [stdout] --> src/types.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Mutability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalType` is never constructed [INFO] [stdout] --> src/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct GlobalType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternType` is never used [INFO] [stdout] --> src/types.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum ExternType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `func_tys` is never used [INFO] [stdout] --> src/types.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Ty { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 102 | pub fn func_tys(&self) -> (&[Ty], &[Ty]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeIdx` is never used [INFO] [stdout] --> src/types.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub type TypeIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncIdx` is never used [INFO] [stdout] --> src/types.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | pub type FuncIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableIdx` is never used [INFO] [stdout] --> src/types.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub type TableIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemIdx` is never used [INFO] [stdout] --> src/types.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub type MemIdx = u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalIdx` is never used [INFO] [stdout] --> src/types.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub type GlobalIdx = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemIdx` is never used [INFO] [stdout] --> src/types.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub type ElemIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataIdx` is never used [INFO] [stdout] --> src/types.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub type DataIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocalIdx` is never used [INFO] [stdout] --> src/types.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub type LocalIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LabelIdx` is never used [INFO] [stdout] --> src/types.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub type LabelIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockType` is never used [INFO] [stdout] --> src/types.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum BlockType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instr` is never used [INFO] [stdout] --> src/types.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum Instr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Val` is never used [INFO] [stdout] --> src/types.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_type` is never used [INFO] [stdout] --> src/types.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn block_type>(ind_tys: &I, ty: &BlockType) -> Ty { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input<'_>) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input) -> ParseResult<'_, ValType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input<'_>) -> ParseResult<'_, ValType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input) -> ParseResult<'_, RefType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input<'_>) -> ParseResult<'_, RefType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input<'_>) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input) -> ParseResult<'_, Limits> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input<'_>) -> ParseResult<'_, Limits> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input) -> ParseResult<'_, TableType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input<'_>) -> ParseResult<'_, TableType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input) -> ParseResult<'_, MemType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input<'_>) -> ParseResult<'_, MemType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input) -> ParseResult<'_, Expr> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input<'_>) -> ParseResult<'_, Expr> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input) -> ParseResult<'_, Code> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input<'_>) -> ParseResult<'_, Code> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:267:34 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbl` [INFO] [stdout] --> src/main.rs:300:37 [INFO] [stdout] | [INFO] [stdout] 300 | if let StackItem::Label(lbl) = &self.stack[i] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lbl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_instrs` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn nested_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_func_rets` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn n_func_rets(ty: &Ty) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `halt` is never read [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 153 | stack: Vec, [INFO] [stdout] 154 | halt: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_i64`, `push_f32`, `push_f64`, `pop_i64`, `pop_f32`, and `pop_f64` are never used [INFO] [stdout] --> src/main.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 160 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | i32, push_i32, I32, i64, push_i64, I64, f32, push_f32, F32, f64, push_f64, F64, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | impl_stack_pop!(i32, pop_i32, I32, i64, pop_i64, I64, f32, pop_f32, F32, f64, pop_f64, F64,); [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_stack_push` which comes from the expansion of the macro `impl_stack_pop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryError` is never used [INFO] [stdout] --> src/binary/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum BinaryError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `location` and `value` are never used [INFO] [stdout] --> src/binary/error.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Located { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn location(&self) -> &SourceLocation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_location` is never used [INFO] [stdout] --> src/binary/error.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn with_location<'a, T, P, O>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capture_location` is never used [INFO] [stdout] --> src/binary/error.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn capture_location<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_f32` is never used [INFO] [stdout] --> src/cont.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | impl_val!(val_f32, F32, f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/cont.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn indent(mut i: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cont` is never used [INFO] [stdout] --> src/cont.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn print_cont(k: &AdminInstr, n: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config` is never used [INFO] [stdout] --> src/cont.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn print_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeSection` is never used [INFO] [stdout] --> src/module.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type TypeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> src/module.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImportDesc` is never used [INFO] [stdout] --> src/module.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ImportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ImportSection` is never used [INFO] [stdout] --> src/module.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ImportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FunctionSection` is never used [INFO] [stdout] --> src/module.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type FunctionSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/module.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableSection` is never used [INFO] [stdout] --> src/module.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub type TableSection = Vec
; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/module.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemorySection` is never used [INFO] [stdout] --> src/module.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub type MemorySection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Global` is never constructed [INFO] [stdout] --> src/module.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalSection` is never used [INFO] [stdout] --> src/module.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub type GlobalSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Export` is never constructed [INFO] [stdout] --> src/module.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Export { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExportDesc` is never used [INFO] [stdout] --> src/module.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum ExportDesc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExportSection` is never used [INFO] [stdout] --> src/module.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub type ExportSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Start` is never constructed [INFO] [stdout] --> src/module.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Start { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/module.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ElemMode` is never used [INFO] [stdout] --> src/module.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum ElemMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElementSection` is never used [INFO] [stdout] --> src/module.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub type ElementSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CodeSection` is never used [INFO] [stdout] --> src/module.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type CodeSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/module.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataMode` is never used [INFO] [stdout] --> src/module.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum DataMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataSection` is never used [INFO] [stdout] --> src/module.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub type DataSection = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataCountSection` is never used [INFO] [stdout] --> src/module.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub type DataCountSection = Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomSection` is never constructed [INFO] [stdout] --> src/module.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct CustomSection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/module.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `module_imports`, `module_exports`, and `validate` are never used [INFO] [stdout] --> src/module.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 161 | /// Create an empty module [INFO] [stdout] 162 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn module_imports(&self) -> Vec<(String, String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn module_exports(&self) -> Vec<(String, ExternType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncAddr` is never used [INFO] [stdout] --> src/module.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | pub type FuncAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableAddr` is never used [INFO] [stdout] --> src/module.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | pub type TableAddr = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemAddr` is never used [INFO] [stdout] --> src/module.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | pub type MemAddr = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalAddr` is never used [INFO] [stdout] --> src/module.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | pub type GlobalAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemAddr` is never used [INFO] [stdout] --> src/module.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type ElemAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataAddr` is never used [INFO] [stdout] --> src/module.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub type DataAddr = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/module.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/module.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl Store { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 247 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FuncInst` is never used [INFO] [stdout] --> src/module.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum FuncInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ModuleAddr` is never used [INFO] [stdout] --> src/module.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | pub type ModuleAddr = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostFunc` is never constructed [INFO] [stdout] --> src/module.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct HostFunc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableInst` is never constructed [INFO] [stdout] --> src/module.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct TableInst { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ref` is never used [INFO] [stdout] --> src/module.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | pub enum Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemInst` is never constructed [INFO] [stdout] --> src/module.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct MemInst { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalInst` is never constructed [INFO] [stdout] --> src/module.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct GlobalInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemInst` is never constructed [INFO] [stdout] --> src/module.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct ElemInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataInst` is never constructed [INFO] [stdout] --> src/module.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct DataInst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleInst` is never constructed [INFO] [stdout] --> src/module.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ModuleInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportInst` is never constructed [INFO] [stdout] --> src/module.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct ExportInst { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternVal` is never used [INFO] [stdout] --> src/module.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | pub enum ExternVal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_decode` is never used [INFO] [stdout] --> src/module.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn module_decode(_bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_instantiate` is never used [INFO] [stdout] --> src/module.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn module_instantiate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_invoke` is never used [INFO] [stdout] --> src/module.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn func_invoke( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_type` is never used [INFO] [stdout] --> src/module.rs:395:8 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn func_type(store: &Store, func_addr: FuncAddr) -> &FuncType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_alloc_host` is never used [INFO] [stdout] --> src/module.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn func_alloc_host(store: &mut Store, func_type: FuncType, host_func: HostFunc) -> FuncAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_read` is never used [INFO] [stdout] --> src/module.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn table_read(store: &Store, table_addr: TableAddr, index: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_write` is never used [INFO] [stdout] --> src/module.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn table_write( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_size` is never used [INFO] [stdout] --> src/module.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn table_size(store: &Store, table_addr: TableAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_grow` is never used [INFO] [stdout] --> src/module.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn table_grow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_read` is never used [INFO] [stdout] --> src/module.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn mem_read(store: &Store, mem_addr: MemAddr, offset: u32, len: u32) -> Result<&[u8], String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_write` is never used [INFO] [stdout] --> src/module.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn mem_write( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_size` is never used [INFO] [stdout] --> src/module.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn mem_size(store: &Store, mem_addr: MemAddr) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_grow` is never used [INFO] [stdout] --> src/module.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn mem_grow(_store: &mut Store, _mem_addr: MemAddr, _delta: u32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_read` is never used [INFO] [stdout] --> src/module.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn global_read(store: &Store, global_addr: GlobalAddr) -> Val { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_write` is never used [INFO] [stdout] --> src/module.rs:500:8 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn global_write(store: &mut Store, global_addr: GlobalAddr, val: Val) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I64`, `F32`, and `F64` are never constructed [INFO] [stdout] --> src/types.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 27 | I32, [INFO] [stdout] 28 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | F32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | F64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutability` is never used [INFO] [stdout] --> src/types.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Mutability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalType` is never constructed [INFO] [stdout] --> src/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct GlobalType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternType` is never used [INFO] [stdout] --> src/types.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum ExternType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypeIdx` is never used [INFO] [stdout] --> src/types.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub type TypeIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FuncIdx` is never used [INFO] [stdout] --> src/types.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | pub type FuncIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableIdx` is never used [INFO] [stdout] --> src/types.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub type TableIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemIdx` is never used [INFO] [stdout] --> src/types.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub type MemIdx = u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GlobalIdx` is never used [INFO] [stdout] --> src/types.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub type GlobalIdx = u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ElemIdx` is never used [INFO] [stdout] --> src/types.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub type ElemIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] [stdout] warning: type alias `DataIdx` is never used [INFO] [stdout] --> src/types.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub type DataIdx = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocalIdx` is never used [INFO] [stdout] --> src/types.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub type LocalIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LabelIdx` is never used [INFO] [stdout] --> src/types.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub type LabelIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Index` is never constructed [INFO] [stdout] --> src/types.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum BlockType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 126 | Empty, [INFO] [stdout] 127 | Index(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unreachable` is never constructed [INFO] [stdout] --> src/types.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum Instr { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 133 | Unreachable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I64`, `F32`, `F64`, and `NULL` are never constructed [INFO] [stdout] --> src/types.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum Val { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 152 | I32(i32), [INFO] [stdout] 153 | I64(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 154 | F32(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 155 | F64(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 156 | NULL(Ty), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_byte(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_magic(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse_version(input: Input<'_>) -> ParseResult<'_, Located<[u8; 4]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_section_header(input: Input<'_>) -> ParseResult<'_, (Located, Located)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_name(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/primitives.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input) -> ParseResult<'_, ValType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_valtype(input: Input<'_>) -> ParseResult<'_, ValType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input) -> ParseResult<'_, RefType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_reftype(input: Input<'_>) -> ParseResult<'_, RefType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_functype(input: Input<'_>) -> ParseResult<'_, FuncType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_type_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 105 | pub fn parse_function_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input) -> ParseResult<'_, Limits> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_limits(input: Input<'_>) -> ParseResult<'_, Limits> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input) -> ParseResult<'_, TableType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 147 | pub fn parse_tabletype(input: Input<'_>) -> ParseResult<'_, TableType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input) -> ParseResult<'_, MemType> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn parse_memtype(input: Input<'_>) -> ParseResult<'_, MemType> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn parse_locals(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_instructions(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input) -> ParseResult<'_, Expr> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 241 | pub fn parse_expr(input: Input<'_>) -> ParseResult<'_, Expr> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input) -> ParseResult<'_, Code> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_code(input: Input<'_>) -> ParseResult<'_, Code> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:267:34 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input) -> ParseResult<'_, Vec> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_code_section(input: Input<'_>) -> ParseResult<'_, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 275 | fn parse_leb128_u32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binary/sections.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input) -> ParseResult<'_, Located> { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_leb128_i32(input: Input<'_>) -> ParseResult<'_, Located> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eb6bdeacbee62d972bfc237f6570388111391996bbe3a9077aa7d95d9f3f0fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6bdeacbee62d972bfc237f6570388111391996bbe3a9077aa7d95d9f3f0fe2", kill_on_drop: false }` [INFO] [stdout] eb6bdeacbee62d972bfc237f6570388111391996bbe3a9077aa7d95d9f3f0fe2