[INFO] fetching crate portal-pc-waffle-copying 0.6.0-alpha.1... [INFO] testing portal-pc-waffle-copying-0.6.0-alpha.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate portal-pc-waffle-copying 0.6.0-alpha.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate portal-pc-waffle-copying 0.6.0-alpha.1 [INFO] finished tweaking crates.io crate portal-pc-waffle-copying 0.6.0-alpha.1 [INFO] tweaked toml for crates.io crate portal-pc-waffle-copying 0.6.0-alpha.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate portal-pc-waffle-copying 0.6.0-alpha.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate portal-pc-waffle-copying 0.6.0-alpha.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bba11d00613966e574376deccb8cc9b49ad110bc97c1f91d92b66c1bf9fb4fb [INFO] running `Command { std: "docker" "start" "-a" "4bba11d00613966e574376deccb8cc9b49ad110bc97c1f91d92b66c1bf9fb4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bba11d00613966e574376deccb8cc9b49ad110bc97c1f91d92b66c1bf9fb4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bba11d00613966e574376deccb8cc9b49ad110bc97c1f91d92b66c1bf9fb4fb", kill_on_drop: false }` [INFO] [stdout] 4bba11d00613966e574376deccb8cc9b49ad110bc97c1f91d92b66c1bf9fb4fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83e44395ed92e03619987c46f89a3bd30a1915b128a21c2aa17a09e17c14dcc7 [INFO] running `Command { std: "docker" "start" "-a" "83e44395ed92e03619987c46f89a3bd30a1915b128a21c2aa17a09e17c14dcc7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling wasmparser v0.241.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling wasm-encoder v0.241.2 [INFO] [stderr] Compiling rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling polonius-the-crab v0.2.1 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling arena-traits v0.2.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [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 ext-trait v1.0.1 [INFO] [stderr] Compiling extension-traits v1.0.1 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling lending-iterator v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling portal-pc-waffle-entity v0.6.0-alpha.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling portal-pc-waffle-ir v0.6.0-alpha.1 [INFO] [stderr] Compiling portal-pc-waffle-passes-shared v0.6.0-alpha.1 [INFO] [stderr] Compiling portal-pc-waffle-copying v0.6.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MemoryArg`, `Memory`, `Signature`, and `pool::ListRef` [INFO] [stdout] --> src/copying/fcopy.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FunctionBody, Memory, MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, [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: `alloc::vec` [INFO] [stdout] --> src/copying/fcopy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/copying/fts.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use core::{default, iter::once}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> src/copying/fts.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/copying/kts.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cfg::CFGInfo, Block, BlockTarget, FunctionBody, Operator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> src/copying/kts.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::default` [INFO] [stdout] --> src/copying/kts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::default; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DontObf` and `clone_fn` [INFO] [stdout] --> src/copying/module.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::fcopy::{clone_fn, DontObf}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::kts::Kts` [INFO] [stdout] --> src/copying/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::kts::Kts; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_sig` [INFO] [stdout] --> src/copying/module.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::{add_start, new_sig}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportKind` and `TableData` [INFO] [stdout] --> src/copying/module.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | entity::EntityRef, i2x, x2i, ControlTag, ExportKind, Func, FuncDecl, FunctionBody, Global, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | ImportKind, Memory, Module, Operator, Signature, SignatureData, Table, TableData, Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/copying/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/copying/module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::empty` [INFO] [stdout] --> src/copying/module.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::empty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/copying/fcopy.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 244 | panic!("value not found: {a} ({:?} {p})", basis.values[*a]); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 247 | *a [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> src/copying/fcopy.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/copying/fcopy.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [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] --> src/copying/fcopy.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn sig(&mut self, a: SignatureData, module: &mut Module) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/copying/fcopy.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | ValueDef::Operator(o, l, t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/copying/fcopy.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/copying/fcopy.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/copying/fcopy.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/copying/fcopy.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/copying/fcopy.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | Terminator::ReturnCallRef { sig, args } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/copying/fcopy.rs:241:47 [INFO] [stdout] | [INFO] [stdout] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/fcopy.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/copying/fcopy.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | o: Block, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/copying/fcopy.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/fcopy.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/copying/fcopy.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(n) = m.get(&*v) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/copying/fcopy.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let g = f as *mut FunctionBody; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/fcopy.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | mut k: impl FnMut(&mut Block), [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: unused variable: `b` [INFO] [stdout] --> src/copying/fts.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|(a, b)| dst.add_blockparam(shim, *a)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/fts.rs:79:49 [INFO] [stdout] | [INFO] [stdout] 79 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/copying/fts.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dk` [INFO] [stdout] --> src/copying/fts.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/fts.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/kts.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/module.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let mut c = match a { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared` [INFO] [stdout] --> src/copying/module.rs:372:47 [INFO] [stdout] | [INFO] [stdout] 372 | SignatureData::Import { like, shared } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `shared: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/module.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | let mut e = None; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/module.rs:417:54 [INFO] [stdout] | [INFO] [stdout] 417 | if let ValueDef::Operator(a, vs, c) = &mut k { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:477:63 [INFO] [stdout] | [INFO] [stdout] 477 | crate::Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:480:77 [INFO] [stdout] | [INFO] [stdout] 480 | crate::Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:484:65 [INFO] [stdout] | [INFO] [stdout] 484 | crate::Terminator::ReturnCallRef { sig, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Memory` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_memory` [INFO] [stdout] ... [INFO] [stdout] 513 | translator!(Memory); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Table` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_table` [INFO] [stdout] ... [INFO] [stdout] 514 | translator!(Table); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Global` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_global` [INFO] [stdout] ... [INFO] [stdout] 515 | translator!(Global); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Func` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_func` [INFO] [stdout] ... [INFO] [stdout] 516 | translator!(Func); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_ControlTag` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_control_tag` [INFO] [stdout] ... [INFO] [stdout] 517 | translator!(ControlTag); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.45s [INFO] running `Command { std: "docker" "inspect" "83e44395ed92e03619987c46f89a3bd30a1915b128a21c2aa17a09e17c14dcc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e44395ed92e03619987c46f89a3bd30a1915b128a21c2aa17a09e17c14dcc7", kill_on_drop: false }` [INFO] [stdout] 83e44395ed92e03619987c46f89a3bd30a1915b128a21c2aa17a09e17c14dcc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c4d7c90ed57bf28b16688a6d9d7dbdf928771146a63ebb20c0ea3bbdbf43ecd [INFO] running `Command { std: "docker" "start" "-a" "3c4d7c90ed57bf28b16688a6d9d7dbdf928771146a63ebb20c0ea3bbdbf43ecd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling wasm-encoder v0.228.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling jiff v0.2.8 [INFO] [stderr] Compiling portal-pc-waffle-ir v0.6.0-alpha.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling wast v228.0.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling portal-pc-waffle-passes-shared v0.6.0-alpha.1 [INFO] [stderr] Compiling portal-pc-waffle-copying v0.6.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MemoryArg`, `Memory`, `Signature`, and `pool::ListRef` [INFO] [stdout] --> src/copying/fcopy.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FunctionBody, Memory, MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, [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: `alloc::vec` [INFO] [stdout] --> src/copying/fcopy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/copying/fts.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use core::{default, iter::once}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> src/copying/fts.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/copying/kts.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cfg::CFGInfo, Block, BlockTarget, FunctionBody, Operator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> src/copying/kts.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::default` [INFO] [stdout] --> src/copying/kts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::default; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DontObf` and `clone_fn` [INFO] [stdout] --> src/copying/module.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::fcopy::{clone_fn, DontObf}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::kts::Kts` [INFO] [stdout] --> src/copying/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::kts::Kts; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_sig` [INFO] [stdout] --> src/copying/module.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::{add_start, new_sig}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportKind` and `TableData` [INFO] [stdout] --> src/copying/module.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | entity::EntityRef, i2x, x2i, ControlTag, ExportKind, Func, FuncDecl, FunctionBody, Global, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | ImportKind, Memory, Module, Operator, Signature, SignatureData, Table, TableData, Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/copying/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/copying/module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::empty` [INFO] [stdout] --> src/copying/module.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::empty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/copying/fcopy.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 244 | panic!("value not found: {a} ({:?} {p})", basis.values[*a]); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 247 | *a [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> src/copying/fcopy.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/copying/fcopy.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [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] --> src/copying/fcopy.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn sig(&mut self, a: SignatureData, module: &mut Module) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/copying/fcopy.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | ValueDef::Operator(o, l, t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/copying/fcopy.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/copying/fcopy.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/copying/fcopy.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/copying/fcopy.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/copying/fcopy.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | Terminator::ReturnCallRef { sig, args } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/copying/fcopy.rs:241:47 [INFO] [stdout] | [INFO] [stdout] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/fcopy.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/copying/fcopy.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | o: Block, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/copying/fcopy.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/fcopy.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/copying/fcopy.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(n) = m.get(&*v) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/copying/fcopy.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let g = f as *mut FunctionBody; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/fcopy.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | mut k: impl FnMut(&mut Block), [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: unused variable: `b` [INFO] [stdout] --> src/copying/fts.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|(a, b)| dst.add_blockparam(shim, *a)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/fts.rs:79:49 [INFO] [stdout] | [INFO] [stdout] 79 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/copying/fts.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dk` [INFO] [stdout] --> src/copying/fts.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/fts.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/kts.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/module.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let mut c = match a { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared` [INFO] [stdout] --> src/copying/module.rs:372:47 [INFO] [stdout] | [INFO] [stdout] 372 | SignatureData::Import { like, shared } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `shared: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/module.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | let mut e = None; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/module.rs:417:54 [INFO] [stdout] | [INFO] [stdout] 417 | if let ValueDef::Operator(a, vs, c) = &mut k { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:477:63 [INFO] [stdout] | [INFO] [stdout] 477 | crate::Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:480:77 [INFO] [stdout] | [INFO] [stdout] 480 | crate::Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:484:65 [INFO] [stdout] | [INFO] [stdout] 484 | crate::Terminator::ReturnCallRef { sig, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Memory` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_memory` [INFO] [stdout] ... [INFO] [stdout] 513 | translator!(Memory); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Table` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_table` [INFO] [stdout] ... [INFO] [stdout] 514 | translator!(Table); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Global` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_global` [INFO] [stdout] ... [INFO] [stdout] 515 | translator!(Global); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Func` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_func` [INFO] [stdout] ... [INFO] [stdout] 516 | translator!(Func); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_ControlTag` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_control_tag` [INFO] [stdout] ... [INFO] [stdout] 517 | translator!(ControlTag); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wat v1.228.0 [INFO] [stdout] warning: unused imports: `MemoryArg`, `Memory`, `Signature`, and `pool::ListRef` [INFO] [stdout] --> src/copying/fcopy.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FunctionBody, Memory, MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, [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: `alloc::vec` [INFO] [stdout] --> src/copying/fcopy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/copying/fts.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use core::{default, iter::once}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> src/copying/fts.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/copying/kts.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cfg::CFGInfo, Block, BlockTarget, FunctionBody, Operator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> src/copying/kts.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::default` [INFO] [stdout] --> src/copying/kts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::default; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DontObf` and `clone_fn` [INFO] [stdout] --> src/copying/module.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::fcopy::{clone_fn, DontObf}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::kts::Kts` [INFO] [stdout] --> src/copying/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::kts::Kts; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_sig` [INFO] [stdout] --> src/copying/module.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::{add_start, new_sig}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportKind` and `TableData` [INFO] [stdout] --> src/copying/module.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | entity::EntityRef, i2x, x2i, ControlTag, ExportKind, Func, FuncDecl, FunctionBody, Global, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | ImportKind, Memory, Module, Operator, Signature, SignatureData, Table, TableData, Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/copying/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/copying/module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::empty` [INFO] [stdout] --> src/copying/module.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | iter::empty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/copying/module.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/copying/fcopy.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 244 | panic!("value not found: {a} ({:?} {p})", basis.values[*a]); [INFO] [stdout] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 247 | *a [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::EntityRef` [INFO] [stdout] --> src/copying/fcopy.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/copying/fcopy.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [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] --> src/copying/fcopy.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn sig(&mut self, a: SignatureData, module: &mut Module) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/copying/fcopy.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | module: &mut Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/copying/fcopy.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | ValueDef::Operator(o, l, t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/copying/fcopy.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | f: &mut FunctionBody, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/copying/fcopy.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/copying/fcopy.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/copying/fcopy.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/copying/fcopy.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | Terminator::ReturnCallRef { sig, args } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/copying/fcopy.rs:241:47 [INFO] [stdout] | [INFO] [stdout] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/fcopy.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/copying/fcopy.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | o: Block, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/copying/fcopy.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/fcopy.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/copying/fcopy.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(n) = m.get(&*v) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/copying/fcopy.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let g = f as *mut FunctionBody; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/fcopy.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | mut k: impl FnMut(&mut Block), [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: unused variable: `b` [INFO] [stdout] --> src/copying/fts.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|(a, b)| dst.add_blockparam(shim, *a)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/fts.rs:79:49 [INFO] [stdout] | [INFO] [stdout] 79 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/copying/fts.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dk` [INFO] [stdout] --> src/copying/fts.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/fts.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/copying/kts.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/module.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let mut c = match a { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared` [INFO] [stdout] --> src/copying/module.rs:372:47 [INFO] [stdout] | [INFO] [stdout] 372 | SignatureData::Import { like, shared } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `shared: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/copying/module.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | let mut e = None; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/copying/module.rs:417:54 [INFO] [stdout] | [INFO] [stdout] 417 | if let ValueDef::Operator(a, vs, c) = &mut k { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:477:63 [INFO] [stdout] | [INFO] [stdout] 477 | crate::Terminator::ReturnCall { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:480:77 [INFO] [stdout] | [INFO] [stdout] 480 | crate::Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/copying/module.rs:484:65 [INFO] [stdout] | [INFO] [stdout] 484 | crate::Terminator::ReturnCallRef { sig, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Memory` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_memory` [INFO] [stdout] ... [INFO] [stdout] 513 | translator!(Memory); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Table` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_table` [INFO] [stdout] ... [INFO] [stdout] 514 | translator!(Table); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Global` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_global` [INFO] [stdout] ... [INFO] [stdout] 515 | translator!(Global); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_Func` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_func` [INFO] [stdout] ... [INFO] [stdout] 516 | translator!(Func); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_ControlTag` should have a snake case name [INFO] [stdout] --> src/copying/module.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_control_tag` [INFO] [stdout] ... [INFO] [stdout] 517 | translator!(ControlTag); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.86s [INFO] running `Command { std: "docker" "inspect" "3c4d7c90ed57bf28b16688a6d9d7dbdf928771146a63ebb20c0ea3bbdbf43ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4d7c90ed57bf28b16688a6d9d7dbdf928771146a63ebb20c0ea3bbdbf43ecd", kill_on_drop: false }` [INFO] [stdout] 3c4d7c90ed57bf28b16688a6d9d7dbdf928771146a63ebb20c0ea3bbdbf43ecd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54a5c9b55cc9201e0610ed383ce38a6107e2fdca13a8efaa0a55a9fa5d3c86ef [INFO] running `Command { std: "docker" "start" "-a" "54a5c9b55cc9201e0610ed383ce38a6107e2fdca13a8efaa0a55a9fa5d3c86ef", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `MemoryArg`, `Memory`, `Signature`, and `pool::ListRef` [INFO] [stderr] --> src/copying/fcopy.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 9 | FunctionBody, Memory, MemoryArg, Module, Operator, Signature, SignatureData, Terminator, Type, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::vec` [INFO] [stderr] --> src/copying/fcopy.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use alloc::vec; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `default` [INFO] [stderr] --> src/copying/fts.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use core::{default, iter::once}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::vec` [INFO] [stderr] --> src/copying/fts.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use alloc::vec; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cfg::CFGInfo` [INFO] [stderr] --> src/copying/kts.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | cfg::CFGInfo, Block, BlockTarget, FunctionBody, Operator, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::vec` [INFO] [stderr] --> src/copying/kts.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use alloc::vec; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::default` [INFO] [stderr] --> src/copying/kts.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use core::default; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DontObf` and `clone_fn` [INFO] [stderr] --> src/copying/module.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use super::fcopy::{clone_fn, DontObf}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::kts::Kts` [INFO] [stderr] --> src/copying/module.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use super::kts::Kts; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `new_sig` [INFO] [stderr] --> src/copying/module.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::util::{add_start, new_sig}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ExportKind` and `TableData` [INFO] [stderr] --> src/copying/module.rs:7:46 [INFO] [stderr] | [INFO] [stderr] 7 | entity::EntityRef, i2x, x2i, ControlTag, ExportKind, Func, FuncDecl, FunctionBody, Global, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 8 | ImportKind, Memory, Module, Operator, Signature, SignatureData, Table, TableData, Type, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::vec::Vec` [INFO] [stderr] --> src/copying/module.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use alloc::vec::Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow::Context` [INFO] [stderr] --> src/copying/module.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use anyhow::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `iter::empty` [INFO] [stderr] --> src/copying/module.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | iter::empty, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/copying/fcopy.rs:247:21 [INFO] [stderr] | [INFO] [stderr] 244 | panic!("value not found: {a} ({:?} {p})", basis.values[*a]); [INFO] [stderr] | ----------------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 247 | *a [INFO] [stderr] | ^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `entity::EntityRef` [INFO] [stderr] --> src/copying/fcopy.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | cfg::CFGInfo, entity::EntityRef, pool::ListRef, Block, BlockTarget, Func, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/copying/fcopy.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | f: &mut FunctionBody, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/copying/fcopy.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | module: &mut Module, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/copying/fcopy.rs:23:41 [INFO] [stderr] | [INFO] [stderr] 23 | fn sig(&mut self, a: SignatureData, module: &mut Module) -> anyhow::Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/copying/fcopy.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | module: &mut Module, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/copying/fcopy.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | module: &mut Module, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/copying/fcopy.rs:70:28 [INFO] [stderr] | [INFO] [stderr] 70 | ValueDef::Operator(o, l, t) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/copying/fcopy.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | f: &mut FunctionBody, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `func` [INFO] [stderr] --> src/copying/fcopy.rs:141:34 [INFO] [stderr] | [INFO] [stderr] 141 | Terminator::ReturnCall { func, args } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sig` [INFO] [stderr] --> src/copying/fcopy.rs:146:42 [INFO] [stderr] | [INFO] [stderr] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stderr] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table` [INFO] [stderr] --> src/copying/fcopy.rs:146:47 [INFO] [stderr] | [INFO] [stderr] 146 | Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sig` [INFO] [stderr] --> src/copying/fcopy.rs:151:37 [INFO] [stderr] | [INFO] [stderr] 151 | Terminator::ReturnCallRef { sig, args } => { [INFO] [stderr] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/copying/fcopy.rs:241:47 [INFO] [stderr] | [INFO] [stderr] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/copying/fcopy.rs:241:53 [INFO] [stderr] | [INFO] [stderr] 241 | if let ValueDef::Operator(a, b, c) = basis.values[*a] { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/copying/fcopy.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | o: Block, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/copying/fcopy.rs:205:35 [INFO] [stderr] | [INFO] [stderr] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/copying/fcopy.rs:205:41 [INFO] [stderr] | [INFO] [stderr] 205 | if let ValueDef::Operator(a, b, c) = basis.values[*v] { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/copying/fcopy.rs:215:17 [INFO] [stderr] | [INFO] [stderr] 215 | if let Some(n) = m.get(&*v) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> src/copying/fcopy.rs:220:9 [INFO] [stderr] | [INFO] [stderr] 220 | let g = f as *mut FunctionBody; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/copying/fcopy.rs:269:5 [INFO] [stderr] | [INFO] [stderr] 269 | mut k: impl FnMut(&mut Block), [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/copying/fts.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | .map(|(a, b)| dst.add_blockparam(shim, *a)) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/copying/fts.rs:79:49 [INFO] [stderr] | [INFO] [stderr] 79 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/copying/fts.rs:217:25 [INFO] [stderr] | [INFO] [stderr] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dk` [INFO] [stderr] --> src/copying/fts.rs:217:33 [INFO] [stderr] | [INFO] [stderr] 217 | .map(|((k, v), (dk, dv))| (*v, *dv)) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dk` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/copying/fts.rs:241:49 [INFO] [stderr] | [INFO] [stderr] 241 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/copying/kts.rs:54:49 [INFO] [stderr] | [INFO] [stderr] 54 | crate::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/copying/module.rs:287:13 [INFO] [stderr] | [INFO] [stderr] 287 | let mut c = match a { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shared` [INFO] [stderr] --> src/copying/module.rs:372:47 [INFO] [stderr] | [INFO] [stderr] 372 | SignatureData::Import { like, shared } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `shared: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/copying/module.rs:419:29 [INFO] [stderr] | [INFO] [stderr] 419 | let mut e = None; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/copying/module.rs:417:54 [INFO] [stderr] | [INFO] [stderr] 417 | if let ValueDef::Operator(a, vs, c) = &mut k { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/copying/module.rs:477:63 [INFO] [stderr] | [INFO] [stderr] 477 | crate::Terminator::ReturnCall { func, args } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/copying/module.rs:480:77 [INFO] [stderr] | [INFO] [stderr] 480 | crate::Terminator::ReturnCallIndirect { sig, table, args } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/copying/module.rs:484:65 [INFO] [stderr] | [INFO] [stderr] 484 | crate::Terminator::ReturnCallRef { sig, args } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stderr] [INFO] [stderr] warning: method `translate_Memory` should have a snake case name [INFO] [stderr] --> src/copying/module.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_memory` [INFO] [stderr] ... [INFO] [stderr] 513 | translator!(Memory); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `translate_Table` should have a snake case name [INFO] [stderr] --> src/copying/module.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_table` [INFO] [stderr] ... [INFO] [stderr] 514 | translator!(Table); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `translate_Global` should have a snake case name [INFO] [stderr] --> src/copying/module.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_global` [INFO] [stderr] ... [INFO] [stderr] 515 | translator!(Global); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `translate_Func` should have a snake case name [INFO] [stderr] --> src/copying/module.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_func` [INFO] [stderr] ... [INFO] [stderr] 516 | translator!(Func); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `translate_ControlTag` should have a snake case name [INFO] [stderr] --> src/copying/module.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn [](&mut self, m: $a) -> anyhow::Result<$a>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translate_control_tag` [INFO] [stderr] ... [INFO] [stderr] 517 | translator!(ControlTag); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `translator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/copying/module.rs:521:9 [INFO] [stderr] | [INFO] [stderr] 521 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `portal-pc-waffle-copying` (lib) generated 53 warnings (run `cargo fix --lib -p portal-pc-waffle-copying` to apply 46 suggestions) [INFO] [stderr] warning: `portal-pc-waffle-copying` (lib test) generated 54 warnings (53 duplicates) (run `cargo fix --lib -p portal-pc-waffle-copying --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/portal_pc_waffle_copying-95d8b1c2df5fef66) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests portal_pc_waffle_copying [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54a5c9b55cc9201e0610ed383ce38a6107e2fdca13a8efaa0a55a9fa5d3c86ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a5c9b55cc9201e0610ed383ce38a6107e2fdca13a8efaa0a55a9fa5d3c86ef", kill_on_drop: false }` [INFO] [stdout] 54a5c9b55cc9201e0610ed383ce38a6107e2fdca13a8efaa0a55a9fa5d3c86ef