[INFO] fetching crate wars 0.8.1... [INFO] testing wars-0.8.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate wars 0.8.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate wars 0.8.1 [INFO] finished tweaking crates.io crate wars 0.8.1 [INFO] tweaked toml for crates.io crate wars 0.8.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wars 0.8.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wars 0.8.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62dffcd5cfe2f21c32b21be3173e1663f516861e65bcddd6303a9e54d15af278 [INFO] running `Command { std: "docker" "start" "-a" "62dffcd5cfe2f21c32b21be3173e1663f516861e65bcddd6303a9e54d15af278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62dffcd5cfe2f21c32b21be3173e1663f516861e65bcddd6303a9e54d15af278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62dffcd5cfe2f21c32b21be3173e1663f516861e65bcddd6303a9e54d15af278", kill_on_drop: false }` [INFO] [stdout] 62dffcd5cfe2f21c32b21be3173e1663f516861e65bcddd6303a9e54d15af278 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb463399fd572b8f4ebbcfc8e92bb9bdbcb156722e0648b209e9a8c2d3e62024 [INFO] running `Command { std: "docker" "start" "-a" "cb463399fd572b8f4ebbcfc8e92bb9bdbcb156722e0648b209e9a8c2d3e62024", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling wasm-encoder v0.227.1 [INFO] [stderr] Compiling wasmparser v0.227.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling polonius-the-crab v0.2.1 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling arena-traits v0.2.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quasiquote-proc-macro v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling quasiquote v0.1.1 [INFO] [stderr] Compiling relooper v0.1.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 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 indexmap v2.9.0 [INFO] [stderr] Compiling portal-pc-waffle v0.5.5 [INFO] [stderr] Compiling waffle-func-reloop v0.8.0 [INFO] [stderr] Compiling wars v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | 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 imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> src/unswitch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> src/impl.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signature` and `Terminator` [INFO] [stdout] --> src/impl.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Terminator, Type, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | opts: &OptsCore, [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] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | module: &str, [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] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | name: &str, [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] --> src/lib.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounds(&self, opts: &OptsCore) -> 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] --> src/lib.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn exref_bounds(&self, opts: &OptsCore) -> 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] --> src/unswitch.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> src/impl.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | 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] --> src/impl.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | 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] --> src/impl.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | 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: `base` [INFO] [stdout] --> src/impl.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let base = self.core.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] --> src/impl.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let base = self.core.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] --> src/impl.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | 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] --> src/impl.rs:768:47 [INFO] [stdout] | [INFO] [stdout] 768 | Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/impl.rs:780:47 [INFO] [stdout] | [INFO] [stdout] 780 | Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/impl.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | f: &Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/impl.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | f: Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/impl.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 1055 | let root = self.core.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: `fp` [INFO] [stdout] --> src/impl.rs:1120:21 [INFO] [stdout] | [INFO] [stdout] 1120 | let fp = self.fp(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/impl.rs:1235:13 [INFO] [stdout] | [INFO] [stdout] 1235 | let root = self.core.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] --> src/impl.rs:1240:25 [INFO] [stdout] | [INFO] [stdout] 1240 | params, returns, .. [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/impl.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | 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: `internal_path` [INFO] [stdout] --> src/impl.rs:1417:9 [INFO] [stdout] | [INFO] [stdout] 1417 | let internal_path = format_ident!("_{}_internal", opts.core.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] --> src/impl.rs:1587:21 [INFO] [stdout] | [INFO] [stdout] 1587 | 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] --> src/impl.rs:1714:41 [INFO] [stdout] | [INFO] [stdout] 1714 | ... params, returns, .. [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTRINSIC` is never used [INFO] [stdout] --> src/lib.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) const INTRINSIC: &'static str = "wars_intrinsic/"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `go` is never used [INFO] [stdout] --> src/unswitch.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn go(f: &mut FunctionBody) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `host_tpit` and `render_self_sig` are never used [INFO] [stdout] --> src/impl.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl OptsLt<'_, Module<'static>> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn host_tpit(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn render_self_sig( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.14s [INFO] running `Command { std: "docker" "inspect" "cb463399fd572b8f4ebbcfc8e92bb9bdbcb156722e0648b209e9a8c2d3e62024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb463399fd572b8f4ebbcfc8e92bb9bdbcb156722e0648b209e9a8c2d3e62024", kill_on_drop: false }` [INFO] [stdout] cb463399fd572b8f4ebbcfc8e92bb9bdbcb156722e0648b209e9a8c2d3e62024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 738d0e3b7f750efff1f78d80088b5728e12c68531e758d2a14bcc86260a7f4ea [INFO] running `Command { std: "docker" "start" "-a" "738d0e3b7f750efff1f78d80088b5728e12c68531e758d2a14bcc86260a7f4ea", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | 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] [stderr] Compiling wars v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> src/unswitch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> src/impl.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signature` and `Terminator` [INFO] [stdout] --> src/impl.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Terminator, Type, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | opts: &OptsCore, [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] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | module: &str, [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] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | name: &str, [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] --> src/lib.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounds(&self, opts: &OptsCore) -> 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] --> src/lib.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn exref_bounds(&self, opts: &OptsCore) -> 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] --> src/unswitch.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> src/impl.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | 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] --> src/impl.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | 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] --> src/impl.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | 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: `base` [INFO] [stdout] --> src/impl.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let base = self.core.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] --> src/impl.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let base = self.core.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] --> src/impl.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | 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] --> src/impl.rs:768:47 [INFO] [stdout] | [INFO] [stdout] 768 | Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/impl.rs:780:47 [INFO] [stdout] | [INFO] [stdout] 780 | Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/impl.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | f: &Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/impl.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | f: Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/impl.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 1055 | let root = self.core.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: `fp` [INFO] [stdout] --> src/impl.rs:1120:21 [INFO] [stdout] | [INFO] [stdout] 1120 | let fp = self.fp(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/impl.rs:1235:13 [INFO] [stdout] | [INFO] [stdout] 1235 | let root = self.core.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] --> src/impl.rs:1240:25 [INFO] [stdout] | [INFO] [stdout] 1240 | params, returns, .. [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/impl.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | 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: `internal_path` [INFO] [stdout] --> src/impl.rs:1417:9 [INFO] [stdout] | [INFO] [stdout] 1417 | let internal_path = format_ident!("_{}_internal", opts.core.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] --> src/impl.rs:1587:21 [INFO] [stdout] | [INFO] [stdout] 1587 | 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] --> src/impl.rs:1714:41 [INFO] [stdout] | [INFO] [stdout] 1714 | ... params, returns, .. [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTRINSIC` is never used [INFO] [stdout] --> src/lib.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) const INTRINSIC: &'static str = "wars_intrinsic/"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `go` is never used [INFO] [stdout] --> src/unswitch.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn go(f: &mut FunctionBody) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `host_tpit` and `render_self_sig` are never used [INFO] [stdout] --> src/impl.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl OptsLt<'_, Module<'static>> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn host_tpit(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn render_self_sig( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> src/lib.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] 5 | f32::consts::E, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | iter::once, [INFO] [stdout] 7 | 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 imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stdout] --> src/unswitch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reloop` [INFO] [stdout] --> src/impl.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signature` and `Terminator` [INFO] [stdout] --> src/impl.rs:5:53 [INFO] [stdout] | [INFO] [stdout] 5 | HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Terminator, Type, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::Digest` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sha3::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | opts: &OptsCore, [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] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | module: &str, [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] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | name: &str, [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] --> src/lib.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounds(&self, opts: &OptsCore) -> 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] --> src/lib.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn exref_bounds(&self, opts: &OptsCore) -> 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] --> src/unswitch.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> src/impl.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | 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] --> src/impl.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | 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] --> src/impl.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | 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: `base` [INFO] [stdout] --> src/impl.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let base = self.core.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] --> src/impl.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let base = self.core.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] --> src/impl.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | 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] --> src/impl.rs:768:47 [INFO] [stdout] | [INFO] [stdout] 768 | Operator::StructGet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/impl.rs:780:47 [INFO] [stdout] | [INFO] [stdout] 780 | Operator::StructSet { sig, idx } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/impl.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | f: &Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/impl.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | f: Func, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/impl.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 1055 | let root = self.core.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: `fp` [INFO] [stdout] --> src/impl.rs:1120:21 [INFO] [stdout] | [INFO] [stdout] 1120 | let fp = self.fp(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/impl.rs:1235:13 [INFO] [stdout] | [INFO] [stdout] 1235 | let root = self.core.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] --> src/impl.rs:1240:25 [INFO] [stdout] | [INFO] [stdout] 1240 | params, returns, .. [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/impl.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | 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: `internal_path` [INFO] [stdout] --> src/impl.rs:1417:9 [INFO] [stdout] | [INFO] [stdout] 1417 | let internal_path = format_ident!("_{}_internal", opts.core.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] --> src/impl.rs:1587:21 [INFO] [stdout] | [INFO] [stdout] 1587 | 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] --> src/impl.rs:1714:41 [INFO] [stdout] | [INFO] [stdout] 1714 | ... params, returns, .. [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTRINSIC` is never used [INFO] [stdout] --> src/lib.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) const INTRINSIC: &'static str = "wars_intrinsic/"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `go` is never used [INFO] [stdout] --> src/unswitch.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn go(f: &mut FunctionBody) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `host_tpit` and `render_self_sig` are never used [INFO] [stdout] --> src/impl.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl OptsLt<'_, Module<'static>> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn host_tpit(&self) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub(crate) fn render_self_sig( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "738d0e3b7f750efff1f78d80088b5728e12c68531e758d2a14bcc86260a7f4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738d0e3b7f750efff1f78d80088b5728e12c68531e758d2a14bcc86260a7f4ea", kill_on_drop: false }` [INFO] [stdout] 738d0e3b7f750efff1f78d80088b5728e12c68531e758d2a14bcc86260a7f4ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6c85ca7c9ae69cb5a2009fe6e936b52f6ed43f9511eda74c50f52c5ff297c1ba [INFO] running `Command { std: "docker" "start" "-a" "6c85ca7c9ae69cb5a2009fe6e936b52f6ed43f9511eda74c50f52c5ff297c1ba", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stderr] --> src/lib.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | collections::{BTreeMap, BTreeSet}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 4 | convert::Infallible, [INFO] [stderr] 5 | f32::consts::E, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 6 | iter::once, [INFO] [stderr] 7 | sync::{Arc, OnceLock}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Block`, `ExportKind`, `FuncDecl`, `Func`, `ImportKind`, `Import`, `MemoryArg`, `MemoryData`, `Memory`, `Module`, `SignatureData`, `Signature`, `Table`, and `Value` [INFO] [stderr] --> src/unswitch.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Block, ExportKind, Func, FuncDecl, Import, ImportKind, Memory, MemoryArg, MemoryData, Module, [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] 4 | Operator, Signature, SignatureData, Table, Type, Value, ValueDef, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reloop` [INFO] [stderr] --> src/impl.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | use relooper::{reloop, BranchMode, ShapedBlock}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Signature` and `Terminator` [INFO] [stderr] --> src/impl.rs:5:53 [INFO] [stderr] | [INFO] [stderr] 5 | HeapType, ImportKind, Memory, Module, Operator, Signature, SignatureData, Terminator, Type, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sha3::Digest` [INFO] [stderr] --> src/lib.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use sha3::Digest; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/lib.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | opts: &OptsCore, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [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/lib.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | module: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | name: &str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/lib.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | fn bounds(&self, opts: &OptsCore) -> anyhow::Result> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/lib.rs:43:28 [INFO] [stderr] | [INFO] [stderr] 43 | fn exref_bounds(&self, opts: &OptsCore) -> anyhow::Result> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tz` [INFO] [stderr] --> src/unswitch.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let tz = f.type_pool.from_iter(empty()); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/impl.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | mut params: impl Iterator, [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: variable does not need to be mutable [INFO] [stderr] --> src/impl.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | let mut params = params.into_iter(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `param_ids` [INFO] [stderr] --> src/impl.rs:302:13 [INFO] [stderr] | [INFO] [stderr] 302 | let param_ids = params [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base` [INFO] [stderr] --> src/impl.rs:408:13 [INFO] [stderr] | [INFO] [stderr] 408 | let base = self.core.name.clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base` [INFO] [stderr] --> src/impl.rs:446:13 [INFO] [stderr] | [INFO] [stderr] 446 | let base = self.core.name.clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `param_ids` [INFO] [stderr] --> src/impl.rs:450:13 [INFO] [stderr] | [INFO] [stderr] 450 | let param_ids = params [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_ids` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sig` [INFO] [stderr] --> src/impl.rs:768:47 [INFO] [stderr] | [INFO] [stderr] 768 | Operator::StructGet { sig, idx } => { [INFO] [stderr] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sig` [INFO] [stderr] --> src/impl.rs:780:47 [INFO] [stderr] | [INFO] [stderr] 780 | Operator::StructSet { sig, idx } => { [INFO] [stderr] | ^^^ help: try ignoring the field: `sig: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/impl.rs:468:9 [INFO] [stderr] | [INFO] [stderr] 468 | f: &Func, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/impl.rs:875:9 [INFO] [stderr] | [INFO] [stderr] 875 | f: Func, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/impl.rs:1055:13 [INFO] [stderr] | [INFO] [stderr] 1055 | let root = self.core.crate_path.clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fp` [INFO] [stderr] --> src/impl.rs:1120:21 [INFO] [stderr] | [INFO] [stderr] 1120 | let fp = self.fp(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/impl.rs:1235:13 [INFO] [stderr] | [INFO] [stderr] 1235 | let root = self.core.crate_path.clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `returns` [INFO] [stderr] --> src/impl.rs:1240:25 [INFO] [stderr] | [INFO] [stderr] 1240 | params, returns, .. [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/impl.rs:1266:13 [INFO] [stderr] | [INFO] [stderr] 1266 | let cfg = CFGInfo::new(b); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `internal_path` [INFO] [stderr] --> src/impl.rs:1417:9 [INFO] [stderr] | [INFO] [stderr] 1417 | let internal_path = format_ident!("_{}_internal", opts.core.name); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pk` [INFO] [stderr] --> src/impl.rs:1587:21 [INFO] [stderr] | [INFO] [stderr] 1587 | let pk = pk + 1; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `returns` [INFO] [stderr] --> src/impl.rs:1714:41 [INFO] [stderr] | [INFO] [stderr] 1714 | ... params, returns, .. [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `returns: _` [INFO] [stderr] [INFO] [stderr] warning: constant `INTRINSIC` is never used [INFO] [stderr] --> src/lib.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 93 | pub(crate) const INTRINSIC: &'static str = "wars_intrinsic/"; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `go` is never used [INFO] [stderr] --> src/unswitch.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn go(f: &mut FunctionBody) { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: methods `host_tpit` and `render_self_sig` are never used [INFO] [stderr] --> src/impl.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 26 | impl OptsLt<'_, Module<'static>> { [INFO] [stderr] | -------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 48 | pub(crate) fn host_tpit(&self) -> TokenStream { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | pub(crate) fn render_self_sig( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wars` (lib) generated 32 warnings (run `cargo fix --lib -p wars` to apply 28 suggestions) [INFO] [stderr] warning: `wars` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wars-0e4c66a5f4de0224) [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 wars [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" "6c85ca7c9ae69cb5a2009fe6e936b52f6ed43f9511eda74c50f52c5ff297c1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c85ca7c9ae69cb5a2009fe6e936b52f6ed43f9511eda74c50f52c5ff297c1ba", kill_on_drop: false }` [INFO] [stdout] 6c85ca7c9ae69cb5a2009fe6e936b52f6ed43f9511eda74c50f52c5ff297c1ba