[INFO] cloning repository https://github.com/portal-co/wars2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/wars2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwars2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwars2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aff264014aa379ca95ea50a15126a313ef876715 [INFO] testing portal-co/wars2 against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwars2" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/portal-co/wars2 [INFO] finished tweaking git repo https://github.com/portal-co/wars2 [INFO] tweaked toml for git repo https://github.com/portal-co/wars2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/portal-co/wars2 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/portal-co/wars2 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/crates/wars-rt/Cargo.toml: version requirement `0.3.0+portal` for dependency `portal-pc-tramp` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4feb132c03d61b2e2f12d5cba21720b39de0c476e920b1e4682c2c488e113bd [INFO] running `Command { std: "docker" "start" "-a" "a4feb132c03d61b2e2f12d5cba21720b39de0c476e920b1e4682c2c488e113bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4feb132c03d61b2e2f12d5cba21720b39de0c476e920b1e4682c2c488e113bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4feb132c03d61b2e2f12d5cba21720b39de0c476e920b1e4682c2c488e113bd", kill_on_drop: false }` [INFO] [stdout] a4feb132c03d61b2e2f12d5cba21720b39de0c476e920b1e4682c2c488e113bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83a8244a3b0724044df6fd2cbd08539f8b923308b9d21163cff8c59d80546749 [INFO] running `Command { std: "docker" "start" "-a" "83a8244a3b0724044df6fd2cbd08539f8b923308b9d21163cff8c59d80546749", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/wars-rt/Cargo.toml: version requirement `0.3.0+portal` for dependency `portal-pc-tramp` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling wasmparser v0.227.1 [INFO] [stderr] Compiling wasm-encoder v0.227.1 [INFO] [stderr] Compiling rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Compiling fixedbitset v0.2.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 bitflags v2.9.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling arena-traits v0.2.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tuple_list v0.1.3 [INFO] [stderr] Compiling portal-pc-tramp v0.3.0+portal [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 castaway v0.2.3 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling relooper v0.1.0 [INFO] [stderr] Compiling quasiquote-proc-macro v0.1.0 [INFO] [stderr] Compiling quasiquote v0.1.1 [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 derive_more v0.99.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling wars-rt v0.8.1 (/opt/rustwide/workdir/crates/wars-rt) [INFO] [stdout] warning: unused imports: `empty` and `once` [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{empty, once}, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | async fn go(mut self) -> T [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: `a` [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/wars-rt/src/func.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 206 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/wars-rt/src/lib.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | self.extend((0..x).map(|a| 0u8)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn go(mut self) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 21 ~ fn go(mut self) -> impl std::future::Future + Send [INFO] [stdout] 22 | where [INFO] [stdout] 23 | Self: Sized, [INFO] [stdout] 24 ~ {async { [INFO] [stdout] 25 | return self.await.go().await; [INFO] [stdout] 26 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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 (/opt/rustwide/workdir/crates/waffle-func-reloop) [INFO] [stderr] Compiling wars v0.8.1 (/opt/rustwide/workdir/crates/wars) [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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 37.59s [INFO] running `Command { std: "docker" "inspect" "83a8244a3b0724044df6fd2cbd08539f8b923308b9d21163cff8c59d80546749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83a8244a3b0724044df6fd2cbd08539f8b923308b9d21163cff8c59d80546749", kill_on_drop: false }` [INFO] [stdout] 83a8244a3b0724044df6fd2cbd08539f8b923308b9d21163cff8c59d80546749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b036d53742169e3a6791afa6b72449e6d68eb1cb0af9e55661ea74262791a9b [INFO] running `Command { std: "docker" "start" "-a" "7b036d53742169e3a6791afa6b72449e6d68eb1cb0af9e55661ea74262791a9b", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/wars-rt/Cargo.toml: version requirement `0.3.0+portal` for dependency `portal-pc-tramp` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling wars-rt v0.8.1 (/opt/rustwide/workdir/crates/wars-rt) [INFO] [stderr] Compiling waffle-func-reloop v0.8.0 (/opt/rustwide/workdir/crates/waffle-func-reloop) [INFO] [stdout] warning: unused imports: `empty` and `once` [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{empty, once}, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | async fn go(mut self) -> T [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: `a` [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/wars-rt/src/func.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 206 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/wars-rt/src/lib.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | self.extend((0..x).map(|a| 0u8)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn go(mut self) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 21 ~ fn go(mut self) -> impl std::future::Future + Send [INFO] [stdout] 22 | where [INFO] [stdout] 23 | Self: Sized, [INFO] [stdout] 24 ~ {async { [INFO] [stdout] 25 | return self.await.go().await; [INFO] [stdout] 26 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] Compiling wars v0.8.1 (/opt/rustwide/workdir/crates/wars) [INFO] [stdout] warning: unused imports: `empty` and `once` [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{empty, once}, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | async fn go(mut self) -> T [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: `a` [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/wars-rt/src/func.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 206 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/wars-rt/src/lib.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | self.extend((0..x).map(|a| 0u8)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> crates/wars-rt/src/func/unsync.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn go(mut self) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 21 ~ fn go(mut self) -> impl std::future::Future + Send [INFO] [stdout] 22 | where [INFO] [stdout] 23 | Self: Sized, [INFO] [stdout] 24 ~ {async { [INFO] [stdout] 25 | return self.await.go().await; [INFO] [stdout] 26 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stdout] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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.61s [INFO] running `Command { std: "docker" "inspect" "7b036d53742169e3a6791afa6b72449e6d68eb1cb0af9e55661ea74262791a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b036d53742169e3a6791afa6b72449e6d68eb1cb0af9e55661ea74262791a9b", kill_on_drop: false }` [INFO] [stdout] 7b036d53742169e3a6791afa6b72449e6d68eb1cb0af9e55661ea74262791a9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb60d1f22dc3f49157f6a9700608c14ce3e23e17f908311bc5a6208715281675 [INFO] running `Command { std: "docker" "start" "-a" "cb60d1f22dc3f49157f6a9700608c14ce3e23e17f908311bc5a6208715281675", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/wars-rt/Cargo.toml: version requirement `0.3.0+portal` for dependency `portal-pc-tramp` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] warning: unused imports: `empty` and `once` [INFO] [stderr] --> crates/wars-rt/src/func/unsync.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | iter::{empty, once}, [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/wars-rt/src/func/unsync.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | async fn go(mut self) -> T [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: `a` [INFO] [stderr] --> crates/wars-rt/src/func/unsync.rs:246:14 [INFO] [stderr] | [INFO] [stderr] 246 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> crates/wars-rt/src/func.rs:206:14 [INFO] [stderr] | [INFO] [stderr] 206 | fn uncoe(a: Vec>) -> anyhow::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> crates/wars-rt/src/lib.rs:109:33 [INFO] [stderr] | [INFO] [stderr] 109 | self.extend((0..x).map(|a| 0u8)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> crates/wars-rt/src/func/unsync.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | async fn go(mut self) -> T [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 21 ~ fn go(mut self) -> impl std::future::Future + Send [INFO] [stderr] 22 | where [INFO] [stderr] 23 | Self: Sized, [INFO] [stderr] 24 ~ {async { [INFO] [stderr] 25 | return self.await.go().await; [INFO] [stderr] 26 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wars-rt` (lib) generated 6 warnings (run `cargo fix --lib -p wars-rt` to apply 5 suggestions) [INFO] [stderr] warning: `wars-rt` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused imports: `BTreeSet`, `OnceLock`, and `f32::consts::E` [INFO] [stderr] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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] --> crates/wars/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.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/waffle_func_reloop-3d68ed5f913a1fb9) [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wars-46d17c62e3150f1f) [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wars_rt-21e6d095175f8745) [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 waffle_func_reloop [INFO] [stdout] [INFO] [stderr] Doc-tests wars [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] [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_rt [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" "cb60d1f22dc3f49157f6a9700608c14ce3e23e17f908311bc5a6208715281675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb60d1f22dc3f49157f6a9700608c14ce3e23e17f908311bc5a6208715281675", kill_on_drop: false }` [INFO] [stdout] cb60d1f22dc3f49157f6a9700608c14ce3e23e17f908311bc5a6208715281675