[INFO] cloning repository https://github.com/portal-co/wars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/wars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3e2126a9db64a560b44d29139092a6e5e72a5b6 [INFO] testing portal-co/wars against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwars" "/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/portal-co/wars [INFO] finished tweaking git repo https://github.com/portal-co/wars [INFO] tweaked toml for git repo https://github.com/portal-co/wars written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/portal-co/wars on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/portal-co/wars 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/wars-rt/Cargo.toml: version requirement `0.3.0+portal` for dependency `portal-pc-tramp` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cb5d9bc2bb07d23840437d97aed7fc4725ec765f896aad84eb989463c434f03 [INFO] running `Command { std: "docker" "start" "-a" "4cb5d9bc2bb07d23840437d97aed7fc4725ec765f896aad84eb989463c434f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cb5d9bc2bb07d23840437d97aed7fc4725ec765f896aad84eb989463c434f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb5d9bc2bb07d23840437d97aed7fc4725ec765f896aad84eb989463c434f03", kill_on_drop: false }` [INFO] [stdout] 4cb5d9bc2bb07d23840437d97aed7fc4725ec765f896aad84eb989463c434f03 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d95e8b36bdccc1335623c7fb71ef3eb75201fcc7f48a5a119cc09ce3c587efc6 [INFO] running `Command { std: "docker" "start" "-a" "d95e8b36bdccc1335623c7fb71ef3eb75201fcc7f48a5a119cc09ce3c587efc6", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/wars-rt/Cargo.toml: version requirement `0.3.0+portal` for dependency `portal-pc-tramp` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arena-traits v0.2.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling polonius-the-crab v0.2.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cfg-traits v0.2.1 [INFO] [stderr] Compiling cfg-traits v0.3.0-alpha.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling ssa-traits v0.2.1 [INFO] [stderr] Compiling wasm-encoder v0.212.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling quasiquote-proc-macro v0.1.0 [INFO] [stderr] Compiling quasiquote v0.1.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling ext-trait-proc_macros v1.0.1 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling lending-iterator-proc_macros v0.1.7 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling ext-trait v1.0.1 [INFO] [stderr] Compiling extension-traits v1.0.1 [INFO] [stderr] Compiling relooper v0.1.0 [INFO] [stderr] Compiling wasm-encoder v0.221.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling lending-iterator v0.1.7 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ssa-traits v0.3.0-alpha.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling wast v221.0.2 [INFO] [stderr] Compiling portal-pc-tramp v0.3.0+portal [INFO] [stderr] Compiling tuple_list v0.1.3 [INFO] [stderr] Compiling isovariant v0.6.0 (/opt/rustwide/workdir/isovariant) [INFO] [stderr] Compiling wars-test v0.6.0 (/opt/rustwide/workdir/wars-test) [INFO] [stderr] Compiling ruzstd v0.5.0 [INFO] [stderr] Compiling pit-core v0.3.2 [INFO] [stderr] Compiling pit-rust-guest v0.3.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling wasmparser v0.212.0 [INFO] [stderr] Compiling wat v1.221.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling portal-pc-waffle v0.3.4 [INFO] [stderr] Compiling waffle-func-reloop v0.6.0 (/opt/rustwide/workdir/waffle-func-reloop) [INFO] [stderr] Compiling waffle-ast v0.4.2 [INFO] [stderr] Compiling wars v0.6.2 (/opt/rustwide/workdir/wars) [INFO] [stderr] Compiling pit-patch v0.3.2 [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> wars/src/lib.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, collections::{BTreeMap, BTreeSet}, convert::Infallible, f32::consts::E, iter::once, sync::{Arc, OnceLock} [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> wars/src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> wars/src/lib.rs:14:132 [INFO] [stdout] | [INFO] [stdout] 14 | ...rtKind, Func, HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Type, Value, WithNullable [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> wars/src/unswitch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 5 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> wars/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars/src/lib.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars/src/lib.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn exref_bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> wars/src/unswitch.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | mut params: impl Iterator, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut params = params.into_iter(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:789:55 [INFO] [stdout] | [INFO] [stdout] 789 | ... Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:801:55 [INFO] [stdout] | [INFO] [stdout] 801 | ... Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1166:44 [INFO] [stdout] | [INFO] [stdout] 1166 | let SignatureData::Func{params,returns} = fsig else{ [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> wars/src/lib.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | let cfg = CFGInfo::new(b); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig_index` [INFO] [stdout] --> wars/src/lib.rs:1212:48 [INFO] [stdout] | [INFO] [stdout] 1212 | value: HeapType::Sig { sig_index }, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `sig_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1308:13 [INFO] [stdout] | [INFO] [stdout] 1308 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> wars/src/lib.rs:1309:13 [INFO] [stdout] | [INFO] [stdout] 1309 | let data = format_ident!("{}Data", opts.name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> wars/src/lib.rs:1529:21 [INFO] [stdout] | [INFO] [stdout] 1529 | let pk = pk + 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1647:51 [INFO] [stdout] | [INFO] [stdout] 1647 | SignatureData::Func { params, returns } => params.iter().map( [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> wars/src/lib.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, collections::{BTreeMap, BTreeSet}, convert::Infallible, f32::consts::E, iter::once, sync::{Arc, OnceLock} [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> wars/src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> wars/src/lib.rs:14:132 [INFO] [stdout] | [INFO] [stdout] 14 | ...rtKind, Func, HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Type, Value, WithNullable [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> wars/src/unswitch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 5 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars-pit-plugin v0.6.0 (/opt/rustwide/workdir/wars-pit-plugin) [INFO] [stdout] warning: unused imports: `BTreeMap`, `Mutex`, `borrow::Cow`, `convert::Infallible`, and `f32::consts::E` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | sync::{Arc, Mutex, OnceLock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BranchMode`, `ShapedBlock`, and `reloop` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Lifetime` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use syn::{Ident, Lifetime}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `Block`, `ExportKind`, `Export`, `Func`, `ImportKind`, `Memory`, `Operator`, `SignatureData`, `Signature`, `Type`, `Value`, and `cfg::CFGInfo` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] 20 | Memory, Module, Operator, Signature, SignatureData, Type, Value, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> wars/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars/src/lib.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars/src/lib.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn exref_bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> wars/src/unswitch.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | mut params: impl Iterator, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut params = params.into_iter(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:789:55 [INFO] [stdout] | [INFO] [stdout] 789 | ... Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:801:55 [INFO] [stdout] | [INFO] [stdout] 801 | ... Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pit` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | value: TokenStream, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meth` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let meth = interface.and_then(|a| a.methods.get(name)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let root = &opts.crate_path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let name = opts.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | Some(r) => quasiquote! { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:59 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:65 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:49 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:53 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:63 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:69 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:59 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:62 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:71 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:76 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:61 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:65 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:75 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:81 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1166:44 [INFO] [stdout] | [INFO] [stdout] 1166 | let SignatureData::Func{params,returns} = fsig else{ [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> wars/src/lib.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | let cfg = CFGInfo::new(b); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig_index` [INFO] [stdout] --> wars/src/lib.rs:1212:48 [INFO] [stdout] | [INFO] [stdout] 1212 | value: HeapType::Sig { sig_index }, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `sig_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1308:13 [INFO] [stdout] | [INFO] [stdout] 1308 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> wars/src/lib.rs:1309:13 [INFO] [stdout] | [INFO] [stdout] 1309 | let data = format_ident!("{}Data", opts.name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> wars/src/lib.rs:1529:21 [INFO] [stdout] | [INFO] [stdout] 1529 | let pk = pk + 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1647:51 [INFO] [stdout] | [INFO] [stdout] 1647 | SignatureData::Func { params, returns } => params.iter().map( [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `Mutex`, `borrow::Cow`, `convert::Infallible`, and `f32::consts::E` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | sync::{Arc, Mutex, OnceLock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BranchMode`, `ShapedBlock`, and `reloop` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Lifetime` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use syn::{Ident, Lifetime}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `Block`, `ExportKind`, `Export`, `Func`, `ImportKind`, `Memory`, `Operator`, `SignatureData`, `Signature`, `Type`, `Value`, and `cfg::CFGInfo` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] 20 | Memory, Module, Operator, Signature, SignatureData, Type, Value, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pit` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | value: TokenStream, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meth` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let meth = interface.and_then(|a| a.methods.get(name)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let root = &opts.crate_path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let name = opts.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | Some(r) => quasiquote! { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:59 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:65 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:49 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:53 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:63 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:69 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:59 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:62 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:71 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:76 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:61 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:65 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:75 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:81 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars-macro v0.6.0 (/opt/rustwide/workdir/wars-macro) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> wars-macro/src/lib.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{parse::Parse, parse_macro_input, Ident, LitBool, Path, Token}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-file-expansion` [INFO] [stdout] --> wars-macro/src/lib.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | .dry(cfg!(feature = "no-file-expansion")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-file-expansion` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars-rt v0.6.0 (/opt/rustwide/workdir/wars-rt) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/func/unsync.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/func.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/lib.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | self.extend((0..x).map(|a| 0u8)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "d95e8b36bdccc1335623c7fb71ef3eb75201fcc7f48a5a119cc09ce3c587efc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95e8b36bdccc1335623c7fb71ef3eb75201fcc7f48a5a119cc09ce3c587efc6", kill_on_drop: false }` [INFO] [stdout] d95e8b36bdccc1335623c7fb71ef3eb75201fcc7f48a5a119cc09ce3c587efc6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82d6dd4a641b6168f14c8bbda2719a2c04bb7452d1bc9b4129a2dceeead65416 [INFO] running `Command { std: "docker" "start" "-a" "82d6dd4a641b6168f14c8bbda2719a2c04bb7452d1bc9b4129a2dceeead65416", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/wars-rt/Cargo.toml: version requirement `0.3.0+portal` for dependency `portal-pc-tramp` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling wasm-encoder v0.221.2 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> wars/src/lib.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, collections::{BTreeMap, BTreeSet}, convert::Infallible, f32::consts::E, iter::once, sync::{Arc, OnceLock} [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> wars/src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> wars/src/lib.rs:14:132 [INFO] [stdout] | [INFO] [stdout] 14 | ...rtKind, Func, HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Type, Value, WithNullable [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> wars/src/unswitch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 5 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> wars/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars/src/lib.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars/src/lib.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn exref_bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> wars/src/unswitch.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | mut params: impl Iterator, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut params = params.into_iter(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:789:55 [INFO] [stdout] | [INFO] [stdout] 789 | ... Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:801:55 [INFO] [stdout] | [INFO] [stdout] 801 | ... Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1166:44 [INFO] [stdout] | [INFO] [stdout] 1166 | let SignatureData::Func{params,returns} = fsig else{ [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> wars/src/lib.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | let cfg = CFGInfo::new(b); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig_index` [INFO] [stdout] --> wars/src/lib.rs:1212:48 [INFO] [stdout] | [INFO] [stdout] 1212 | value: HeapType::Sig { sig_index }, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `sig_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1308:13 [INFO] [stdout] | [INFO] [stdout] 1308 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> wars/src/lib.rs:1309:13 [INFO] [stdout] | [INFO] [stdout] 1309 | let data = format_ident!("{}Data", opts.name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> wars/src/lib.rs:1529:21 [INFO] [stdout] | [INFO] [stdout] 1529 | let pk = pk + 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1647:51 [INFO] [stdout] | [INFO] [stdout] 1647 | SignatureData::Func { params, returns } => params.iter().map( [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `Mutex`, `borrow::Cow`, `convert::Infallible`, and `f32::consts::E` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | sync::{Arc, Mutex, OnceLock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BranchMode`, `ShapedBlock`, and `reloop` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Lifetime` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use syn::{Ident, Lifetime}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `Block`, `ExportKind`, `Export`, `Func`, `ImportKind`, `Memory`, `Operator`, `SignatureData`, `Signature`, `Type`, `Value`, and `cfg::CFGInfo` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] 20 | Memory, Module, Operator, Signature, SignatureData, Type, Value, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pit` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | value: TokenStream, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meth` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let meth = interface.and_then(|a| a.methods.get(name)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let root = &opts.crate_path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let name = opts.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | Some(r) => quasiquote! { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:59 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:65 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:49 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:53 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:63 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:69 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:59 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:62 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:71 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:76 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:61 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:65 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:75 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:81 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> wars/src/lib.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, collections::{BTreeMap, BTreeSet}, convert::Infallible, f32::consts::E, iter::once, sync::{Arc, OnceLock} [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> wars/src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> wars/src/lib.rs:14:132 [INFO] [stdout] | [INFO] [stdout] 14 | ...rtKind, Func, HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Type, Value, WithNullable [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> wars/src/unswitch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 5 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> wars/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars/src/lib.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars/src/lib.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn exref_bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> wars/src/unswitch.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | mut params: impl Iterator, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut params = params.into_iter(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:789:55 [INFO] [stdout] | [INFO] [stdout] 789 | ... Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:801:55 [INFO] [stdout] | [INFO] [stdout] 801 | ... Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1166:44 [INFO] [stdout] | [INFO] [stdout] 1166 | let SignatureData::Func{params,returns} = fsig else{ [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> wars/src/lib.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | let cfg = CFGInfo::new(b); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig_index` [INFO] [stdout] --> wars/src/lib.rs:1212:48 [INFO] [stdout] | [INFO] [stdout] 1212 | value: HeapType::Sig { sig_index }, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `sig_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1308:13 [INFO] [stdout] | [INFO] [stdout] 1308 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> wars/src/lib.rs:1309:13 [INFO] [stdout] | [INFO] [stdout] 1309 | let data = format_ident!("{}Data", opts.name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> wars/src/lib.rs:1529:21 [INFO] [stdout] | [INFO] [stdout] 1529 | let pk = pk + 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1647:51 [INFO] [stdout] | [INFO] [stdout] 1647 | SignatureData::Func { params, returns } => params.iter().map( [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `Mutex`, `borrow::Cow`, `convert::Infallible`, and `f32::consts::E` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | sync::{Arc, Mutex, OnceLock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BranchMode`, `ShapedBlock`, and `reloop` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Lifetime` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use syn::{Ident, Lifetime}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `Block`, `ExportKind`, `Export`, `Func`, `ImportKind`, `Memory`, `Operator`, `SignatureData`, `Signature`, `Type`, `Value`, and `cfg::CFGInfo` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] 20 | Memory, Module, Operator, Signature, SignatureData, Type, Value, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pit` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | value: TokenStream, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meth` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let meth = interface.and_then(|a| a.methods.get(name)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let root = &opts.crate_path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let name = opts.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | Some(r) => quasiquote! { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:59 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:65 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:49 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:53 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:63 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:69 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:59 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:62 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:71 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:76 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:61 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:65 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:75 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars-pit-plugin v0.6.0 (/opt/rustwide/workdir/wars-pit-plugin) [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:81 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars v0.6.2 (/opt/rustwide/workdir/wars) [INFO] [stdout] warning: unused imports: `BTreeMap`, `Mutex`, `borrow::Cow`, `convert::Infallible`, and `f32::consts::E` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | sync::{Arc, Mutex, OnceLock}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BranchMode`, `ShapedBlock`, and `reloop` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Lifetime` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use syn::{Ident, Lifetime}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockTarget`, `Block`, `ExportKind`, `Export`, `Func`, `ImportKind`, `Memory`, `Operator`, `SignatureData`, `Signature`, `Type`, `Value`, and `cfg::CFGInfo` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] 20 | Memory, Module, Operator, Signature, SignatureData, Type, Value, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | cfg::CFGInfo, entity::EntityRef, Block, BlockTarget, Export, ExportKind, Func, ImportKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pit` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | fn pre(&self, pit: &PitPlugin, module: &mut Opts>) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | value: TokenStream, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(c) = e.choose_type(opts)? { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meth` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let meth = interface.and_then(|a| a.methods.get(name)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meth` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling waffle-func-reloop v0.6.0 (/opt/rustwide/workdir/waffle-func-reloop) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut f = params.next().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let root = &opts.crate_path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let name = opts.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | Some(r) => quasiquote! { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:59 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:329:65 [INFO] [stdout] | [INFO] [stdout] 329 | ... Arg::Resource { ty, nullable, take, ann } => quasiquote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:49 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:53 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:63 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:348:69 [INFO] [stdout] | [INFO] [stdout] 348 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:59 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:62 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:71 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:412:76 [INFO] [stdout] | [INFO] [stdout] 412 | ... Arg::Resource{ty,nullable,take,ann} => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:61 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:65 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `nullable: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:75 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^^ help: try ignoring the field: `take: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> wars-pit-plugin/src/lib.rs:434:81 [INFO] [stdout] | [INFO] [stdout] 434 | ... Arg::Resource { ty, nullable, take, ann } => quote!{ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars-test v0.6.0 (/opt/rustwide/workdir/wars-test) [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> wars/src/lib.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Cow, collections::{BTreeMap, BTreeSet}, convert::Infallible, f32::consts::E, iter::once, sync::{Arc, OnceLock} [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> wars/src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> wars/src/lib.rs:14:132 [INFO] [stdout] | [INFO] [stdout] 14 | ...rtKind, Func, HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Type, Value, WithNullable [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> wars/src/unswitch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 5 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling isovariant v0.6.0 (/opt/rustwide/workdir/isovariant) [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> wars/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> wars/src/lib.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wars/src/lib.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | fn mem_import(&self, opts: &Opts>, module: &str, name: &str) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> wars/src/lib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn exref_bounds(&self, opts: &Opts>) -> anyhow::Result>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> wars/src/unswitch.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let tz = f.type_pool.from_iter(empty()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | mut params: impl Iterator, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> wars/src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut params = params.into_iter(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> wars/src/lib.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let base = self.name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_ids` [INFO] [stdout] --> wars/src/lib.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let param_ids = params [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wast v221.0.2 [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:789:55 [INFO] [stdout] | [INFO] [stdout] 789 | ... Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> wars/src/lib.rs:801:55 [INFO] [stdout] | [INFO] [stdout] 801 | ... Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> wars/src/lib.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let root = self.crate_path.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1166:44 [INFO] [stdout] | [INFO] [stdout] 1166 | let SignatureData::Func{params,returns} = fsig else{ [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> wars/src/lib.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | let cfg = CFGInfo::new(b); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig_index` [INFO] [stdout] --> wars/src/lib.rs:1212:48 [INFO] [stdout] | [INFO] [stdout] 1212 | value: HeapType::Sig { sig_index }, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `sig_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1308:13 [INFO] [stdout] | [INFO] [stdout] 1308 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> wars/src/lib.rs:1309:13 [INFO] [stdout] | [INFO] [stdout] 1309 | let data = format_ident!("{}Data", opts.name); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_path` [INFO] [stdout] --> wars/src/lib.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | let internal_path = format_ident!("_{}_internal", opts.name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> wars/src/lib.rs:1529:21 [INFO] [stdout] | [INFO] [stdout] 1529 | let pk = pk + 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> wars/src/lib.rs:1647:51 [INFO] [stdout] | [INFO] [stdout] 1647 | SignatureData::Func { params, returns } => params.iter().map( [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wat v1.221.2 [INFO] [stderr] Compiling wars-macro v0.6.0 (/opt/rustwide/workdir/wars-macro) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> wars-macro/src/lib.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{parse::Parse, parse_macro_input, Ident, LitBool, Path, Token}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-file-expansion` [INFO] [stdout] --> wars-macro/src/lib.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | .dry(cfg!(feature = "no-file-expansion")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-file-expansion` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wars-rt v0.6.0 (/opt/rustwide/workdir/wars-rt) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/func/unsync.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/func.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/lib.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | self.extend((0..x).map(|a| 0u8)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/func/unsync.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/func.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> wars-rt/src/lib.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | self.extend((0..x).map(|a| 0u8)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] expander: writing /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> wars-macro/tests/b.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | file = "target/wasm32-unknown-unknown/debug/wars_test.wasm", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Wars` in this scope [INFO] [stdout] --> wars-macro/tests/b.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | fn x() {} [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> wars-macro/src/lib.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{parse::Parse, parse_macro_input, Ident, LitBool, Path, Token}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-file-expansion` [INFO] [stdout] --> wars-macro/src/lib.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | .dry(cfg!(feature = "no-file-expansion")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-file-expansion` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wars-macro` (test "b") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain 'b83b707f97d809763b7861afa7638871f3339a33'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] warning: label name `'cff` shadows a label name that is already in scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 119 | 'cff: loop { [INFO] [stdout] | ---- first declared here [INFO] [stdout] ... [INFO] [stdout] 143 | 'cff: loop { [INFO] [stdout] | ^^^^ label `'cff` already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: label name `'cff` shadows a label name that is already in scope [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 143 | ... 'cff: loop { [INFO] [stdout] | ---- first declared here [INFO] [stdout] ... [INFO] [stdout] 156 | ... 'cff: loop { [INFO] [stdout] | ^^^^ label `'cff` already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::wars_rt::Memory` [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ::wars_rt::Memory; [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 label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | 'l0: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | 'l1: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 'l0: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | 'l1: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | 'l2: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | ... 'l3: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:159:57 [INFO] [stdout] | [INFO] [stdout] 159 | ... 'l4: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | 'l0: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | 'l1: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `Target` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct WarsData {} [INFO] [stdout] | ^^^^^^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `Target`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 72 | / match cff2 { [INFO] [stdout] 73 | | 0usize => { [INFO] [stdout] 74 | | 'l1: loop { [INFO] [stdout] 75 | | let ::wars_rt::_rexport::tuple_list::tuple_list!(v0) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] ... | [INFO] [stdout] 87 | | _ => unreachable!(), [INFO] [stdout] 88 | | }; [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 89 | break 'cff; [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 50 | / 'l0: loop { [INFO] [stdout] 51 | | let ::wars_rt::_rexport::tuple_list::tuple_list!() = { [INFO] [stdout] 52 | | let x = func2_(ctx, ::wars_rt::_rexport::tuple_list::tuple_list!()); [INFO] [stdout] 53 | | match ::wars_rt::_rexport::tramp::tramp(x) { [INFO] [stdout] ... | [INFO] [stdout] 90 | | }; [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 92 | panic!("should have returned"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:174:49 [INFO] [stdout] | [INFO] [stdout] 157 | / ... match cff2 { [INFO] [stdout] 158 | | ... 0usize => { [INFO] [stdout] 159 | | ... 'l4: loop { [INFO] [stdout] 160 | | ... let ::wars_rt::_rexport::tuple_list::tuple_list!(v0) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] ... | [INFO] [stdout] 172 | | ... _ => unreachable!(), [INFO] [stdout] 173 | | ... }; [INFO] [stdout] | |_______________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 174 | ... break 'cff; [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 144 | / ... match cff2 { [INFO] [stdout] 145 | | ... 0usize => { [INFO] [stdout] 146 | | ... 'l3: loop { [INFO] [stdout] 147 | | ... let ::wars_rt::_rexport::tuple_list::tuple_list!(v4) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] ... | [INFO] [stdout] 178 | | ... _ => unreachable!(), [INFO] [stdout] 179 | | ... }; [INFO] [stdout] | |_______________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 180 | ... break 'cff; [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 120 | / match cff2 { [INFO] [stdout] 121 | | 0usize => { [INFO] [stdout] 122 | | 'l1: loop { [INFO] [stdout] 123 | | let ::wars_rt::_rexport::tuple_list::tuple_list!(v2) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] ... | [INFO] [stdout] 184 | | _ => unreachable!(), [INFO] [stdout] 185 | | }; [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 186 | break 'cff; [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 105 | / 'l0: loop { [INFO] [stdout] 106 | | let ::wars_rt::_rexport::tuple_list::tuple_list!(v1) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] 107 | | 0u32 [INFO] [stdout] 108 | | ); [INFO] [stdout] ... | [INFO] [stdout] 187 | | }; [INFO] [stdout] 188 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 189 | panic!("should have returned"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 208 | / match cff2 { [INFO] [stdout] 209 | | 0usize => { [INFO] [stdout] 210 | | 'l1: loop { [INFO] [stdout] 211 | | return ::wars_rt::func::ret( [INFO] [stdout] ... | [INFO] [stdout] 216 | | _ => unreachable!(), [INFO] [stdout] 217 | | }; [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 218 | break 'cff; [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 201 | / 'l0: loop { [INFO] [stdout] 202 | | cff = 1usize; [INFO] [stdout] 203 | | let mut cff2 = match cff { [INFO] [stdout] 204 | | 1usize => 0usize, [INFO] [stdout] ... | [INFO] [stdout] 219 | | }; [INFO] [stdout] 220 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 221 | panic!("should have returned"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let ctx = self; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cff` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut cff: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block1param0` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut block1param0: u32 = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let mut cff2 = match cff { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cff` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut cff: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block1param0` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut block1param0: u32 = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:123:78 [INFO] [stdout] | [INFO] [stdout] 123 | ... let ::wars_rt::_rexport::tuple_list::tuple_list!(v2) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `v2` is captured in macro and introduced a unused variable [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | ... let ::wars_rt::_rexport::tuple_list::tuple_list!(v2) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `::wars_rt::_rexport::tuple_list::tuple_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:135:78 [INFO] [stdout] | [INFO] [stdout] 135 | ... let ::wars_rt::_rexport::tuple_list::tuple_list!(v3) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `v3` is captured in macro and introduced a unused variable [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | ... let ::wars_rt::_rexport::tuple_list::tuple_list!(v3) = ::wars_rt::_rexport::tuple_list::tuple_list!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `::wars_rt::_rexport::tuple_list::tuple_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut cff2 = match cff { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | ... let mut cff2 = match cff { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:152:49 [INFO] [stdout] | [INFO] [stdout] 152 | ... let mut cff2 = match cff { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cff` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let mut cff: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | ctx: &'a mut C, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/expander-113692292c049543/out/wars-6e5e5b324eb9.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let mut cff2 = match cff { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wars-macro` (test "a") due to 1 previous error; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82d6dd4a641b6168f14c8bbda2719a2c04bb7452d1bc9b4129a2dceeead65416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82d6dd4a641b6168f14c8bbda2719a2c04bb7452d1bc9b4129a2dceeead65416", kill_on_drop: false }` [INFO] [stdout] 82d6dd4a641b6168f14c8bbda2719a2c04bb7452d1bc9b4129a2dceeead65416