[INFO] fetching crate portal-pc-koffle 0.0.4... [INFO] testing portal-pc-koffle-0.0.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate portal-pc-koffle 0.0.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate portal-pc-koffle 0.0.4 [INFO] finished tweaking crates.io crate portal-pc-koffle 0.0.4 [INFO] tweaked toml for crates.io crate portal-pc-koffle 0.0.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate portal-pc-koffle 0.0.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate portal-pc-koffle 0.0.4 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded never-say-never v6.6.666 [INFO] [stderr] Downloaded polonius-the-crab v0.2.1 [INFO] [stderr] Downloaded lending-iterator v0.1.7 [INFO] [stderr] Downloaded modinverse v0.1.1 [INFO] [stderr] Downloaded ssa-traits v0.2.1 [INFO] [stderr] Downloaded ext-trait-proc_macros v1.0.1 [INFO] [stderr] Downloaded once_map v0.4.21 [INFO] [stderr] Downloaded ext-trait v1.0.1 [INFO] [stderr] Downloaded twice-cell v0.1.1 [INFO] [stderr] Downloaded cfg-traits v0.3.0-alpha.0 [INFO] [stderr] Downloaded wasm-encoder v0.212.0 [INFO] [stderr] Downloaded waffle-ast v0.4.3 [INFO] [stderr] Downloaded portal-pc-waffle v0.3.8 [INFO] [stderr] Downloaded cfg-traits v0.2.1 [INFO] [stderr] Downloaded wasmparser v0.212.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.19 [INFO] [stderr] Downloaded arena-traits v0.2.1 [INFO] [stderr] Downloaded extension-traits v1.0.1 [INFO] [stderr] Downloaded lending-iterator-proc_macros v0.1.7 [INFO] [stderr] Downloaded ssa-traits v0.3.0-alpha.0 [INFO] [stderr] Downloaded zerocopy v0.8.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd2e09aafb3a3712dce10de40dc10a8fedd739c78286a634f268df883b1b578d [INFO] running `Command { std: "docker" "start" "-a" "cd2e09aafb3a3712dce10de40dc10a8fedd739c78286a634f268df883b1b578d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd2e09aafb3a3712dce10de40dc10a8fedd739c78286a634f268df883b1b578d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd2e09aafb3a3712dce10de40dc10a8fedd739c78286a634f268df883b1b578d", kill_on_drop: false }` [INFO] [stdout] cd2e09aafb3a3712dce10de40dc10a8fedd739c78286a634f268df883b1b578d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08267b617e74ca33000bbcb86ab2427b3bfdabcac5382932ef9b7e12fa186c14 [INFO] running `Command { std: "docker" "start" "-a" "08267b617e74ca33000bbcb86ab2427b3bfdabcac5382932ef9b7e12fa186c14", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling arena-traits v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling polonius-the-crab v0.2.1 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling cfg-traits v0.3.0-alpha.0 [INFO] [stderr] Compiling cfg-traits v0.2.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling wasm-encoder v0.212.0 [INFO] [stderr] Compiling ssa-traits v0.2.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling modinverse v0.1.1 [INFO] [stderr] Compiling twice-cell v0.1.1 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Compiling rand_core v0.9.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 structopt-derive v0.4.18 [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 zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling lending-iterator v0.1.7 [INFO] [stderr] Compiling ssa-traits v0.3.0-alpha.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ruzstd v0.5.0 [INFO] [stderr] Compiling once_map v0.4.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling wasmparser v0.212.0 [INFO] [stderr] Compiling portal-pc-waffle v0.3.8 [INFO] [stderr] Compiling waffle-ast v0.4.3 [INFO] [stderr] Compiling portal-pc-koffle v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::BTreeMap` and `iter::once` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | iter::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: unused imports: `collections::BTreeMap` and `mem` [INFO] [stdout] --> src/bulk_memory_lowering.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, mem}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/bulk_memory_lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SignatureData` and `util::new_sig` [INFO] [stdout] --> src/bulk_memory_lowering.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | util::new_sig, Block, BlockTarget, Func, FunctionBody, Memory, MemoryArg, Module, Operator, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | SignatureData, Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/detta.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/detta.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cfg::CFGInfo, passes::basic_opt::value_is_pure, Block, BlockTarget, FunctionBody, Operator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/hustle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/hustle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/inline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstVal`, `ImportKind`, `Type`, `ValueDef`, `Value`, `cfg::CFGInfo`, `const_eval`, and `util::new_sig` [INFO] [stdout] --> src/inline.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | const_eval, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | passes::{basic_opt::value_is_pure, tcore::results_ref_2}, [INFO] [stdout] 16 | util::new_sig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | Block, BlockTarget, ConstVal, Func, FuncDecl, FunctionBody, ImportKind, Module, Operator, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/importify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/importify.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | Type::I32 => Operator::I32Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | Type::I64 => Operator::I64Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | Type::F32 => Operator::F32Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | Type::F64 => Operator::F64Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bulk_memory_lowering.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | let mut src = f.add_blockparam(n, srct); [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: `block` [INFO] [stdout] --> src/detta.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/hustle.rs:158:54 [INFO] [stdout] | [INFO] [stdout] 158 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hustle.rs:215:64 [INFO] [stdout] | [INFO] [stdout] 215 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hustle.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut state = src.blocks[k] [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hustle.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | for mut i in take(&mut m.imports) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/inline.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/inline.rs:166:60 [INFO] [stdout] | [INFO] [stdout] 166 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tys` [INFO] [stdout] --> src/inline.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | ... let tys = match &module.signatures[module.funcs[*func].sig()] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:278:55 [INFO] [stdout] | [INFO] [stdout] 278 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:307:55 [INFO] [stdout] | [INFO] [stdout] 307 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:385:51 [INFO] [stdout] | [INFO] [stdout] 385 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/importify.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | let Some((_, (ky, ts))) = m2.pop_first() else { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/importify.rs:204:54 [INFO] [stdout] | [INFO] [stdout] 204 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/importify.rs:216:64 [INFO] [stdout] | [INFO] [stdout] 216 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/importify.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | Some((n, vs)) => vs, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:280:54 [INFO] [stdout] | [INFO] [stdout] 280 | with_swizz(module, f, collector, |(module, b, f, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:343:44 [INFO] [stdout] | [INFO] [stdout] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:343:59 [INFO] [stdout] | [INFO] [stdout] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:403:54 [INFO] [stdout] | [INFO] [stdout] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:457:48 [INFO] [stdout] | [INFO] [stdout] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:457:62 [INFO] [stdout] | [INFO] [stdout] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "08267b617e74ca33000bbcb86ab2427b3bfdabcac5382932ef9b7e12fa186c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08267b617e74ca33000bbcb86ab2427b3bfdabcac5382932ef9b7e12fa186c14", kill_on_drop: false }` [INFO] [stdout] 08267b617e74ca33000bbcb86ab2427b3bfdabcac5382932ef9b7e12fa186c14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4554f51679e41ca0eacac789f9aa794e6d695b270a5940943ccde2fcccce82d [INFO] running `Command { std: "docker" "start" "-a" "f4554f51679e41ca0eacac789f9aa794e6d695b270a5940943ccde2fcccce82d", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `collections::BTreeMap` and `iter::once` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | iter::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: unused imports: `collections::BTreeMap` and `mem` [INFO] [stdout] --> src/bulk_memory_lowering.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, mem}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/bulk_memory_lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SignatureData` and `util::new_sig` [INFO] [stdout] --> src/bulk_memory_lowering.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | util::new_sig, Block, BlockTarget, Func, FunctionBody, Memory, MemoryArg, Module, Operator, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | SignatureData, Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/detta.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/detta.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cfg::CFGInfo, passes::basic_opt::value_is_pure, Block, BlockTarget, FunctionBody, Operator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/hustle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/hustle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/inline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstVal`, `ImportKind`, `Type`, `ValueDef`, `Value`, `cfg::CFGInfo`, `const_eval`, and `util::new_sig` [INFO] [stdout] --> src/inline.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | const_eval, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | passes::{basic_opt::value_is_pure, tcore::results_ref_2}, [INFO] [stdout] 16 | util::new_sig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | Block, BlockTarget, ConstVal, Func, FuncDecl, FunctionBody, ImportKind, Module, Operator, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/importify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/importify.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | Type::I32 => Operator::I32Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | Type::I64 => Operator::I64Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | Type::F32 => Operator::F32Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | Type::F64 => Operator::F64Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bulk_memory_lowering.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | let mut src = f.add_blockparam(n, srct); [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: `block` [INFO] [stdout] --> src/detta.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/hustle.rs:158:54 [INFO] [stdout] | [INFO] [stdout] 158 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hustle.rs:215:64 [INFO] [stdout] | [INFO] [stdout] 215 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hustle.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut state = src.blocks[k] [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hustle.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | for mut i in take(&mut m.imports) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/inline.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/inline.rs:166:60 [INFO] [stdout] | [INFO] [stdout] 166 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tys` [INFO] [stdout] --> src/inline.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | ... let tys = match &module.signatures[module.funcs[*func].sig()] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:278:55 [INFO] [stdout] | [INFO] [stdout] 278 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:307:55 [INFO] [stdout] | [INFO] [stdout] 307 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling portal-pc-koffle v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:385:51 [INFO] [stdout] | [INFO] [stdout] 385 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/importify.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | let Some((_, (ky, ts))) = m2.pop_first() else { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/importify.rs:204:54 [INFO] [stdout] | [INFO] [stdout] 204 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/importify.rs:216:64 [INFO] [stdout] | [INFO] [stdout] 216 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/importify.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | Some((n, vs)) => vs, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:280:54 [INFO] [stdout] | [INFO] [stdout] 280 | with_swizz(module, f, collector, |(module, b, f, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:343:44 [INFO] [stdout] | [INFO] [stdout] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:343:59 [INFO] [stdout] | [INFO] [stdout] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:403:54 [INFO] [stdout] | [INFO] [stdout] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:457:48 [INFO] [stdout] | [INFO] [stdout] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:457:62 [INFO] [stdout] | [INFO] [stdout] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::BTreeMap` and `iter::once` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | iter::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: unused imports: `collections::BTreeMap` and `mem` [INFO] [stdout] --> src/bulk_memory_lowering.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::BTreeMap, mem}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/bulk_memory_lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SignatureData` and `util::new_sig` [INFO] [stdout] --> src/bulk_memory_lowering.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | util::new_sig, Block, BlockTarget, Func, FunctionBody, Memory, MemoryArg, Module, Operator, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | SignatureData, Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/detta.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/detta.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | cfg::CFGInfo, passes::basic_opt::value_is_pure, Block, BlockTarget, FunctionBody, Operator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/hustle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/hustle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/inline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstVal`, `ImportKind`, `Type`, `ValueDef`, `Value`, `cfg::CFGInfo`, `const_eval`, and `util::new_sig` [INFO] [stdout] --> src/inline.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | const_eval, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | passes::{basic_opt::value_is_pure, tcore::results_ref_2}, [INFO] [stdout] 16 | util::new_sig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | Block, BlockTarget, ConstVal, Func, FuncDecl, FunctionBody, ImportKind, Module, Operator, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/importify.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::CFGInfo` [INFO] [stdout] --> src/importify.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | cfg::CFGInfo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | Type::I32 => Operator::I32Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 14 | Type::I64 => Operator::I64Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | Type::F32 => Operator::F32Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/rand.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | Type::F64 => Operator::F64Const { value: rng.gen() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bulk_memory_lowering.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | let mut src = f.add_blockparam(n, srct); [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: `block` [INFO] [stdout] --> src/detta.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/hustle.rs:158:54 [INFO] [stdout] | [INFO] [stdout] 158 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hustle.rs:215:64 [INFO] [stdout] | [INFO] [stdout] 215 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hustle.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut state = src.blocks[k] [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hustle.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | for mut i in take(&mut m.imports) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/inline.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/inline.rs:166:60 [INFO] [stdout] | [INFO] [stdout] 166 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tys` [INFO] [stdout] --> src/inline.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | ... let tys = match &module.signatures[module.funcs[*func].sig()] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:278:55 [INFO] [stdout] | [INFO] [stdout] 278 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:307:55 [INFO] [stdout] | [INFO] [stdout] 307 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/inline.rs:385:51 [INFO] [stdout] | [INFO] [stdout] 385 | ... SignatureData::Func { params, returns } => returns, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts` [INFO] [stdout] --> src/importify.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | let Some((_, (ky, ts))) = m2.pop_first() else { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/importify.rs:204:54 [INFO] [stdout] | [INFO] [stdout] 204 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/importify.rs:216:64 [INFO] [stdout] | [INFO] [stdout] 216 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/importify.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | Some((n, vs)) => vs, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:280:54 [INFO] [stdout] | [INFO] [stdout] 280 | with_swizz(module, f, collector, |(module, b, f, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:343:44 [INFO] [stdout] | [INFO] [stdout] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:343:59 [INFO] [stdout] | [INFO] [stdout] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:403:54 [INFO] [stdout] | [INFO] [stdout] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/lib.rs:457:48 [INFO] [stdout] | [INFO] [stdout] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/lib.rs:457:62 [INFO] [stdout] | [INFO] [stdout] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "f4554f51679e41ca0eacac789f9aa794e6d695b270a5940943ccde2fcccce82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4554f51679e41ca0eacac789f9aa794e6d695b270a5940943ccde2fcccce82d", kill_on_drop: false }` [INFO] [stdout] f4554f51679e41ca0eacac789f9aa794e6d695b270a5940943ccde2fcccce82d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb126d1d6699e80a0028d4628e33abcb467e9be2e57f822b7e814c487f6e2f2f [INFO] running `Command { std: "docker" "start" "-a" "eb126d1d6699e80a0028d4628e33abcb467e9be2e57f822b7e814c487f6e2f2f", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `collections::BTreeMap` and `iter::once` [INFO] [stderr] --> src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | collections::BTreeMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | iter::once, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `collections::BTreeMap` and `mem` [INFO] [stderr] --> src/bulk_memory_lowering.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::BTreeMap, mem}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow::Context` [INFO] [stderr] --> src/bulk_memory_lowering.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SignatureData` and `util::new_sig` [INFO] [stderr] --> src/bulk_memory_lowering.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | util::new_sig, Block, BlockTarget, Func, FunctionBody, Memory, MemoryArg, Module, Operator, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 6 | SignatureData, Type, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `default` [INFO] [stderr] --> src/detta.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | default, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cfg::CFGInfo` [INFO] [stderr] --> src/detta.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | cfg::CFGInfo, passes::basic_opt::value_is_pure, Block, BlockTarget, FunctionBody, Operator, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `default` [INFO] [stderr] --> src/hustle.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | default, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cfg::CFGInfo` [INFO] [stderr] --> src/hustle.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | cfg::CFGInfo, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `default` [INFO] [stderr] --> src/inline.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | default, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ConstVal`, `ImportKind`, `Type`, `ValueDef`, `Value`, `cfg::CFGInfo`, `const_eval`, and `util::new_sig` [INFO] [stderr] --> src/inline.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | cfg::CFGInfo, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | const_eval, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 15 | passes::{basic_opt::value_is_pure, tcore::results_ref_2}, [INFO] [stderr] 16 | util::new_sig, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 17 | Block, BlockTarget, ConstVal, Func, FuncDecl, FunctionBody, ImportKind, Module, Operator, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 18 | SignatureData, Terminator, Type, Value, ValueDef, [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `default` [INFO] [stderr] --> src/importify.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | default, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cfg::CFGInfo` [INFO] [stderr] --> src/importify.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | cfg::CFGInfo, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stderr] --> src/rand.rs:13:58 [INFO] [stderr] | [INFO] [stderr] 13 | Type::I32 => Operator::I32Const { value: rng.gen() }, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stderr] --> src/rand.rs:14:58 [INFO] [stderr] | [INFO] [stderr] 14 | Type::I64 => Operator::I64Const { value: rng.gen() }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stderr] --> src/rand.rs:15:58 [INFO] [stderr] | [INFO] [stderr] 15 | Type::F32 => Operator::F32Const { value: rng.gen() }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stderr] --> src/rand.rs:16:58 [INFO] [stderr] | [INFO] [stderr] 16 | Type::F64 => Operator::F64Const { value: rng.gen() }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bulk_memory_lowering.rs:553:21 [INFO] [stderr] | [INFO] [stderr] 553 | let mut src = f.add_blockparam(n, srct); [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: `block` [INFO] [stderr] --> src/detta.rs:63:50 [INFO] [stderr] | [INFO] [stderr] 63 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/hustle.rs:158:54 [INFO] [stderr] | [INFO] [stderr] 158 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/hustle.rs:215:64 [INFO] [stderr] | [INFO] [stderr] 215 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/hustle.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | let mut state = src.blocks[k] [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/hustle.rs:512:13 [INFO] [stderr] | [INFO] [stderr] 512 | for mut i in take(&mut m.imports) { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/inline.rs:109:50 [INFO] [stderr] | [INFO] [stderr] 109 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/inline.rs:166:60 [INFO] [stderr] | [INFO] [stderr] 166 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tys` [INFO] [stderr] --> src/inline.rs:277:33 [INFO] [stderr] | [INFO] [stderr] 277 | ... let tys = match &module.signatures[module.funcs[*func].sig()] { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/inline.rs:278:55 [INFO] [stderr] | [INFO] [stderr] 278 | ... SignatureData::Func { params, returns } => returns, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/inline.rs:307:55 [INFO] [stderr] | [INFO] [stderr] 307 | ... SignatureData::Func { params, returns } => returns, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/inline.rs:347:51 [INFO] [stderr] | [INFO] [stderr] 347 | ... SignatureData::Func { params, returns } => returns, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/inline.rs:385:51 [INFO] [stderr] | [INFO] [stderr] 385 | ... SignatureData::Func { params, returns } => returns, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ts` [INFO] [stderr] --> src/importify.rs:121:39 [INFO] [stderr] | [INFO] [stderr] 121 | let Some((_, (ky, ts))) = m2.pop_first() else { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/importify.rs:204:54 [INFO] [stderr] | [INFO] [stderr] 204 | waffle::ValueDef::BlockParam(block, _, _) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/importify.rs:216:64 [INFO] [stderr] | [INFO] [stderr] 216 | waffle::ValueDef::PickOutput(value, a, b) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/importify.rs:230:27 [INFO] [stderr] | [INFO] [stderr] 230 | Some((n, vs)) => vs, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/lib.rs:63:45 [INFO] [stderr] | [INFO] [stderr] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collector` [INFO] [stderr] --> src/lib.rs:63:60 [INFO] [stderr] | [INFO] [stderr] 63 | with_swizz(module, fi, collector, |(module, f, fi, collector)| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collector` [INFO] [stderr] --> src/lib.rs:280:54 [INFO] [stderr] | [INFO] [stderr] 280 | with_swizz(module, f, collector, |(module, b, f, collector)| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/lib.rs:343:44 [INFO] [stderr] | [INFO] [stderr] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collector` [INFO] [stderr] --> src/lib.rs:343:59 [INFO] [stderr] | [INFO] [stderr] 343 | with_swizz(module, b, collector, |(module, bb, b, collector)| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/lib.rs:403:40 [INFO] [stderr] | [INFO] [stderr] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collector` [INFO] [stderr] --> src/lib.rs:403:54 [INFO] [stderr] | [INFO] [stderr] 403 | with_swizz(module, x, collector, |(module, b, x, collector)| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module` [INFO] [stderr] --> src/lib.rs:457:48 [INFO] [stderr] | [INFO] [stderr] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collector` [INFO] [stderr] --> src/lib.rs:457:62 [INFO] [stderr] | [INFO] [stderr] 457 | a = with_swizz(module, f, collector, |(module, b, x, collector)| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stderr] [INFO] [stderr] warning: `portal-pc-koffle` (lib) generated 42 warnings (run `cargo fix --lib -p portal-pc-koffle` to apply 15 suggestions) [INFO] [stderr] warning: `portal-pc-koffle` (lib test) generated 42 warnings (42 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/portal_pc_koffle-161e80689f3fd481) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests portal_pc_koffle [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" "eb126d1d6699e80a0028d4628e33abcb467e9be2e57f822b7e814c487f6e2f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb126d1d6699e80a0028d4628e33abcb467e9be2e57f822b7e814c487f6e2f2f", kill_on_drop: false }` [INFO] [stdout] eb126d1d6699e80a0028d4628e33abcb467e9be2e57f822b7e814c487f6e2f2f