[INFO] cloning repository https://github.com/NIBRSYK16/wasmtime-as-lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NIBRSYK16/wasmtime-as-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIBRSYK16%2Fwasmtime-as-lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIBRSYK16%2Fwasmtime-as-lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1674a280f99ebbb888872fe0e27721a43cd45da [INFO] checking NIBRSYK16/wasmtime-as-lib against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNIBRSYK16%2Fwasmtime-as-lib" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NIBRSYK16/wasmtime-as-lib [INFO] finished tweaking git repo https://github.com/NIBRSYK16/wasmtime-as-lib [INFO] tweaked toml for git repo https://github.com/NIBRSYK16/wasmtime-as-lib written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NIBRSYK16/wasmtime-as-lib on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NIBRSYK16/wasmtime-as-lib 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cf690ea7569be1ddb7e646137df37299ca2d7d89433833eade89b9219f66eb1 [INFO] running `Command { std: "docker" "start" "-a" "8cf690ea7569be1ddb7e646137df37299ca2d7d89433833eade89b9219f66eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cf690ea7569be1ddb7e646137df37299ca2d7d89433833eade89b9219f66eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf690ea7569be1ddb7e646137df37299ca2d7d89433833eade89b9219f66eb1", kill_on_drop: false }` [INFO] [stdout] 8cf690ea7569be1ddb7e646137df37299ca2d7d89433833eade89b9219f66eb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7db74a750e410f86ec046f5e2e3b38d88f4f89d251dc854a0c4e8e29313b47ca [INFO] running `Command { std: "docker" "start" "-a" "7db74a750e410f86ec046f5e2e3b38d88f4f89d251dc854a0c4e8e29313b47ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling cranelift-isle v0.109.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling cranelift-codegen-shared v0.109.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cranelift-codegen-meta v0.109.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Checking cranelift-control v0.109.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking wasm-encoder v0.209.1 [INFO] [stderr] Checking wasm-encoder v0.219.0 [INFO] [stderr] Checking wasmtime-component-util v22.0.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling wasmtime-cache v22.0.0 [INFO] [stderr] Compiling wasmtime-component-macro v22.0.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking wasmtime-asm-macros v22.0.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v22.0.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking wasmtime-slab v22.0.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking wast v219.0.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling cranelift-codegen v0.109.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling wasmparser v0.209.1 [INFO] [stderr] Checking ittapi v0.4.0 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v22.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling wasmtime-fiber v22.0.0 [INFO] [stderr] Compiling wasmtime v22.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking wat v1.219.0 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Compiling wit-parser v0.209.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cranelift-entity v0.109.0 [INFO] [stderr] Checking postcard v1.0.10 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking cranelift-bforest v0.109.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling wasmtime-wit-bindgen v22.0.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking wasmtime-types v22.0.0 [INFO] [stderr] Checking wasmprinter v0.209.1 [INFO] [stderr] Checking wasmtime-jit-debug v22.0.0 [INFO] [stderr] Checking wasmtime-environ v22.0.0 [INFO] [stderr] Checking cranelift-frontend v0.109.0 [INFO] [stderr] Checking cranelift-native v0.109.0 [INFO] [stderr] Checking cranelift-wasm v0.109.0 [INFO] [stderr] Checking wasmtime-cranelift v22.0.0 [INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | #![feature(offset_of)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | #![feature(offset_of)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/runtime/vm/traphandlers.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let head = tls::raw::replace(prev); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/runtime/vm/mpk/pkru.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let result = unsafe { core::arch::x86_64::__cpuid(0x07) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/runtime/vm/mpk/pkru.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | let result = unsafe { core::arch::x86_64::__cpuid(0) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/runtime/vm/traphandlers.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let head = tls::raw::replace(prev); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/runtime/vm/mpk/pkru.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let result = unsafe { core::arch::x86_64::__cpuid(0x07) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/runtime/vm/mpk/pkru.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | let result = unsafe { core::arch::x86_64::__cpuid(0) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of an unstable feature [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | #![feature(offset_of)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unstable-features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:285:70 [INFO] [stdout] | [INFO] [stdout] 285 | obj::LibCall::FloorF32 => libcalls::relocs::floorf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 285 | obj::LibCall::FloorF32 => libcalls::relocs::floorf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:286:70 [INFO] [stdout] | [INFO] [stdout] 286 | obj::LibCall::FloorF64 => libcalls::relocs::floorf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 286 | obj::LibCall::FloorF64 => libcalls::relocs::floorf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:287:74 [INFO] [stdout] | [INFO] [stdout] 287 | obj::LibCall::NearestF32 => libcalls::relocs::nearestf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 287 | obj::LibCall::NearestF32 => libcalls::relocs::nearestf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:288:74 [INFO] [stdout] | [INFO] [stdout] 288 | obj::LibCall::NearestF64 => libcalls::relocs::nearestf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 288 | obj::LibCall::NearestF64 => libcalls::relocs::nearestf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:289:68 [INFO] [stdout] | [INFO] [stdout] 289 | obj::LibCall::CeilF32 => libcalls::relocs::ceilf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 289 | obj::LibCall::CeilF32 => libcalls::relocs::ceilf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:290:68 [INFO] [stdout] | [INFO] [stdout] 290 | obj::LibCall::CeilF64 => libcalls::relocs::ceilf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 290 | obj::LibCall::CeilF64 => libcalls::relocs::ceilf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:291:70 [INFO] [stdout] | [INFO] [stdout] 291 | obj::LibCall::TruncF32 => libcalls::relocs::truncf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 291 | obj::LibCall::TruncF32 => libcalls::relocs::truncf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:292:70 [INFO] [stdout] | [INFO] [stdout] 292 | obj::LibCall::TruncF64 => libcalls::relocs::truncf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 292 | obj::LibCall::TruncF64 => libcalls::relocs::truncf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:293:66 [INFO] [stdout] | [INFO] [stdout] 293 | obj::LibCall::FmaF32 => libcalls::relocs::fmaf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 293 | obj::LibCall::FmaF32 => libcalls::relocs::fmaf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:294:66 [INFO] [stdout] | [INFO] [stdout] 294 | obj::LibCall::FmaF64 => libcalls::relocs::fmaf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 294 | obj::LibCall::FmaF64 => libcalls::relocs::fmaf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:296:73 [INFO] [stdout] | [INFO] [stdout] 296 | obj::LibCall::X86Pshufb => libcalls::relocs::x86_pshufb as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 296 | obj::LibCall::X86Pshufb => libcalls::relocs::x86_pshufb as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/linker.rs:1230:32 [INFO] [stdout] | [INFO] [stdout] 1228 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1229 | mut store: impl AsContextMut + 'p, [INFO] [stdout] 1230 | ) -> impl Iterator + 'p { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1230 | ) -> impl Iterator + 'p { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/vm/instance.rs:582:20 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 582 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter<'_, String, EntityIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/vm/instance.rs:1362:20 [INFO] [stdout] | [INFO] [stdout] 1362 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1362 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter<'_, String, EntityIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | handler.sa_sigaction = trap_handler as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 55 | handler.sa_sigaction = trap_handler as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | register(PREV_SIGSEGV.as_mut_ptr(), libc::SIGSEGV); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | register(PREV_SIGILL.as_mut_ptr(), libc::SIGILL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | register(PREV_SIGFPE.as_mut_ptr(), libc::SIGFPE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | register(PREV_SIGBUS.as_mut_ptr(), libc::SIGBUS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | libc::SIGSEGV => PREV_SIGSEGV.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | libc::SIGBUS => PREV_SIGBUS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | libc::SIGFPE => PREV_SIGFPE.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | libc::SIGILL => PREV_SIGILL.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | set_pc(context, wasmtime_longjmp_shim as usize, jmp_buf as usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 163 | set_pc(context, wasmtime_longjmp_shim as *const () as usize, jmp_buf as usize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/vm/traphandlers.rs:516:62 [INFO] [stdout] | [INFO] [stdout] 516 | pub(crate) fn iter<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | -- ^^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 516 | pub(crate) fn iter<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/resources.rs:373:71 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn new_host(store: &'a mut StoreOpaque) -> HostResourceTables<'_> { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 373 - pub fn new_host(store: &'a mut StoreOpaque) -> HostResourceTables<'_> { [INFO] [stdout] 373 + pub fn new_host(store: &'a mut StoreOpaque) -> HostResourceTables<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:351:18 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn cases(&self) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn cases(&self) -> impl ExactSizeIterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:736:42 [INFO] [stdout] | [INFO] [stdout] 734 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 735 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 736 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 736 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:752:41 [INFO] [stdout] | [INFO] [stdout] 750 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 751 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 752 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 752 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:783:41 [INFO] [stdout] | [INFO] [stdout] 781 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 782 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 783 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 783 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:804:41 [INFO] [stdout] | [INFO] [stdout] 802 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 803 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 804 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 804 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:835:41 [INFO] [stdout] | [INFO] [stdout] 833 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 834 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 835 | ) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 835 | ) -> impl ExactSizeIterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/runtime/coredump.rs:196:69 [INFO] [stdout] | [INFO] [stdout] 196 | wasm_encoder::ConstExpr::f32_const(unsafe { std::mem::transmute(x) }) [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/runtime/coredump.rs:199:69 [INFO] [stdout] | [INFO] [stdout] 199 | wasm_encoder::ConstExpr::f64_const(unsafe { std::mem::transmute(x) }) [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compile.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 412 | fn clean_symbol(name: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn clean_symbol(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of an unstable feature [INFO] [stdout] --> src/lib.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | #![feature(offset_of)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unstable-features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:285:70 [INFO] [stdout] | [INFO] [stdout] 285 | obj::LibCall::FloorF32 => libcalls::relocs::floorf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 285 | obj::LibCall::FloorF32 => libcalls::relocs::floorf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:286:70 [INFO] [stdout] | [INFO] [stdout] 286 | obj::LibCall::FloorF64 => libcalls::relocs::floorf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 286 | obj::LibCall::FloorF64 => libcalls::relocs::floorf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:287:74 [INFO] [stdout] | [INFO] [stdout] 287 | obj::LibCall::NearestF32 => libcalls::relocs::nearestf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 287 | obj::LibCall::NearestF32 => libcalls::relocs::nearestf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:288:74 [INFO] [stdout] | [INFO] [stdout] 288 | obj::LibCall::NearestF64 => libcalls::relocs::nearestf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 288 | obj::LibCall::NearestF64 => libcalls::relocs::nearestf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:289:68 [INFO] [stdout] | [INFO] [stdout] 289 | obj::LibCall::CeilF32 => libcalls::relocs::ceilf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 289 | obj::LibCall::CeilF32 => libcalls::relocs::ceilf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:290:68 [INFO] [stdout] | [INFO] [stdout] 290 | obj::LibCall::CeilF64 => libcalls::relocs::ceilf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 290 | obj::LibCall::CeilF64 => libcalls::relocs::ceilf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:291:70 [INFO] [stdout] | [INFO] [stdout] 291 | obj::LibCall::TruncF32 => libcalls::relocs::truncf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 291 | obj::LibCall::TruncF32 => libcalls::relocs::truncf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:292:70 [INFO] [stdout] | [INFO] [stdout] 292 | obj::LibCall::TruncF64 => libcalls::relocs::truncf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 292 | obj::LibCall::TruncF64 => libcalls::relocs::truncf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:293:66 [INFO] [stdout] | [INFO] [stdout] 293 | obj::LibCall::FmaF32 => libcalls::relocs::fmaf32 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 293 | obj::LibCall::FmaF32 => libcalls::relocs::fmaf32 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:294:66 [INFO] [stdout] | [INFO] [stdout] 294 | obj::LibCall::FmaF64 => libcalls::relocs::fmaf64 as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 294 | obj::LibCall::FmaF64 => libcalls::relocs::fmaf64 as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/code_memory.rs:296:73 [INFO] [stdout] | [INFO] [stdout] 296 | obj::LibCall::X86Pshufb => libcalls::relocs::x86_pshufb as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 296 | obj::LibCall::X86Pshufb => libcalls::relocs::x86_pshufb as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/linker.rs:1230:32 [INFO] [stdout] | [INFO] [stdout] 1228 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1229 | mut store: impl AsContextMut + 'p, [INFO] [stdout] 1230 | ) -> impl Iterator + 'p { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1230 | ) -> impl Iterator + 'p { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/vm/instance.rs:582:20 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 582 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter<'_, String, EntityIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/vm/instance.rs:1362:20 [INFO] [stdout] | [INFO] [stdout] 1362 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1362 | pub fn exports(&self) -> wasmparser::collections::index_map::Iter<'_, String, EntityIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | handler.sa_sigaction = trap_handler as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 55 | handler.sa_sigaction = trap_handler as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | register(PREV_SIGSEGV.as_mut_ptr(), libc::SIGSEGV); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | register(PREV_SIGILL.as_mut_ptr(), libc::SIGILL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | register(PREV_SIGFPE.as_mut_ptr(), libc::SIGFPE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | register(PREV_SIGBUS.as_mut_ptr(), libc::SIGBUS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | libc::SIGSEGV => PREV_SIGSEGV.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | libc::SIGBUS => PREV_SIGBUS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | libc::SIGFPE => PREV_SIGFPE.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | libc::SIGILL => PREV_SIGILL.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/runtime/vm/sys/unix/signals.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | set_pc(context, wasmtime_longjmp_shim as usize, jmp_buf as usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 163 | set_pc(context, wasmtime_longjmp_shim as *const () as usize, jmp_buf as usize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/vm/traphandlers.rs:516:62 [INFO] [stdout] | [INFO] [stdout] 516 | pub(crate) fn iter<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | -- ^^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 516 | pub(crate) fn iter<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/resources.rs:373:71 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn new_host(store: &'a mut StoreOpaque) -> HostResourceTables<'_> { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 373 - pub fn new_host(store: &'a mut StoreOpaque) -> HostResourceTables<'_> { [INFO] [stdout] 373 + pub fn new_host(store: &'a mut StoreOpaque) -> HostResourceTables<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:351:18 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn cases(&self) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn cases(&self) -> impl ExactSizeIterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:736:42 [INFO] [stdout] | [INFO] [stdout] 734 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 735 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 736 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 736 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:752:41 [INFO] [stdout] | [INFO] [stdout] 750 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 751 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 752 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 752 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:783:41 [INFO] [stdout] | [INFO] [stdout] 781 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 782 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 783 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 783 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:804:41 [INFO] [stdout] | [INFO] [stdout] 802 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 803 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 804 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 804 | ) -> impl ExactSizeIterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/runtime/component/types.rs:835:41 [INFO] [stdout] | [INFO] [stdout] 833 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 834 | engine: &'a Engine, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 835 | ) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 835 | ) -> impl ExactSizeIterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/runtime/coredump.rs:196:69 [INFO] [stdout] | [INFO] [stdout] 196 | wasm_encoder::ConstExpr::f32_const(unsafe { std::mem::transmute(x) }) [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/runtime/coredump.rs:199:69 [INFO] [stdout] | [INFO] [stdout] 199 | wasm_encoder::ConstExpr::f64_const(unsafe { std::mem::transmute(x) }) [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compile.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 412 | fn clean_symbol(name: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn clean_symbol(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "7db74a750e410f86ec046f5e2e3b38d88f4f89d251dc854a0c4e8e29313b47ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db74a750e410f86ec046f5e2e3b38d88f4f89d251dc854a0c4e8e29313b47ca", kill_on_drop: false }` [INFO] [stdout] 7db74a750e410f86ec046f5e2e3b38d88f4f89d251dc854a0c4e8e29313b47ca