[INFO] cloning repository https://github.com/shinee0401/lrasm-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shinee0401/lrasm-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshinee0401%2Flrasm-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshinee0401%2Flrasm-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe2e791084df22b943cd4acb433392aa6ea66b3e [INFO] testing shinee0401/lrasm-tool against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshinee0401%2Flrasm-tool" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shinee0401/lrasm-tool [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/shinee0401/lrasm-tool [INFO] tweaked toml for git repo https://github.com/shinee0401/lrasm-tool written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shinee0401/lrasm-tool on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shinee0401/lrasm-tool 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 025b85bab66a8291aa0d7c4fd7175f0e10eaeebae2a56235c3868b8a06513319 [INFO] running `Command { std: "docker" "start" "-a" "025b85bab66a8291aa0d7c4fd7175f0e10eaeebae2a56235c3868b8a06513319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "025b85bab66a8291aa0d7c4fd7175f0e10eaeebae2a56235c3868b8a06513319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025b85bab66a8291aa0d7c4fd7175f0e10eaeebae2a56235c3868b8a06513319", kill_on_drop: false }` [INFO] [stdout] 025b85bab66a8291aa0d7c4fd7175f0e10eaeebae2a56235c3868b8a06513319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec3c8dc27d84757a4e823709602265fd1aaa21d8607ec782af2a706b20e6497e [INFO] running `Command { std: "docker" "start" "-a" "ec3c8dc27d84757a4e823709602265fd1aaa21d8607ec782af2a706b20e6497e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling spdx v0.10.3 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling symbolic_expressions v5.0.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling egg v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling wasm-tools v1.0.200 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling is_executable v1.0.1 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling ruzstd v0.5.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling arbitrary v1.3.2 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling clap_complete v4.4.9 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling flagset v0.4.4 [INFO] [stderr] Compiling wasmparser v0.200.0 (/opt/rustwide/workdir/crates/wasmparser) [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling serde_yaml v0.9.30 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:861:15 [INFO] [stdout] | [INFO] [stdout] 861 | impl Hash for (dyn ModuleImportKey + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 861 - impl Hash for (dyn ModuleImportKey + '_) { [INFO] [stdout] 861 + impl Hash for dyn ModuleImportKey + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:868:20 [INFO] [stdout] | [INFO] [stdout] 868 | impl PartialEq for (dyn ModuleImportKey + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 868 - impl PartialEq for (dyn ModuleImportKey + '_) { [INFO] [stdout] 868 + impl PartialEq for dyn ModuleImportKey + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:874:13 [INFO] [stdout] | [INFO] [stdout] 874 | impl Eq for (dyn ModuleImportKey + '_) {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 874 - impl Eq for (dyn ModuleImportKey + '_) {} [INFO] [stdout] 874 + impl Eq for dyn ModuleImportKey + '_ {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stdout] warning: function `assert_send` is never used [INFO] [stdout] --> crates/wasmparser/src/validator/core.rs:1312:8 [INFO] [stdout] | [INFO] [stdout] 1312 | fn assert_send() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert` is never used [INFO] [stdout] --> crates/wasmparser/src/validator/core.rs:1316:8 [INFO] [stdout] | [INFO] [stdout] 1316 | fn assert() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/binary_reader.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(data: &[u8]) -> BinaryReader { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(data: &[u8]) -> BinaryReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/binary_reader.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new_with_offset(data: &[u8], original_offset: usize) -> BinaryReader { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new_with_offset(data: &[u8], original_offset: usize) -> BinaryReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/binary_reader.rs:1717:20 [INFO] [stdout] | [INFO] [stdout] 1717 | pub fn targets(&self) -> BrTableTargets { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1717 | pub fn targets(&self) -> BrTableTargets<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/parser.rs:884:38 [INFO] [stdout] | [INFO] [stdout] 884 | pub fn parse_all(self, mut data: &[u8]) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 884 | pub fn parse_all(self, mut data: &[u8]) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/readers/core/init.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(data: &[u8], offset: usize) -> ConstExpr { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(data: &[u8], offset: usize) -> ConstExpr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/validator.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn types(&self, mut level: usize) -> Option { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 488 | pub fn types(&self, mut level: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:1932:19 [INFO] [stdout] | [INFO] [stdout] 1932 | pub fn as_ref(&self) -> TypesRef { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1932 | pub fn as_ref(&self) -> TypesRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-encoder v0.200.0 (/opt/rustwide/workdir/crates/wasm-encoder) [INFO] [stderr] Compiling wasmprinter v0.200.0 (/opt/rustwide/workdir/crates/wasmprinter) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> crates/wasmprinter/src/lib.rs:899:20 [INFO] [stdout] | [INFO] [stdout] 899 | for idx in &ty.supertype_idx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 899 - for idx in &ty.supertype_idx { [INFO] [stdout] 899 + while let Some(idx) = &ty.supertype_idx { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 899 - for idx in &ty.supertype_idx { [INFO] [stdout] 899 + if let Some(idx) = &ty.supertype_idx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn ty(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn ty(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 217 | pub fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:329:15 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 329 | pub fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wast v200.0.0 (/opt/rustwide/workdir/crates/wast) [INFO] [stderr] Compiling wasm-metadata v0.200.0 (/opt/rustwide/workdir/crates/wasm-metadata) [INFO] [stderr] Compiling wasm-mutate v0.200.0 (/opt/rustwide/workdir/crates/wasm-mutate) [INFO] [stdout] warning: field `range` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/codemotion/ir/parse_context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 47 | IfElse { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 54 | range: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `range` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/codemotion/ir/parse_context.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 71 | Block { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 77 | range: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry_idx` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/peephole/dfg.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct StackEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub entry_idx: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/peephole/eggsy/encoder/expr2wasm.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | Global { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 20 | /// Global index [INFO] [stdout] 21 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveStartSection` is never constructed [INFO] [stdout] --> crates/wasm-mutate/src/mutators/start.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RemoveStartSection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-mutate/src/info.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(input_wasm: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(input_wasm: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-mutate/src/info.rs:287:31 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_global_section(&self) -> RawSection { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_global_section(&self) -> RawSection<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-shrink v0.200.0 (/opt/rustwide/workdir/crates/wasm-shrink) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wast/src/core/module.rs:162:50 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn parse_remaining(parser: Parser<'a>) -> Result> { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn parse_remaining(parser: Parser<'a>) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wast/src/component/component.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | fn parse_remaining(parser: Parser<'a>) -> Result> { [INFO] [stdout] | ^^ -------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 161 | fn parse_remaining(parser: Parser<'a>) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wat v1.0.200 (/opt/rustwide/workdir/crates/wat) [INFO] [stderr] Compiling wit-parser v0.200.0 (/opt/rustwide/workdir/crates/wit-parser) [INFO] [stderr] Compiling wasm-smith v0.200.0 (/opt/rustwide/workdir/crates/wasm-smith) [INFO] [stderr] Compiling wasm-compose v0.200.0 (/opt/rustwide/workdir/crates/wasm-compose) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/composer.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 282 | r: InstanceImportRef, [INFO] [stdout] 283 | ) -> (&Component, &str, ComponentInstanceTypeId) { [INFO] [stdout] | ---------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 283 | ) -> (&Component<'_>, &str, ComponentInstanceTypeId) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/encoding.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/encoding.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/graph.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn types(&self) -> TypesRef { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn types(&self) -> TypesRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/graph.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 781 | id: impl Into, [INFO] [stdout] 782 | ) -> Option<(ComponentId, &Component)> { [INFO] [stdout] | ---------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 782 | ) -> Option<(ComponentId, &Component<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wit-parser/src/lib.rs:696:23 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter_types(&self) -> ResultsTypeIter { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter_types(&self) -> ResultsTypeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecGroup` is never constructed [INFO] [stdout] --> crates/wasm-smith/src/core.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) struct RecGroup { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entities` is never constructed [INFO] [stdout] --> crates/wasm-smith/src/core.rs:2289:8 [INFO] [stdout] | [INFO] [stdout] 2289 | struct Entities { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wit-component v0.200.0 (/opt/rustwide/workdir/crates/wit-component) [INFO] [stderr] Compiling wit-smith v0.200.0 (/opt/rustwide/workdir/crates/wit-smith) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 50s [INFO] running `Command { std: "docker" "inspect" "ec3c8dc27d84757a4e823709602265fd1aaa21d8607ec782af2a706b20e6497e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec3c8dc27d84757a4e823709602265fd1aaa21d8607ec782af2a706b20e6497e", kill_on_drop: false }` [INFO] [stdout] ec3c8dc27d84757a4e823709602265fd1aaa21d8607ec782af2a706b20e6497e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0b125d6fc15f948191d3be7fee451ae8d8777182184d12b64e7bef38253676b [INFO] running `Command { std: "docker" "start" "-a" "e0b125d6fc15f948191d3be7fee451ae8d8777182184d12b64e7bef38253676b", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:861:15 [INFO] [stdout] | [INFO] [stdout] 861 | impl Hash for (dyn ModuleImportKey + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 861 - impl Hash for (dyn ModuleImportKey + '_) { [INFO] [stdout] 861 + impl Hash for dyn ModuleImportKey + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:868:20 [INFO] [stdout] | [INFO] [stdout] 868 | impl PartialEq for (dyn ModuleImportKey + '_) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 868 - impl PartialEq for (dyn ModuleImportKey + '_) { [INFO] [stdout] 868 + impl PartialEq for dyn ModuleImportKey + '_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:874:13 [INFO] [stdout] | [INFO] [stdout] 874 | impl Eq for (dyn ModuleImportKey + '_) {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 874 - impl Eq for (dyn ModuleImportKey + '_) {} [INFO] [stdout] 874 + impl Eq for dyn ModuleImportKey + '_ {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_send` is never used [INFO] [stdout] --> crates/wasmparser/src/validator/core.rs:1312:8 [INFO] [stdout] | [INFO] [stdout] 1312 | fn assert_send() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert` is never used [INFO] [stdout] --> crates/wasmparser/src/validator/core.rs:1316:8 [INFO] [stdout] | [INFO] [stdout] 1316 | fn assert() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/binary_reader.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(data: &[u8]) -> BinaryReader { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(data: &[u8]) -> BinaryReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/binary_reader.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new_with_offset(data: &[u8], original_offset: usize) -> BinaryReader { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new_with_offset(data: &[u8], original_offset: usize) -> BinaryReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/binary_reader.rs:1717:20 [INFO] [stdout] | [INFO] [stdout] 1717 | pub fn targets(&self) -> BrTableTargets { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1717 | pub fn targets(&self) -> BrTableTargets<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/parser.rs:884:38 [INFO] [stdout] | [INFO] [stdout] 884 | pub fn parse_all(self, mut data: &[u8]) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 884 | pub fn parse_all(self, mut data: &[u8]) -> impl Iterator>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/readers/core/init.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(data: &[u8], offset: usize) -> ConstExpr { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(data: &[u8], offset: usize) -> ConstExpr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/validator.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn types(&self, mut level: usize) -> Option { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 488 | pub fn types(&self, mut level: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasmparser/src/validator/types.rs:1932:19 [INFO] [stdout] | [INFO] [stdout] 1932 | pub fn as_ref(&self) -> TypesRef { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1932 | pub fn as_ref(&self) -> TypesRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn ty(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn ty(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 217 | pub fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-encoder/src/component/types.rs:329:15 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 329 | pub fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> crates/wasmprinter/src/lib.rs:899:20 [INFO] [stdout] | [INFO] [stdout] 899 | for idx in &ty.supertype_idx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 899 - for idx in &ty.supertype_idx { [INFO] [stdout] 899 + while let Some(idx) = &ty.supertype_idx { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 899 - for idx in &ty.supertype_idx { [INFO] [stdout] 899 + if let Some(idx) = &ty.supertype_idx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/wast/src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 364 | / parse_flags! { [INFO] [stdout] 365 | | "binding-weak" = 1 << 0, [INFO] [stdout] 366 | | "binding-local" = 1 << 1, [INFO] [stdout] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 373 | | "absolute" = 1 << 9, [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wast/src/core/module.rs:162:50 [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn parse_remaining(parser: Parser<'a>) -> Result> { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn parse_remaining(parser: Parser<'a>) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wast/src/component/component.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | fn parse_remaining(parser: Parser<'a>) -> Result> { [INFO] [stdout] | ^^ -------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 161 | fn parse_remaining(parser: Parser<'a>) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `range` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/codemotion/ir/parse_context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 47 | IfElse { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 54 | range: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `range` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/codemotion/ir/parse_context.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 71 | Block { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 77 | range: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry_idx` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/peephole/dfg.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct StackEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub entry_idx: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> crates/wasm-mutate/src/mutators/peephole/eggsy/encoder/expr2wasm.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | Global { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 20 | /// Global index [INFO] [stdout] 21 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveStartSection` is never constructed [INFO] [stdout] --> crates/wasm-mutate/src/mutators/start.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RemoveStartSection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-mutate/src/info.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(input_wasm: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(input_wasm: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-mutate/src/info.rs:287:31 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_global_section(&self) -> RawSection { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_global_section(&self) -> RawSection<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wit-parser/src/lib.rs:696:23 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter_types(&self) -> ResultsTypeIter { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 696 | pub fn iter_types(&self) -> ResultsTypeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecGroup` is never constructed [INFO] [stdout] --> crates/wasm-smith/src/core.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) struct RecGroup { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entities` is never constructed [INFO] [stdout] --> crates/wasm-smith/src/core.rs:2289:8 [INFO] [stdout] | [INFO] [stdout] 2289 | struct Entities { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/composer.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 282 | r: InstanceImportRef, [INFO] [stdout] 283 | ) -> (&Component, &str, ComponentInstanceTypeId) { [INFO] [stdout] | ---------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 283 | ) -> (&Component<'_>, &str, ComponentInstanceTypeId) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/encoding.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/encoding.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/graph.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn types(&self) -> TypesRef { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | pub fn types(&self) -> TypesRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/wasm-compose/src/graph.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 781 | id: impl Into, [INFO] [stdout] 782 | ) -> Option<(ComponentId, &Component)> { [INFO] [stdout] | ---------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 782 | ) -> Option<(ComponentId, &Component<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling wasm-tools v1.0.200 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.53s [INFO] running `Command { std: "docker" "inspect" "e0b125d6fc15f948191d3be7fee451ae8d8777182184d12b64e7bef38253676b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b125d6fc15f948191d3be7fee451ae8d8777182184d12b64e7bef38253676b", kill_on_drop: false }` [INFO] [stdout] e0b125d6fc15f948191d3be7fee451ae8d8777182184d12b64e7bef38253676b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6503dfec4b1c171337e54c17b3d73026a208559b757ff166beab0fb51a3d1f5 [INFO] running `Command { std: "docker" "start" "-a" "d6503dfec4b1c171337e54c17b3d73026a208559b757ff166beab0fb51a3d1f5", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> crates/wasmparser/src/validator/types.rs:861:15 [INFO] [stderr] | [INFO] [stderr] 861 | impl Hash for (dyn ModuleImportKey + '_) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 861 - impl Hash for (dyn ModuleImportKey + '_) { [INFO] [stderr] 861 + impl Hash for dyn ModuleImportKey + '_ { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> crates/wasmparser/src/validator/types.rs:868:20 [INFO] [stderr] | [INFO] [stderr] 868 | impl PartialEq for (dyn ModuleImportKey + '_) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 868 - impl PartialEq for (dyn ModuleImportKey + '_) { [INFO] [stderr] 868 + impl PartialEq for dyn ModuleImportKey + '_ { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> crates/wasmparser/src/validator/types.rs:874:13 [INFO] [stderr] | [INFO] [stderr] 874 | impl Eq for (dyn ModuleImportKey + '_) {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 874 - impl Eq for (dyn ModuleImportKey + '_) {} [INFO] [stderr] 874 + impl Eq for dyn ModuleImportKey + '_ {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function `assert_send` is never used [INFO] [stderr] --> crates/wasmparser/src/validator/core.rs:1312:8 [INFO] [stderr] | [INFO] [stderr] 1312 | fn assert_send() {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `assert` is never used [INFO] [stderr] --> crates/wasmparser/src/validator/core.rs:1316:8 [INFO] [stderr] | [INFO] [stderr] 1316 | fn assert() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasmparser/src/binary_reader.rs:123:22 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn new(data: &[u8]) -> BinaryReader { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 123 | pub fn new(data: &[u8]) -> BinaryReader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasmparser/src/binary_reader.rs:133:34 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn new_with_offset(data: &[u8], original_offset: usize) -> BinaryReader { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 133 | pub fn new_with_offset(data: &[u8], original_offset: usize) -> BinaryReader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasmparser/src/binary_reader.rs:1717:20 [INFO] [stderr] | [INFO] [stderr] 1717 | pub fn targets(&self) -> BrTableTargets { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1717 | pub fn targets(&self) -> BrTableTargets<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasmparser/src/parser.rs:884:38 [INFO] [stderr] | [INFO] [stderr] 884 | pub fn parse_all(self, mut data: &[u8]) -> impl Iterator> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 884 | pub fn parse_all(self, mut data: &[u8]) -> impl Iterator>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasmparser/src/readers/core/init.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn new(data: &[u8], offset: usize) -> ConstExpr { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | pub fn new(data: &[u8], offset: usize) -> ConstExpr<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasmparser/src/validator.rs:488:18 [INFO] [stderr] | [INFO] [stderr] 488 | pub fn types(&self, mut level: usize) -> Option { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 488 | pub fn types(&self, mut level: usize) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasmparser/src/validator/types.rs:1932:19 [INFO] [stderr] | [INFO] [stderr] 1932 | pub fn as_ref(&self) -> TypesRef { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1932 | pub fn as_ref(&self) -> TypesRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `wasmparser` (lib) generated 12 warnings (run `cargo fix --lib -p wasmparser` to apply 3 suggestions) [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-encoder/src/component/types.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn ty(&mut self) -> CoreTypeEncoder { [INFO] [stderr] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 35 | pub fn ty(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-encoder/src/component/types.rs:206:22 [INFO] [stderr] | [INFO] [stderr] 206 | pub fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stderr] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 206 | pub fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-encoder/src/component/types.rs:217:15 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stderr] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 217 | pub fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-encoder/src/component/types.rs:321:22 [INFO] [stderr] | [INFO] [stderr] 321 | pub fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stderr] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 321 | pub fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-encoder/src/component/types.rs:329:15 [INFO] [stderr] | [INFO] [stderr] 329 | pub fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stderr] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 329 | pub fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `wasm-encoder` (lib) generated 5 warnings [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> crates/wast/src/lib.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stderr] | [INFO] [stderr] 355 | custom_keyword!(flag = $kw); [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 364 | / parse_flags! { [INFO] [stderr] 365 | | "binding-weak" = 1 << 0, [INFO] [stderr] 366 | | "binding-local" = 1 << 1, [INFO] [stderr] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stderr] ... | [INFO] [stderr] 373 | | "absolute" = 1 << 9, [INFO] [stderr] 374 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> crates/wast/src/lib.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: crates/wast/src/core/custom.rs:355:33 [INFO] [stderr] | [INFO] [stderr] 355 | custom_keyword!(flag = $kw); [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 364 | / parse_flags! { [INFO] [stderr] 365 | | "binding-weak" = 1 << 0, [INFO] [stderr] 366 | | "binding-local" = 1 << 1, [INFO] [stderr] 367 | | "visibility-hidden" = 1 << 2, [INFO] [stderr] ... | [INFO] [stderr] 373 | | "absolute" = 1 << 9, [INFO] [stderr] 374 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wast/src/core/module.rs:162:50 [INFO] [stderr] | [INFO] [stderr] 162 | pub(crate) fn parse_remaining(parser: Parser<'a>) -> Result> { [INFO] [stderr] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 162 | pub(crate) fn parse_remaining(parser: Parser<'a>) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wast/src/component/component.rs:161:39 [INFO] [stderr] | [INFO] [stderr] 161 | fn parse_remaining(parser: Parser<'a>) -> Result> { [INFO] [stderr] | ^^ -------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 161 | fn parse_remaining(parser: Parser<'a>) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `wast` (lib) generated 11 warnings (7 duplicates) [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wit-parser/src/lib.rs:696:23 [INFO] [stderr] | [INFO] [stderr] 696 | pub fn iter_types(&self) -> ResultsTypeIter { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 696 | pub fn iter_types(&self) -> ResultsTypeIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `wit-parser` (lib) generated 1 warning [INFO] [stderr] warning: field `range` is never read [INFO] [stderr] --> crates/wasm-mutate/src/mutators/codemotion/ir/parse_context.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 47 | IfElse { [INFO] [stderr] | ------ field in this variant [INFO] [stderr] ... [INFO] [stderr] 54 | range: Range, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `range` is never read [INFO] [stderr] --> crates/wasm-mutate/src/mutators/codemotion/ir/parse_context.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 71 | Block { [INFO] [stderr] | ----- field in this variant [INFO] [stderr] ... [INFO] [stderr] 77 | range: Range, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `entry_idx` is never read [INFO] [stderr] --> crates/wasm-mutate/src/mutators/peephole/dfg.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct StackEntry { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 47 | pub entry_idx: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StackEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `index` is never read [INFO] [stderr] --> crates/wasm-mutate/src/mutators/peephole/eggsy/encoder/expr2wasm.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | Global { [INFO] [stderr] | ------ field in this variant [INFO] [stderr] 20 | /// Global index [INFO] [stderr] 21 | index: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ResourceRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `RemoveStartSection` is never constructed [INFO] [stderr] --> crates/wasm-mutate/src/mutators/start.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct RemoveStartSection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-mutate/src/info.rs:63:28 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn new(input_wasm: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn new(input_wasm: &[u8]) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-mutate/src/info.rs:287:31 [INFO] [stderr] | [INFO] [stderr] 287 | pub fn get_global_section(&self) -> RawSection { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 287 | pub fn get_global_section(&self) -> RawSection<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `wasm-mutate` (lib) generated 7 warnings [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> crates/wasmprinter/src/lib.rs:899:20 [INFO] [stderr] | [INFO] [stderr] 899 | for idx in &ty.supertype_idx { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 899 - for idx in &ty.supertype_idx { [INFO] [stderr] 899 + while let Some(idx) = &ty.supertype_idx { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 899 - for idx in &ty.supertype_idx { [INFO] [stderr] 899 + if let Some(idx) = &ty.supertype_idx { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wasmprinter` (lib) generated 1 warning [INFO] [stderr] warning: struct `RecGroup` is never constructed [INFO] [stderr] --> crates/wasm-smith/src/core.rs:217:19 [INFO] [stderr] | [INFO] [stderr] 217 | pub(crate) struct RecGroup { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Entities` is never constructed [INFO] [stderr] --> crates/wasm-smith/src/core.rs:2289:8 [INFO] [stderr] | [INFO] [stderr] 2289 | struct Entities { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-compose/src/composer.rs:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 282 | r: InstanceImportRef, [INFO] [stderr] 283 | ) -> (&Component, &str, ComponentInstanceTypeId) { [INFO] [stderr] | ---------- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 283 | ) -> (&Component<'_>, &str, ComponentInstanceTypeId) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-compose/src/encoding.rs:63:11 [INFO] [stderr] | [INFO] [stderr] 63 | fn ty(&mut self) -> ComponentTypeEncoder { [INFO] [stderr] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | fn ty(&mut self) -> ComponentTypeEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-compose/src/encoding.rs:71:18 [INFO] [stderr] | [INFO] [stderr] 71 | fn core_type(&mut self) -> CoreTypeEncoder { [INFO] [stderr] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 71 | fn core_type(&mut self) -> CoreTypeEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-compose/src/graph.rs:192:18 [INFO] [stderr] | [INFO] [stderr] 192 | pub fn types(&self) -> TypesRef { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 192 | pub fn types(&self) -> TypesRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> crates/wasm-compose/src/graph.rs:780:9 [INFO] [stderr] | [INFO] [stderr] 780 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 781 | id: impl Into, [INFO] [stderr] 782 | ) -> Option<(ComponentId, &Component)> { [INFO] [stderr] | ---------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 782 | ) -> Option<(ComponentId, &Component<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `wasm-smith` (lib) generated 2 warnings [INFO] [stderr] warning: `wasm-compose` (lib) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasm_tools-6a09a7f4555e4f2b) [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/bin/wasm-tools/main.rs (/opt/rustwide/target/debug/deps/wasm_tools-143c32559c700b5f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-eda1e46933edbe46) [INFO] [stdout] test verify_cli ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] running 49 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 49 passed [INFO] [stdout] [INFO] [stderr] Running tests/roundtrip.rs (/opt/rustwide/target/debug/deps/roundtrip-ba331ef0df312438) [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at tests/roundtrip.rs:105:9: [INFO] [stderr] submodules need to be checked out [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x56436248c4f2 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x56436248c4f2 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x56436248c4f2 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x56436248c4f2 - ::fmt::ha2e7e3a01df69042 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5643624b3e33 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5643624b3e33 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stderr] 6: 0x564362488dd3 - std::io::default_write_fmt::h92ac9345fd53cc14 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x564362488dd3 - std::io::Write::write_fmt::h5ebaf381f8338068 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x56436248c342 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x56436248d7d6 - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x56436248d5d9 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x56436248e1e2 - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x56436248df46 - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:699:13 [INFO] [stderr] 13: 0x56436248c9e9 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x56436248dc0d - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x5643624b1fc0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x56436217bd2a - roundtrip::find_tests::h810bd7c9cfc567c1 [INFO] [stderr] at /opt/rustwide/workdir/tests/roundtrip.rs:105:9 [INFO] [stderr] 17: 0x56436217bd2a - roundtrip::main::h5f7da91378f70f52 [INFO] [stderr] at /opt/rustwide/workdir/tests/roundtrip.rs:40:17 [INFO] [stderr] 18: 0x5643621977c3 - core::ops::function::FnOnce::call_once::h5e7b5452df3ae534 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 19: 0x5643621977c3 - std::sys::backtrace::__rust_begin_short_backtrace::h4a502bb4ae39080e [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 20: 0x5643621939f9 - std::rt::lang_start::{{closure}}::h52c24404fb507a99 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:206:18 [INFO] [stderr] 21: 0x5643624809a0 - core::ops::function::impls:: for &F>::call_once::hc3929e8466919df6 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 22: 0x5643624809a0 - std::panicking::catch_unwind::do_call::hed30a66745299fca [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stderr] 23: 0x5643624809a0 - std::panicking::catch_unwind::hdfb0bc9563518507 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stderr] 24: 0x5643624809a0 - std::panic::catch_unwind::hd0a1d748acfba573 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stderr] 25: 0x5643624809a0 - std::rt::lang_start_internal::{{closure}}::h0c1845f1b3064b93 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:175:24 [INFO] [stderr] 26: 0x5643624809a0 - std::panicking::catch_unwind::do_call::h1114c52e864472d2 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stderr] 27: 0x5643624809a0 - std::panicking::catch_unwind::h91938c6665615bc7 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stderr] 28: 0x5643624809a0 - std::panic::catch_unwind::h0c65d4211626564a [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stderr] 29: 0x5643624809a0 - std::rt::lang_start_internal::hc41e58da8618ff02 [INFO] [stderr] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:171:5 [INFO] [stderr] 30: 0x56436218190c - main [INFO] [stderr] 31: 0x73bd8651b1ca - [INFO] [stderr] 32: 0x73bd8651b28b - __libc_start_main [INFO] [stderr] 33: 0x5643621769c5 - _start [INFO] [stderr] 34: 0x0 - [INFO] [stderr] error: test failed, to rerun pass `--test roundtrip` [INFO] running `Command { std: "docker" "inspect" "d6503dfec4b1c171337e54c17b3d73026a208559b757ff166beab0fb51a3d1f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6503dfec4b1c171337e54c17b3d73026a208559b757ff166beab0fb51a3d1f5", kill_on_drop: false }` [INFO] [stdout] d6503dfec4b1c171337e54c17b3d73026a208559b757ff166beab0fb51a3d1f5