[INFO] fetching crate wasmer 5.0.1... [INFO] checking wasmer-5.0.1 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate wasmer 5.0.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wasmer 5.0.1 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer 5.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmer 5.0.1 [INFO] tweaked toml for crates.io crate wasmer 5.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 309 packages to latest compatible versions [INFO] [stderr] Adding cranelift-bforest v0.110.2 (available: v0.110.3) [INFO] [stderr] Adding cranelift-codegen v0.110.2 (available: v0.110.3) [INFO] [stderr] Adding cranelift-entity v0.110.2 (available: v0.110.3) [INFO] [stderr] Adding cranelift-frontend v0.110.2 (available: v0.110.3) [INFO] [stderr] Adding cranelift-isle v0.110.2 (available: v0.110.3) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.15.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.6.0) [INFO] [stderr] Adding more-asserts v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding serde-wasm-bindgen v0.4.5 (available: v0.6.5) [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] [stderr] Adding wasmi_c_api_impl v0.38.0 (available: v0.39.1) [INFO] [stderr] Adding wasmparser v0.216.0 (available: v0.219.1) [INFO] [stderr] Adding wat v1.216.0 (available: v1.219.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b41878f346f818f96140a25b611882a769b04bfdbaf03fd8264d72cdb16d9756 [INFO] running `Command { std: "docker" "start" "-a" "b41878f346f818f96140a25b611882a769b04bfdbaf03fd8264d72cdb16d9756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b41878f346f818f96140a25b611882a769b04bfdbaf03fd8264d72cdb16d9756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41878f346f818f96140a25b611882a769b04bfdbaf03fd8264d72cdb16d9756", kill_on_drop: false }` [INFO] [stdout] b41878f346f818f96140a25b611882a769b04bfdbaf03fd8264d72cdb16d9756 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4906ae38694a27518b7f304159293b67826624d17b29619038bf86ecbe2de101 [INFO] running `Command { std: "docker" "start" "-a" "4906ae38694a27518b7f304159293b67826624d17b29619038bf86ecbe2de101", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cranelift-isle v0.110.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cranelift-codegen-shared v0.110.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.110.3 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling corosensei v0.2.1 [INFO] [stderr] Checking cranelift-bitset v0.110.3 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Checking cranelift-entity v0.110.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking cranelift-control v0.110.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking cranelift-bforest v0.110.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cranelift-codegen v0.110.2 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking shared-buffer v0.1.4 [INFO] [stderr] Checking wasmparser v0.216.0 [INFO] [stderr] Compiling tar v0.4.43 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling xz v0.1.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking wasm-encoder v0.216.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling wasmer-compiler-cranelift v5.0.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking wast v216.0.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling bytecheck_derive v0.8.0 [INFO] [stderr] Checking ptr_meta v0.3.0 [INFO] [stderr] Checking rancor v0.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling munge_macro v0.4.1 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Compiling rkyv_derive v0.8.8 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking munge v0.4.1 [INFO] [stderr] Checking bytecheck v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling wasmer-derive v5.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling macro-wasmer-universal-test v5.0.1 [INFO] [stderr] Checking rend v0.5.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking wat v1.216.0 [INFO] [stderr] Checking rkyv v0.8.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Checking wasmer-types v5.0.1 [INFO] [stderr] Compiling wasmer v5.0.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking wasmer-vm v5.0.1 [INFO] [stderr] Checking wasmer-compiler v5.0.1 [INFO] [stderr] Checking cranelift-frontend v0.110.2 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wasmer` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/module.rs [INFO] [stderr] * src/sys/engine.rs [INFO] [stderr] * src/sys/instance.rs [INFO] [stderr] * src/sys/module.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: non-item in item list [INFO] [stderr] --> src/sys/module.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 36 | impl Module { [INFO] [stderr] | - item list starts here [INFO] [stderr] ... [INFO] [stderr] 75 | { unsafe #[tracing::instrument(level = "debug", skip_all)]} [INFO] [stderr] | ^ non-item starts here [INFO] [stderr] ... [INFO] [stderr] 202 | } [INFO] [stderr] | - item list ends here [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `imports` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:422:16 [INFO] [stderr] | [INFO] [stderr] 422 | self.0.imports() [INFO] [stderr] | ^^^^^^^ method not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `imports` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `imports`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `object::read::traits::Object` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exports` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:449:16 [INFO] [stderr] | [INFO] [stderr] 449 | self.0.exports() [INFO] [stderr] | ^^^^^^^ method not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `exports` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `exports`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `object::read::traits::Object` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `custom_sections` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:460:16 [INFO] [stderr] | [INFO] [stderr] 460 | self.0.custom_sections(name) [INFO] [stderr] | ^^^^^^^^^^^^^^^ method not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `custom_sections` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `deserialize_unchecked` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:260:37 [INFO] [stderr] | [INFO] [stderr] 260 | Ok(Self(module_imp::Module::deserialize_unchecked( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- function or associated item `deserialize_unchecked` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `sys::module::Module` consider using one of the following associated functions: [INFO] [stderr] sys::module::Module::from_binary [INFO] [stderr] sys::module::Module::from_binary_unchecked [INFO] [stderr] --> src/sys/module.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / pub(crate) fn from_binary( [INFO] [stderr] 38 | | engine: &impl AsEngineRef, [INFO] [stderr] 39 | | binary: &[u8], [INFO] [stderr] 40 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 45 | / pub(crate) unsafe fn from_binary_unchecked( [INFO] [stderr] 46 | | engine: &impl AsEngineRef, [INFO] [stderr] 47 | | binary: &[u8], [INFO] [stderr] 48 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] help: there is a method `deserialize_unsized` with a similar name [INFO] [stderr] | [INFO] [stderr] 260 | Ok(Self(module_imp::Module::deserialize_unsized( [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `deserialize` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:294:37 [INFO] [stderr] | [INFO] [stderr] 294 | Ok(Self(module_imp::Module::deserialize(engine, bytes)?)) [INFO] [stderr] | ^^^^^^^^^^^ function or associated item not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- function or associated item `deserialize` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `sys::module::Module` consider using one of the following associated functions: [INFO] [stderr] sys::module::Module::from_binary [INFO] [stderr] sys::module::Module::from_binary_unchecked [INFO] [stderr] --> src/sys/module.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / pub(crate) fn from_binary( [INFO] [stderr] 38 | | engine: &impl AsEngineRef, [INFO] [stderr] 39 | | binary: &[u8], [INFO] [stderr] 40 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 45 | / pub(crate) unsafe fn from_binary_unchecked( [INFO] [stderr] 46 | | engine: &impl AsEngineRef, [INFO] [stderr] 47 | | binary: &[u8], [INFO] [stderr] 48 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `deserialize`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `rkyv::traits::Deserialize` [INFO] [stderr] help: there is a method `serialize` with a similar name, but with different arguments [INFO] [stderr] --> src/sys/module.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) fn serialize(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `deserialize_from_file` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:318:37 [INFO] [stderr] | [INFO] [stderr] 318 | Ok(Self(module_imp::Module::deserialize_from_file( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- function or associated item `deserialize_from_file` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `sys::module::Module` consider using one of the following associated functions: [INFO] [stderr] sys::module::Module::from_binary [INFO] [stderr] sys::module::Module::from_binary_unchecked [INFO] [stderr] --> src/sys/module.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / pub(crate) fn from_binary( [INFO] [stderr] 38 | | engine: &impl AsEngineRef, [INFO] [stderr] 39 | | binary: &[u8], [INFO] [stderr] 40 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 45 | / pub(crate) unsafe fn from_binary_unchecked( [INFO] [stderr] 46 | | engine: &impl AsEngineRef, [INFO] [stderr] 47 | | binary: &[u8], [INFO] [stderr] 48 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] help: there is a method `deserialize_unsized` with a similar name [INFO] [stderr] | [INFO] [stderr] 318 | Ok(Self(module_imp::Module::deserialize_unsized( [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `deserialize_from_file_unchecked` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:346:37 [INFO] [stderr] | [INFO] [stderr] 346 | Ok(Self(module_imp::Module::deserialize_from_file_unchecked( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- function or associated item `deserialize_from_file_unchecked` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `sys::module::Module` consider using one of the following associated functions: [INFO] [stderr] sys::module::Module::from_binary [INFO] [stderr] sys::module::Module::from_binary_unchecked [INFO] [stderr] --> src/sys/module.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / pub(crate) fn from_binary( [INFO] [stderr] 38 | | engine: &impl AsEngineRef, [INFO] [stderr] 39 | | binary: &[u8], [INFO] [stderr] 40 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 45 | / pub(crate) unsafe fn from_binary_unchecked( [INFO] [stderr] 46 | | engine: &impl AsEngineRef, [INFO] [stderr] 47 | | binary: &[u8], [INFO] [stderr] 48 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] help: there is a method `deserialize_unsized` with a similar name [INFO] [stderr] | [INFO] [stderr] 346 | Ok(Self(module_imp::Module::deserialize_unsized( [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `name` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:369:16 [INFO] [stderr] | [INFO] [stderr] 369 | self.0.name() [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `name` not found for this struct [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `name`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `cranelift_codegen::isa::TargetIsa` [INFO] [stderr] candidate #2: `gimli::write::section::Section` [INFO] [stderr] candidate #3: `object::read::coff::symbol::ImageSymbol` [INFO] [stderr] candidate #4: `object::read::elf::section::SectionHeader` [INFO] [stderr] candidate #5: `object::read::elf::symbol::Sym` [INFO] [stderr] candidate #6: `object::read::macho::section::Section` [INFO] [stderr] candidate #7: `object::read::macho::segment::Segment` [INFO] [stderr] candidate #8: `object::read::macho::symbol::Nlist` [INFO] [stderr] candidate #9: `object::read::traits::ObjectComdat` [INFO] [stderr] candidate #10: `object::read::traits::ObjectSection` [INFO] [stderr] candidate #11: `object::read::traits::ObjectSegment` [INFO] [stderr] candidate #12: `object::read::traits::ObjectSymbol` [INFO] [stderr] candidate #13: `object::read::xcoff::section::SectionHeader` [INFO] [stderr] candidate #14: `object::read::xcoff::symbol::Symbol` [INFO] [stderr] candidate #15: `wasmer_compiler::Compiler` [INFO] [stderr] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stderr] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/core/src/cmp.rs:261:5 [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_name` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:394:16 [INFO] [stderr] | [INFO] [stderr] 394 | self.0.set_name(name) [INFO] [stderr] | ^^^^^^^^ method not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `set_name` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `info` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/module.rs:470:16 [INFO] [stderr] | [INFO] [stderr] 470 | self.0.info() [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `info` not found for this struct [INFO] [stderr] | [INFO] [stderr] help: there is a method `into` with a similar name [INFO] [stderr] | [INFO] [stderr] 470 | self.0.into() [INFO] [stderr] | ~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_artifact` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/sys/engine.rs:140:49 [INFO] [stderr] | [INFO] [stderr] 140 | Ok(crate::Module(super::module::Module::from_artifact( [INFO] [stderr] | ^^^^^^^^^^^^^ function or associated item not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- function or associated item `from_artifact` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `sys::module::Module` consider using one of the following associated functions: [INFO] [stderr] sys::module::Module::from_binary [INFO] [stderr] sys::module::Module::from_binary_unchecked [INFO] [stderr] --> src/sys/module.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / pub(crate) fn from_binary( [INFO] [stderr] 38 | | engine: &impl AsEngineRef, [INFO] [stderr] 39 | | binary: &[u8], [INFO] [stderr] 40 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 45 | / pub(crate) unsafe fn from_binary_unchecked( [INFO] [stderr] 46 | | engine: &impl AsEngineRef, [INFO] [stderr] 47 | | binary: &[u8], [INFO] [stderr] 48 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_artifact` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/sys/engine.rs:155:49 [INFO] [stderr] | [INFO] [stderr] 155 | Ok(crate::Module(super::module::Module::from_artifact( [INFO] [stderr] | ^^^^^^^^^^^^^ function or associated item not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- function or associated item `from_artifact` not found for this struct [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `sys::module::Module` consider using one of the following associated functions: [INFO] [stderr] sys::module::Module::from_binary [INFO] [stderr] sys::module::Module::from_binary_unchecked [INFO] [stderr] --> src/sys/module.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / pub(crate) fn from_binary( [INFO] [stderr] 38 | | engine: &impl AsEngineRef, [INFO] [stderr] 39 | | binary: &[u8], [INFO] [stderr] 40 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 45 | / pub(crate) unsafe fn from_binary_unchecked( [INFO] [stderr] 46 | | engine: &impl AsEngineRef, [INFO] [stderr] 47 | | binary: &[u8], [INFO] [stderr] 48 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `instantiate` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/sys/instance.rs:51:35 [INFO] [stderr] | [INFO] [stderr] 51 | let mut handle = module.0.instantiate(store, &externs)?; [INFO] [stderr] | ^^^^^^^^^^^ method not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `instantiate` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `instantiate` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/sys/instance.rs:68:35 [INFO] [stderr] | [INFO] [stderr] 68 | let mut handle = module.0.instantiate(store, &externs)?; [INFO] [stderr] | ^^^^^^^^^^^ method not found in `Module` [INFO] [stderr] | [INFO] [stderr] ::: src/sys/module.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- method `instantiate` not found for this struct [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_artifact` found for struct `sys::module::Module` in the current scope [INFO] [stderr] --> src/sys/module.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ----------------- function or associated item `from_artifact` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 61 | Ok(Self::from_artifact(artifact)) [INFO] [stderr] | ^^^^^^^^^^^^^ function or associated item not found in `Module` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `sys::module::Module` consider using one of the following associated functions: [INFO] [stderr] sys::module::Module::from_binary [INFO] [stderr] sys::module::Module::from_binary_unchecked [INFO] [stderr] sys::module::Module::compile [INFO] [stderr] --> src/sys/module.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / pub(crate) fn from_binary( [INFO] [stderr] 38 | | engine: &impl AsEngineRef, [INFO] [stderr] 39 | | binary: &[u8], [INFO] [stderr] 40 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 45 | / pub(crate) unsafe fn from_binary_unchecked( [INFO] [stderr] 46 | | engine: &impl AsEngineRef, [INFO] [stderr] 47 | | binary: &[u8], [INFO] [stderr] 48 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] ... [INFO] [stderr] 59 | fn compile(engine: &impl AsEngineRef, binary: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/imports.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 264 | ( $( $ns_name:expr => $ns:tt ),* $(,)? ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 264 | ( $( $ns_name:expr_2021 => $ns:tt ),* $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/imports.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | ($( $import_name:expr => $import_item:expr ),* $(,)? ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 283 | ($( $import_name:expr_2021 => $import_item:expr ),* $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/imports.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | ($( $import_name:expr => $import_item:expr ),* $(,)? ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 283 | ($( $import_name:expr => $import_item:expr_2021 ),* $(,)? ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/imports.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | ( { $( $import_name:expr => $import_item:expr ),* $(,)? } ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 291 | ( { $( $import_name:expr_2021 => $import_item:expr ),* $(,)? } ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/imports.rs:291:46 [INFO] [stdout] | [INFO] [stdout] 291 | ( { $( $import_name:expr => $import_item:expr ),* $(,)? } ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 291 | ( { $( $import_name:expr => $import_item:expr_2021 ),* $(,)? } ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/value.rs:46:74 [INFO] [stdout] | [INFO] [stdout] 46 | ($bind:ident $(($variant:ident($ty:ty) $get:ident $unwrap:ident $cvt:expr))*) => ($( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 46 | ($bind:ident $(($variant:ident($ty:ty) $get:ident $unwrap:ident $cvt:expr_2021))*) => ($( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_compiler::Artifact::deserialize_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(Arc::new(Artifact::deserialize_unchecked( [INFO] [stdout] | _____________________^ [INFO] [stdout] 60 | | &self.0, [INFO] [stdout] 61 | | bytes.into_bytes().into(), [INFO] [stdout] 62 | | )?)) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/engine.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / pub unsafe fn deserialize_unchecked( [INFO] [stdout] 56 | | &self, [INFO] [stdout] 57 | | bytes: impl IntoBytes, [INFO] [stdout] 58 | | ) -> Result, DeserializeError> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_compiler::Artifact::deserialize` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(Arc::new(Artifact::deserialize( [INFO] [stdout] | _____________________^ [INFO] [stdout] 76 | | &self.0, [INFO] [stdout] 77 | | bytes.into_bytes().into(), [INFO] [stdout] 78 | | )?)) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/engine.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / pub unsafe fn deserialize( [INFO] [stdout] 72 | | &self, [INFO] [stdout] 73 | | bytes: impl IntoBytes, [INFO] [stdout] 74 | | ) -> Result, DeserializeError> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_compiler::Artifact::deserialize_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | Ok(Arc::new(Artifact::deserialize_unchecked( [INFO] [stdout] | _____________________^ [INFO] [stdout] 94 | | &self.0, [INFO] [stdout] 95 | | OwnedBuffer::from_file(&file) [INFO] [stdout] 96 | | .map_err(|e| DeserializeError::Generic(format!("{e:?}")))?, [INFO] [stdout] 97 | | )?)) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/engine.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub unsafe fn deserialize_from_file_unchecked( [INFO] [stdout] 89 | | &self, [INFO] [stdout] 90 | | file_ref: &Path, [INFO] [stdout] 91 | | ) -> Result, DeserializeError> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_compiler::Artifact::deserialize` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | Ok(Arc::new(Artifact::deserialize(&self.0, bytes.into())?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/engine.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / pub unsafe fn deserialize_from_file( [INFO] [stdout] 106 | | &self, [INFO] [stdout] 107 | | file_ref: &Path, [INFO] [stdout] 108 | | ) -> Result, DeserializeError> { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::extern_ref::ExternRef::from_vm_externref` is unsafe and requires unsafe block [INFO] [stdout] --> src/extern_ref.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | Self(extern_ref_imp::ExternRef::from_vm_externref( [INFO] [stdout] | ______________^ [INFO] [stdout] 46 | | store, [INFO] [stdout] 47 | | vm_externref, [INFO] [stdout] 48 | | )) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/extern_ref.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / pub(crate) unsafe fn from_vm_externref( [INFO] [stdout] 42 | | store: &mut impl AsStoreMut, [INFO] [stdout] 43 | | vm_externref: VMExternRef, [INFO] [stdout] 44 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::externals::function::Function::from_vm_funcref` is unsafe and requires unsafe block [INFO] [stdout] --> src/externals/function.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 323 | Self(function_impl::Function::from_vm_funcref(store, funcref)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/externals/function.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub(crate) unsafe fn from_vm_funcref(store: &mut impl AsStoreMut, funcref: VMFuncRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::externals::memory_view::MemoryView::<'a>::data_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/externals/memory_view.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | self.0.data_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/externals/memory_view.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe fn data_unchecked(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::externals::memory_view::MemoryView::<'a>::data_unchecked_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/externals/memory_view.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | self.0.data_unchecked_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/externals/memory_view.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe fn data_unchecked_mut(&self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::module::Module::from_binary_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/module.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(Self(module_imp::Module::from_binary_unchecked( [INFO] [stdout] | _________________^ [INFO] [stdout] 168 | | engine, binary, [INFO] [stdout] 169 | | )?)) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/module.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / pub unsafe fn from_binary_unchecked( [INFO] [stdout] 164 | | engine: &impl AsEngineRef, [INFO] [stdout] 165 | | binary: &[u8], [INFO] [stdout] 166 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::module::Module::deserialize_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/module.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | Ok(Self(module_imp::Module::deserialize_unchecked( [INFO] [stdout] | _________________^ [INFO] [stdout] 261 | | engine, bytes, [INFO] [stdout] 262 | | )?)) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/module.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | / pub unsafe fn deserialize_unchecked( [INFO] [stdout] 257 | | engine: &impl AsEngineRef, [INFO] [stdout] 258 | | bytes: impl IntoBytes, [INFO] [stdout] 259 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::module::Module::deserialize` is unsafe and requires unsafe block [INFO] [stdout] --> src/module.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | Ok(Self(module_imp::Module::deserialize(engine, bytes)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/module.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / pub unsafe fn deserialize( [INFO] [stdout] 291 | | engine: &impl AsEngineRef, [INFO] [stdout] 292 | | bytes: impl IntoBytes, [INFO] [stdout] 293 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::module::Module::deserialize_from_file` is unsafe and requires unsafe block [INFO] [stdout] --> src/module.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | Ok(Self(module_imp::Module::deserialize_from_file( [INFO] [stdout] | _________________^ [INFO] [stdout] 319 | | engine, path, [INFO] [stdout] 320 | | )?)) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/module.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | / pub unsafe fn deserialize_from_file( [INFO] [stdout] 315 | | engine: &impl AsEngineRef, [INFO] [stdout] 316 | | path: impl AsRef, [INFO] [stdout] 317 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::module::Module::deserialize_from_file_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/module.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | Ok(Self(module_imp::Module::deserialize_from_file_unchecked( [INFO] [stdout] | _________________^ [INFO] [stdout] 347 | | engine, path, [INFO] [stdout] 348 | | )?)) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/module.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | / pub unsafe fn deserialize_from_file_unchecked( [INFO] [stdout] 343 | | engine: &impl AsEngineRef, [INFO] [stdout] 344 | | path: impl AsRef, [INFO] [stdout] 345 | | ) -> Result { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | raw.i32 [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn from_raw(_store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | raw.i32 as _ [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn from_raw(_store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | raw.i64 [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | unsafe fn from_raw(_store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | raw.i64 as _ [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe fn from_raw(_store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | raw.f32 [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe fn from_raw(_store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | raw.f64 [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe fn from_raw(_store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | raw.u128 [INFO] [stdout] | ^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | unsafe fn from_raw(_store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::VMExternRef::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | VMExternRef::from_raw(RawValue { externref: abi }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe fn from_abi(store: &mut impl AsStoreMut, abi: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extern_ref::ExternRef::from_vm_externref` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | .map(|e| ExternRef::from_vm_externref(store, e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::VMExternRef::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | VMExternRef::from_raw(raw).map(|e| ExternRef::from_vm_externref(store, e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe fn from_raw(store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extern_ref::ExternRef::from_vm_externref` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:214:44 [INFO] [stdout] | [INFO] [stdout] 214 | VMExternRef::from_raw(raw).map(|e| ExternRef::from_vm_externref(store, e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::VMFuncRef::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | VMFuncRef::from_raw(RawValue { funcref: abi }).map(|f| Function::from_vm_funcref(store, f)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | unsafe fn from_abi(store: &mut impl AsStoreMut, abi: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `externals::function::Function::from_vm_funcref` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:236:64 [INFO] [stdout] | [INFO] [stdout] 236 | VMFuncRef::from_raw(RawValue { funcref: abi }).map(|f| Function::from_vm_funcref(store, f)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::VMFuncRef::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | VMFuncRef::from_raw(raw).map(|f| Function::from_vm_funcref(store, f)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe fn from_raw(store: &mut impl AsStoreMut, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `externals::function::Function::from_vm_funcref` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:253:42 [INFO] [stdout] | [INFO] [stdout] 253 | VMFuncRef::from_raw(raw).map(|f| Function::from_vm_funcref(store, f)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 748 | impl_wasmtypelist!([C] S0,); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | impl_wasmtypelist!([C] S0,); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 749 | impl_wasmtypelist!([transparent] S1, A1); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 750 | impl_wasmtypelist!([C] S2, A1, A2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 751 | impl_wasmtypelist!([C] S3, A1, A2, A3); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 752 | impl_wasmtypelist!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 753 | impl_wasmtypelist!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 754 | impl_wasmtypelist!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 755 | impl_wasmtypelist!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 756 | impl_wasmtypelist!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 757 | impl_wasmtypelist!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 758 | impl_wasmtypelist!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 759 | impl_wasmtypelist!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 760 | impl_wasmtypelist!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 761 | impl_wasmtypelist!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 762 | impl_wasmtypelist!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 763 | impl_wasmtypelist!([C] S15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 764 | impl_wasmtypelist!([C] S16, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 765 | impl_wasmtypelist!([C] S17, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 766 | impl_wasmtypelist!([C] S18, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 767 | impl_wasmtypelist!([C] S19, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 768 | impl_wasmtypelist!([C] S20, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 769 | impl_wasmtypelist!([C] S21, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 770 | impl_wasmtypelist!([C] S22, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 771 | impl_wasmtypelist!([C] S23, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 772 | impl_wasmtypelist!([C] S24, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 773 | impl_wasmtypelist!([C] S25, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A2... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe fn from_array(mut _store: &mut impl AsStoreMut, array: Self::Array) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_raw(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::from_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | Ok(Self::from_array(store, slice.try_into()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe fn from_slice(store: &mut impl AsStoreMut, slice: &[RawValue]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe fn from_c_struct(mut _store: &mut impl AsStoreMut, c_struct: Self::CStruct) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(_store, $x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/native_type.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | unsafe fn write_c_struct_to_ptr(c_struct: Self::CStruct, _ptr: *mut RawValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:22 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/native_type.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | *_ptr.add(_n).cast() = $x; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 774 | impl_wasmtypelist!([C] S26, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A2... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_wasmtypelist` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/store.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | Self { inner: &mut *raw } [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/store.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub(crate) unsafe fn from_raw(raw: *mut StoreInner) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | Type::I32 => Self::I32(raw.i32), [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/value.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn from_raw(store: &mut impl crate::AsStoreMut, ty: Type, raw: RawValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | Type::I64 => Self::I64(raw.i64), [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | Type::F32 => Self::F32(raw.f32), [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | Type::F64 => Self::F64(raw.f64), [INFO] [stdout] | ^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | Type::V128 => Self::V128(raw.u128), [INFO] [stdout] | ^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::VMFuncRef::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | Self::FuncRef(VMFuncRef::from_raw(raw).map(|f| Function::from_vm_funcref(store, f))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `externals::function::Function::from_vm_funcref` is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:116:64 [INFO] [stdout] | [INFO] [stdout] 116 | Self::FuncRef(VMFuncRef::from_raw(raw).map(|f| Function::from_vm_funcref(store, f))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::VMExternRef::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | VMExternRef::from_raw(raw).map(|e| ExternRef::from_vm_externref(store, e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extern_ref::ExternRef::from_vm_externref` is unsafe and requires unsafe block [INFO] [stdout] --> src/value.rs:119:52 [INFO] [stdout] | [INFO] [stdout] 119 | VMExternRef::from_raw(raw).map(|e| ExternRef::from_vm_externref(store, e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_compiler::Artifact::deserialize_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/engine.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | let artifact = Arc::new(Artifact::deserialize_unchecked( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 136 | | &self.0, [INFO] [stdout] 137 | | OwnedBuffer::from_file(&file) [INFO] [stdout] 138 | | .map_err(|e| DeserializeError::Generic(format!("{e:?}")))?, [INFO] [stdout] 139 | | )?); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/engine.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / unsafe fn deserialize_from_mmapped_file_unchecked( [INFO] [stdout] 131 | | &self, [INFO] [stdout] 132 | | file_ref: &Path, [INFO] [stdout] 133 | | ) -> Result { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_compiler::Artifact::deserialize` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/engine.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | let artifact = Arc::new(Artifact::deserialize( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 151 | | &self.0, [INFO] [stdout] 152 | | OwnedBuffer::from_file(&file) [INFO] [stdout] 153 | | .map_err(|e| DeserializeError::Generic(format!("{e:?}")))?, [INFO] [stdout] 154 | | )?); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/engine.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / unsafe fn deserialize_from_mmapped_file( [INFO] [stdout] 146 | | &self, [INFO] [stdout] 147 | | file_ref: &Path, [INFO] [stdout] 148 | | ) -> Result { [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::StoreHandle::::from_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/extern_ref.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | handle: StoreHandle::from_internal(store.objects_mut().id(), vm_externref.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/extern_ref.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / pub(crate) unsafe fn from_vm_externref( [INFO] [stdout] 38 | | store: &mut impl AsStoreMut, [INFO] [stdout] 39 | | vm_externref: VMExternRef, [INFO] [stdout] 40 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:383:31 [INFO] [stdout] | [INFO] [stdout] 383 | .lookup_signature(funcref.0.as_ref().type_index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | pub(crate) unsafe fn from_vm_funcref(store: &mut impl AsStoreMut, funcref: VMFuncRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:436:30 [INFO] [stdout] | [INFO] [stdout] 436 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | / unsafe extern "C" fn func_wrapper( [INFO] [stdout] 428 | | this: &mut VMDynamicFunctionContext, [INFO] [stdout] 429 | | values_vec: *mut RawValue, [INFO] [stdout] 430 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | Err(panic) => resume_panic(panic), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:456:37 [INFO] [stdout] | [INFO] [stdout] 456 | let dynamic_function = &mut *(vmctx as *mut VMDynamicFunctionContext); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | / unsafe extern "C" fn call_trampoline( [INFO] [stdout] 450 | | vmctx: *mut VMContext, [INFO] [stdout] 451 | | _body: VMFunctionCallback, [INFO] [stdout] 452 | | args: *mut RawValue, [INFO] [stdout] 453 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::externals::function::DynamicFunction::::func_wrapper` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | Self::func_wrapper(dynamic_function, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 641 | impl_host_function!([C] S0,); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 642 | impl_host_function!([transparent] S1, A1); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 643 | impl_host_function!([C] S2, A1, A2); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 644 | impl_host_function!([C] S3, A1, A2, A3); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 645 | impl_host_function!([C] S4, A1, A2, A3, A4); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 646 | impl_host_function!([C] S5, A1, A2, A3, A4, A5); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 647 | impl_host_function!([C] S6, A1, A2, A3, A4, A5, A6); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 648 | impl_host_function!([C] S7, A1, A2, A3, A4, A5, A6, A7); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 649 | impl_host_function!([C] S8, A1, A2, A3, A4, A5, A6, A7, A8); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 650 | impl_host_function!([C] S9, A1, A2, A3, A4, A5, A6, A7, A8, A9); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 651 | impl_host_function!([C] S10, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 652 | impl_host_function!([C] S11, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 653 | impl_host_function!([C] S12, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:521:46 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:543:35 [INFO] [stdout] | [INFO] [stdout] 543 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 532 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 533 | | Rets: WasmTypeList, [INFO] [stdout] 534 | | >( [INFO] [stdout] ... | [INFO] [stdout] 537 | | args: *mut RawValue, [INFO] [stdout] 538 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:42 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:547:43 [INFO] [stdout] | [INFO] [stdout] 547 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:551:43 [INFO] [stdout] | [INFO] [stdout] 551 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 552 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:585:41 [INFO] [stdout] | [INFO] [stdout] 585 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / unsafe extern "C" fn func_wrapper<$( $x, )* Rets, RetsAsResult, Func>( env: &StaticFunction, $( $x: <$x::Na... [INFO] [stdout] 578 | | where [INFO] [stdout] 579 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 580 | | Rets: WasmTypeList, [INFO] [stdout] 581 | | RetsAsResult: IntoResult, [INFO] [stdout] 582 | | Func: Fn($( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:590:80 [INFO] [stdout] | [INFO] [stdout] 590 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:597:54 [INFO] [stdout] | [INFO] [stdout] 597 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::raise_user_trap` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(Err(trap)) => raise_user_trap(Box::new(trap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `wasmer_vm::resume_panic` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:599:43 [INFO] [stdout] | [INFO] [stdout] 599 | Err(panic) => resume_panic(panic) , [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | = std::mem::transmute(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / unsafe extern "C" fn call_trampoline< [INFO] [stdout] 609 | | $( $x: FromToNativeWasmType, )* [INFO] [stdout] 610 | | Rets: WasmTypeList, [INFO] [stdout] 611 | | >( [INFO] [stdout] ... | [INFO] [stdout] 614 | | args: *mut RawValue, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | let $x = *args.add(_n).cast(); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | let results = body(vmctx, $( $x ),*); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::write_c_struct_to_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | Rets::write_c_struct_to_ptr(results, args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 654 | impl_host_function!([C] S13, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:501:41 [INFO] [stdout] | [INFO] [stdout] 501 | let mut store = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 655 | impl_host_function!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sys/externals/function.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | / unsafe extern "C" fn func_wrapper( env: &StaticFunction, [INFO] [stdout] 498 | | Func: Fn(FunctionEnvMut, $( $x , )*) -> RetsAsResult + 'static, [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 655 | impl_host_function!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::NativeWasmTypeInto::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:506:80 [INFO] [stdout] | [INFO] [stdout] 506 | let $x = FromToNativeWasmType::from_native(NativeWasmTypeInto::from_abi(&mut store, $x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 655 | impl_host_function!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `store::StoreMut::<'a>::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:509:49 [INFO] [stdout] | [INFO] [stdout] 509 | let store_mut = StoreMut::from_raw(env.raw_store as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 655 | impl_host_function!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_host_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `native_type::WasmTypeList::into_c_struct` is unsafe and requires unsafe block [INFO] [stdout] --> src/sys/externals/function.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(Ok(result)) => return result.into_c_struct(&mut store), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 655 | impl_host_function!([C] S14, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [WARN] too many lines in the log, truncating it