[INFO] fetching crate wasm-bindgen 0.2.93... [INFO] checking wasm-bindgen-0.2.93 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate wasm-bindgen 0.2.93 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate wasm-bindgen 0.2.93 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm-bindgen 0.2.93 [INFO] finished tweaking crates.io crate wasm-bindgen 0.2.93 [INFO] tweaked toml for crates.io crate wasm-bindgen 0.2.93 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7168bc0b698741a52013954753bba4a82b3e4fa3fca279adc46d2daa26b9a8c [INFO] running `Command { std: "docker" "start" "-a" "e7168bc0b698741a52013954753bba4a82b3e4fa3fca279adc46d2daa26b9a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7168bc0b698741a52013954753bba4a82b3e4fa3fca279adc46d2daa26b9a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7168bc0b698741a52013954753bba4a82b3e4fa3fca279adc46d2daa26b9a8c", kill_on_drop: false }` [INFO] [stdout] e7168bc0b698741a52013954753bba4a82b3e4fa3fca279adc46d2daa26b9a8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be56ad880df398c4e9d25abf5018580adc9f5ad2a526b101bd23a924c61cbc56 [INFO] running `Command { std: "docker" "start" "-a" "be56ad880df398c4e9d25abf5018580adc9f5ad2a526b101bd23a924c61cbc56", 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] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling wasm-bindgen v0.2.93 (/tmp/fixit) [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wasm_bindgen` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/describe.rs [INFO] [stderr] * src/lib.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/describe.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | (@ () $v:expr_2021) => {}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/describe.rs:17:32 [INFO] [stderr] | [INFO] [stderr] 17 | (@ ($a:ident $($b:ident)*) $v:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:909:33 [INFO] [stderr] | [INFO] [stderr] 909 | (|$arg:ident|, $($n:ident = $handle:expr_2021,)*) => ($( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 134 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 153 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 162 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1784:7 [INFO] [stdout] | [INFO] [stdout] 1784 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1784 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1802:7 [INFO] [stdout] | [INFO] [stdout] 1802 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1802 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1838:7 [INFO] [stdout] | [INFO] [stdout] 1838 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1838 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1892:11 [INFO] [stdout] | [INFO] [stdout] 1892 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1892 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/describe.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | (@ () $v: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] = 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] 16 | (@ () $v: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/describe.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | (@ ($a:ident $($b:ident)*) $v: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] 17 | (@ ($a:ident $($b:ident)*) $v: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/lib.rs:909:41 [INFO] [stdout] | [INFO] [stdout] 909 | (|$arg:ident|, $($n:ident = $handle: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] 909 | (|$arg:ident|, $($n:ident = $handle:expr_2021,)*) => ($( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `__wbindgen_describe_closure` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as u32) [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/closure.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn breaks_if_inlined(a: usize, b: usize) -> u32 { [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]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 573 | | a: usize, [INFO] [stdout] 574 | | b: usize, [INFO] [stdout] 575 | | $( [INFO] [stdout] ... | [INFO] [stdout] 580 | | )* [INFO] [stdout] 581 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (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/closure.rs:594:25 [INFO] [stdout] | [INFO] [stdout] 594 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 602 | | a: usize, [INFO] [stdout] 603 | | b: usize, [INFO] [stdout] 604 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:40 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:649:29 [INFO] [stdout] | [INFO] [stdout] 649 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:631:17 [INFO] [stdout] | [INFO] [stdout] 631 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 632 | | a: usize, [INFO] [stdout] 633 | | b: usize, [INFO] [stdout] 634 | | $( [INFO] [stdout] ... | [INFO] [stdout] 639 | | )* [INFO] [stdout] 640 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (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/closure.rs:654:25 [INFO] [stdout] | [INFO] [stdout] 654 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:26 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:661:17 [INFO] [stdout] | [INFO] [stdout] 661 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 662 | | a: usize, [INFO] [stdout] 663 | | b: usize, [INFO] [stdout] 664 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:40 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:592:40 [INFO] [stdout] | [INFO] [stdout] 592 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:652:40 [INFO] [stdout] | [INFO] [stdout] 652 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:789:49 [INFO] [stdout] | [INFO] [stdout] 789 | let f: *const dyn Fn(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | / unsafe extern "C" fn invoke( [INFO] [stdout] 775 | | a: usize, [INFO] [stdout] 776 | | b: usize, [INFO] [stdout] 777 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 780 | | arg4: ::Prim4, [INFO] [stdout] 781 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:790:27 [INFO] [stdout] | [INFO] [stdout] 790 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:804:18 [INFO] [stdout] | [INFO] [stdout] 804 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 805 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 806 | | )); [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/closure.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:805:17 [INFO] [stdout] | [INFO] [stdout] 805 | FatPtr:: R> { fields: (a, b) }.ptr, [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/closure.rs:838:52 [INFO] [stdout] | [INFO] [stdout] 838 | let f: *const dyn FnMut(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe extern "C" fn invoke( [INFO] [stdout] 824 | | a: usize, [INFO] [stdout] 825 | | b: usize, [INFO] [stdout] 826 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 829 | | arg4: ::Prim4, [INFO] [stdout] 830 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:854:18 [INFO] [stdout] | [INFO] [stdout] 854 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 855 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 856 | | )); [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/closure.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | FatPtr:: R> { fields: (a, b) }.ptr, [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | let f: &dyn Fn($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / unsafe extern "C" fn $invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 29 | | a: usize, [INFO] [stdout] 30 | | b: usize, [INFO] [stdout] 31 | | $( [INFO] [stdout] ... | [INFO] [stdout] 36 | | )* [INFO] [stdout] 37 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | let f: &mut dyn FnMut($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / unsafe extern "C" fn $invoke_mut<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 84 | | a: usize, [INFO] [stdout] 85 | | b: usize, [INFO] [stdout] 86 | | $( [INFO] [stdout] ... | [INFO] [stdout] 91 | | )* [INFO] [stdout] 92 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | let f: &dyn Fn(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn invoke1_ref( [INFO] [stdout] 158 | | a: usize, [INFO] [stdout] 159 | | b: usize, [INFO] [stdout] 160 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 163 | | arg4: ::Prim4, [INFO] [stdout] 164 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | let f: &mut dyn FnMut(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / unsafe extern "C" fn invoke1_mut_ref( [INFO] [stdout] 215 | | a: usize, [INFO] [stdout] 216 | | b: usize, [INFO] [stdout] 217 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 220 | | arg4: ::Prim4, [INFO] [stdout] 221 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::char::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | char::from_u32_unchecked(js) [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/convert/impls.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | unsafe fn from_abi(js: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | NonNull::new_unchecked(js as *mut T) [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/convert/impls.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | Self::from_abi(js) [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/convert/impls.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | unsafe fn long_ref_from_abi(js: u32) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | Some(T::from_abi(js)) [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/convert/impls.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | Clamped(T::from_abi(js)) [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/convert/impls.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:499:19 [INFO] [stdout] | [INFO] [stdout] 499 | let js_vals = as FromWasmAbi>::from_abi(js); [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/convert/impls.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | / pub unsafe fn js_value_vector_from_abi( [INFO] [stdout] 494 | | js: as FromWasmAbi>::Abi, [INFO] [stdout] 495 | | ) -> Box<[T]> [INFO] [stdout] 496 | | where [INFO] [stdout] 497 | | T::Error: Debug, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = <*mut $t>::from_abi(js.ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | >::from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | let contents = >::from_abi(js.slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn ref_mut_from_abi(js: WasmMutSlice) -> MutSlice<$t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let js = JsValue::from_abi(js.idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | Self::ref_from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn long_ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::impls::js_value_vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | js_value_vector_from_abi(js) [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/convert/slices.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | >::from_abi(js).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/convert/slices.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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/convert/slices.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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/convert/slices.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:47 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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 `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | Self::ref_from_abi(js) [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/convert/slices.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::VectorFromWasmAbi::vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | T::vector_from_abi(js) [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/convert/slices.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:446:19 [INFO] [stdout] | [INFO] [stdout] 446 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [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 `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | let vec: Vec = Vec::from_raw_parts(ptr, len, len) [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 `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/externref.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | for slot in slice::from_raw_parts_mut(ptr, len) { [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/externref.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe extern "C" fn __externref_drop_slice(ptr: *mut JsValue, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1812:23 [INFO] [stdout] | [INFO] [stdout] 1812 | let ptr = realloc(ptr, layout, new_size); [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/lib.rs:1803:5 [INFO] [stdout] | [INFO] [stdout] 1803 | / pub unsafe extern "C" fn __wbindgen_realloc( [INFO] [stdout] 1804 | | ptr: *mut u8, [INFO] [stdout] 1805 | | old_size: usize, [INFO] [stdout] 1806 | | new_size: usize, [INFO] [stdout] 1807 | | align: usize, [INFO] [stdout] 1808 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::alloc::Layout::from_size_align_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1845:22 [INFO] [stdout] | [INFO] [stdout] 1845 | let layout = Layout::from_size_align_unchecked(size, align); [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/lib.rs:1839:5 [INFO] [stdout] | [INFO] [stdout] 1839 | pub unsafe extern "C" fn __wbindgen_free(ptr: *mut u8, size: usize, align: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1846:9 [INFO] [stdout] | [INFO] [stdout] 1846 | dealloc(ptr, layout); [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1380:16 [INFO] [stdout] | [INFO] [stdout] 1380 | if let Some(val) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1382:13 [INFO] [stdout] | [INFO] [stdout] 1382 | } else if cfg!(debug_assertions) { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1380 ~ match self { Some(val) => { [INFO] [stdout] 1381 | val [INFO] [stdout] 1382 ~ } _ => if cfg!(debug_assertions) { [INFO] [stdout] 1383 | let loc = core::panic::Location::caller(); [INFO] [stdout] ... [INFO] [stdout] 1389 | throw_str(MSG) [INFO] [stdout] 1390 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1398:16 [INFO] [stdout] | [INFO] [stdout] 1398 | if let Some(val) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1400:13 [INFO] [stdout] | [INFO] [stdout] 1400 | } else if cfg!(debug_assertions) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1398 ~ match self { Some(val) => { [INFO] [stdout] 1399 | val [INFO] [stdout] 1400 ~ } _ => if cfg!(debug_assertions) { [INFO] [stdout] 1401 | let loc = core::panic::Location::caller(); [INFO] [stdout] ... [INFO] [stdout] 1412 | throw_str(message) [INFO] [stdout] 1413 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1965:16 [INFO] [stdout] | [INFO] [stdout] 1965 | if let Err(e) = self { [INFO] [stdout] | ^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1967:13 [INFO] [stdout] | [INFO] [stdout] 1967 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1965 ~ match self { Err(e) => { [INFO] [stdout] 1966 | crate::throw_val(e.into()); [INFO] [stdout] 1967 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1992:16 [INFO] [stdout] | [INFO] [stdout] 1992 | if let Err(e) = self.0.take().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1994:13 [INFO] [stdout] | [INFO] [stdout] 1994 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1992 ~ match self.0.take().unwrap() { Err(e) => { [INFO] [stdout] 1993 | crate::throw_val(e.into()); [INFO] [stdout] 1994 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2001:16 [INFO] [stdout] | [INFO] [stdout] 2001 | if let Err(e) = self.0.take().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2003:13 [INFO] [stdout] | [INFO] [stdout] 2003 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2001 ~ match self.0.take().unwrap() { Err(e) => { [INFO] [stdout] 2002 | crate::throw_str(&alloc::format!("{:?}", e)); [INFO] [stdout] 2003 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wasm_bindgen` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/describe.rs [INFO] [stderr] * src/lib.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/describe.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | (@ () $v:expr_2021) => {}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/describe.rs:17:32 [INFO] [stderr] | [INFO] [stderr] 17 | (@ ($a:ident $($b:ident)*) $v:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:909:33 [INFO] [stderr] | [INFO] [stderr] 909 | (|$arg:ident|, $($n:ident = $handle:expr_2021,)*) => ($( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 134 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 153 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 162 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1784:7 [INFO] [stdout] | [INFO] [stdout] 1784 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1784 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1802:7 [INFO] [stdout] | [INFO] [stdout] 1802 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1802 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1838:7 [INFO] [stdout] | [INFO] [stdout] 1838 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1838 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1892:11 [INFO] [stdout] | [INFO] [stdout] 1892 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1892 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/describe.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | (@ () $v: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] = 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] 16 | (@ () $v: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/describe.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | (@ ($a:ident $($b:ident)*) $v: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] 17 | (@ ($a:ident $($b:ident)*) $v: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/lib.rs:909:41 [INFO] [stdout] | [INFO] [stdout] 909 | (|$arg:ident|, $($n:ident = $handle: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] 909 | (|$arg:ident|, $($n:ident = $handle:expr_2021,)*) => ($( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `__wbindgen_describe_closure` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as u32) [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/closure.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn breaks_if_inlined(a: usize, b: usize) -> u32 { [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]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 573 | | a: usize, [INFO] [stdout] 574 | | b: usize, [INFO] [stdout] 575 | | $( [INFO] [stdout] ... | [INFO] [stdout] 580 | | )* [INFO] [stdout] 581 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (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/closure.rs:594:25 [INFO] [stdout] | [INFO] [stdout] 594 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 602 | | a: usize, [INFO] [stdout] 603 | | b: usize, [INFO] [stdout] 604 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:40 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:649:29 [INFO] [stdout] | [INFO] [stdout] 649 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:631:17 [INFO] [stdout] | [INFO] [stdout] 631 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 632 | | a: usize, [INFO] [stdout] 633 | | b: usize, [INFO] [stdout] 634 | | $( [INFO] [stdout] ... | [INFO] [stdout] 639 | | )* [INFO] [stdout] 640 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (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/closure.rs:654:25 [INFO] [stdout] | [INFO] [stdout] 654 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:26 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:661:17 [INFO] [stdout] | [INFO] [stdout] 661 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 662 | | a: usize, [INFO] [stdout] 663 | | b: usize, [INFO] [stdout] 664 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:40 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:592:40 [INFO] [stdout] | [INFO] [stdout] 592 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:652:40 [INFO] [stdout] | [INFO] [stdout] 652 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:789:49 [INFO] [stdout] | [INFO] [stdout] 789 | let f: *const dyn Fn(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | / unsafe extern "C" fn invoke( [INFO] [stdout] 775 | | a: usize, [INFO] [stdout] 776 | | b: usize, [INFO] [stdout] 777 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 780 | | arg4: ::Prim4, [INFO] [stdout] 781 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:790:27 [INFO] [stdout] | [INFO] [stdout] 790 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:804:18 [INFO] [stdout] | [INFO] [stdout] 804 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 805 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 806 | | )); [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/closure.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:805:17 [INFO] [stdout] | [INFO] [stdout] 805 | FatPtr:: R> { fields: (a, b) }.ptr, [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/closure.rs:838:52 [INFO] [stdout] | [INFO] [stdout] 838 | let f: *const dyn FnMut(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe extern "C" fn invoke( [INFO] [stdout] 824 | | a: usize, [INFO] [stdout] 825 | | b: usize, [INFO] [stdout] 826 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 829 | | arg4: ::Prim4, [INFO] [stdout] 830 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:854:18 [INFO] [stdout] | [INFO] [stdout] 854 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 855 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 856 | | )); [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/closure.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | FatPtr:: R> { fields: (a, b) }.ptr, [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | let f: &dyn Fn($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / unsafe extern "C" fn $invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 29 | | a: usize, [INFO] [stdout] 30 | | b: usize, [INFO] [stdout] 31 | | $( [INFO] [stdout] ... | [INFO] [stdout] 36 | | )* [INFO] [stdout] 37 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | let f: &mut dyn FnMut($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / unsafe extern "C" fn $invoke_mut<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 84 | | a: usize, [INFO] [stdout] 85 | | b: usize, [INFO] [stdout] 86 | | $( [INFO] [stdout] ... | [INFO] [stdout] 91 | | )* [INFO] [stdout] 92 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | let f: &dyn Fn(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn invoke1_ref( [INFO] [stdout] 158 | | a: usize, [INFO] [stdout] 159 | | b: usize, [INFO] [stdout] 160 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 163 | | arg4: ::Prim4, [INFO] [stdout] 164 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | let f: &mut dyn FnMut(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / unsafe extern "C" fn invoke1_mut_ref( [INFO] [stdout] 215 | | a: usize, [INFO] [stdout] 216 | | b: usize, [INFO] [stdout] 217 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 220 | | arg4: ::Prim4, [INFO] [stdout] 221 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::char::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | char::from_u32_unchecked(js) [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/convert/impls.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | unsafe fn from_abi(js: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | NonNull::new_unchecked(js as *mut T) [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/convert/impls.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | Self::from_abi(js) [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/convert/impls.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | unsafe fn long_ref_from_abi(js: u32) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | Some(T::from_abi(js)) [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/convert/impls.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | Clamped(T::from_abi(js)) [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/convert/impls.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:499:19 [INFO] [stdout] | [INFO] [stdout] 499 | let js_vals = as FromWasmAbi>::from_abi(js); [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/convert/impls.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | / pub unsafe fn js_value_vector_from_abi( [INFO] [stdout] 494 | | js: as FromWasmAbi>::Abi, [INFO] [stdout] 495 | | ) -> Box<[T]> [INFO] [stdout] 496 | | where [INFO] [stdout] 497 | | T::Error: Debug, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = <*mut $t>::from_abi(js.ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | >::from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | let contents = >::from_abi(js.slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn ref_mut_from_abi(js: WasmMutSlice) -> MutSlice<$t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let js = JsValue::from_abi(js.idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | Self::ref_from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn long_ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::impls::js_value_vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | js_value_vector_from_abi(js) [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/convert/slices.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | >::from_abi(js).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/convert/slices.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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/convert/slices.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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/convert/slices.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:47 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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 `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | Self::ref_from_abi(js) [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/convert/slices.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::VectorFromWasmAbi::vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | T::vector_from_abi(js) [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/convert/slices.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:446:19 [INFO] [stdout] | [INFO] [stdout] 446 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [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 `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | let vec: Vec = Vec::from_raw_parts(ptr, len, len) [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 `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/externref.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | for slot in slice::from_raw_parts_mut(ptr, len) { [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/externref.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe extern "C" fn __externref_drop_slice(ptr: *mut JsValue, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1812:23 [INFO] [stdout] | [INFO] [stdout] 1812 | let ptr = realloc(ptr, layout, new_size); [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/lib.rs:1803:5 [INFO] [stdout] | [INFO] [stdout] 1803 | / pub unsafe extern "C" fn __wbindgen_realloc( [INFO] [stdout] 1804 | | ptr: *mut u8, [INFO] [stdout] 1805 | | old_size: usize, [INFO] [stdout] 1806 | | new_size: usize, [INFO] [stdout] 1807 | | align: usize, [INFO] [stdout] 1808 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::alloc::Layout::from_size_align_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1845:22 [INFO] [stdout] | [INFO] [stdout] 1845 | let layout = Layout::from_size_align_unchecked(size, align); [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/lib.rs:1839:5 [INFO] [stdout] | [INFO] [stdout] 1839 | pub unsafe extern "C" fn __wbindgen_free(ptr: *mut u8, size: usize, align: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1846:9 [INFO] [stdout] | [INFO] [stdout] 1846 | dealloc(ptr, layout); [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1380:16 [INFO] [stdout] | [INFO] [stdout] 1380 | if let Some(val) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1382:13 [INFO] [stdout] | [INFO] [stdout] 1382 | } else if cfg!(debug_assertions) { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1380 ~ match self { Some(val) => { [INFO] [stdout] 1381 | val [INFO] [stdout] 1382 ~ } _ => if cfg!(debug_assertions) { [INFO] [stdout] 1383 | let loc = core::panic::Location::caller(); [INFO] [stdout] ... [INFO] [stdout] 1389 | throw_str(MSG) [INFO] [stdout] 1390 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1398:16 [INFO] [stdout] | [INFO] [stdout] 1398 | if let Some(val) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1400:13 [INFO] [stdout] | [INFO] [stdout] 1400 | } else if cfg!(debug_assertions) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1398 ~ match self { Some(val) => { [INFO] [stdout] 1399 | val [INFO] [stdout] 1400 ~ } _ => if cfg!(debug_assertions) { [INFO] [stdout] 1401 | let loc = core::panic::Location::caller(); [INFO] [stdout] ... [INFO] [stdout] 1412 | throw_str(message) [INFO] [stdout] 1413 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1965:16 [INFO] [stdout] | [INFO] [stdout] 1965 | if let Err(e) = self { [INFO] [stdout] | ^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1967:13 [INFO] [stdout] | [INFO] [stdout] 1967 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1965 ~ match self { Err(e) => { [INFO] [stdout] 1966 | crate::throw_val(e.into()); [INFO] [stdout] 1967 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1992:16 [INFO] [stdout] | [INFO] [stdout] 1992 | if let Err(e) = self.0.take().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1994:13 [INFO] [stdout] | [INFO] [stdout] 1994 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1992 ~ match self.0.take().unwrap() { Err(e) => { [INFO] [stdout] 1993 | crate::throw_val(e.into()); [INFO] [stdout] 1994 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2001:16 [INFO] [stdout] | [INFO] [stdout] 2001 | if let Err(e) = self.0.take().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2003:13 [INFO] [stdout] | [INFO] [stdout] 2003 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2001 ~ match self.0.take().unwrap() { Err(e) => { [INFO] [stdout] 2002 | crate::throw_str(&alloc::format!("{:?}", e)); [INFO] [stdout] 2003 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.08s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 122 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 134 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 153 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 134 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 162 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 153 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/externref.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 162 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1784:7 [INFO] [stdout] | [INFO] [stdout] 1784 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1784 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1802:7 [INFO] [stdout] | [INFO] [stdout] 1802 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1802 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1838:7 [INFO] [stdout] | [INFO] [stdout] 1838 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1838 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1892:11 [INFO] [stdout] | [INFO] [stdout] 1892 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1892 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1784:7 [INFO] [stdout] | [INFO] [stdout] 1784 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1784 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1802:7 [INFO] [stdout] | [INFO] [stdout] 1802 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1802 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1838:7 [INFO] [stdout] | [INFO] [stdout] 1838 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1838 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:1892:11 [INFO] [stdout] | [INFO] [stdout] 1892 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1892 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `__wbindgen_describe_closure` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as u32) [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/closure.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn breaks_if_inlined(a: usize, b: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `__wbindgen_describe_closure` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as u32) [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/closure.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn breaks_if_inlined(a: usize, b: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 573 | | a: usize, [INFO] [stdout] 574 | | b: usize, [INFO] [stdout] 575 | | $( [INFO] [stdout] ... | [INFO] [stdout] 580 | | )* [INFO] [stdout] 581 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 573 | | a: usize, [INFO] [stdout] 574 | | b: usize, [INFO] [stdout] 575 | | $( [INFO] [stdout] ... | [INFO] [stdout] 580 | | )* [INFO] [stdout] 581 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (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/closure.rs:594:25 [INFO] [stdout] | [INFO] [stdout] 594 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (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/closure.rs:594:25 [INFO] [stdout] | [INFO] [stdout] 594 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 602 | | a: usize, [INFO] [stdout] 603 | | b: usize, [INFO] [stdout] 604 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 602 | | a: usize, [INFO] [stdout] 603 | | b: usize, [INFO] [stdout] 604 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:40 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:613:40 [INFO] [stdout] | [INFO] [stdout] 613 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 614 | | fields: (a, b) [INFO] [stdout] 615 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:649:29 [INFO] [stdout] | [INFO] [stdout] 649 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:631:17 [INFO] [stdout] | [INFO] [stdout] 631 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 632 | | a: usize, [INFO] [stdout] 633 | | b: usize, [INFO] [stdout] 634 | | $( [INFO] [stdout] ... | [INFO] [stdout] 639 | | )* [INFO] [stdout] 640 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:649:29 [INFO] [stdout] | [INFO] [stdout] 649 | FatPtr { fields: (a, b) }.ptr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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/closure.rs:631:17 [INFO] [stdout] | [INFO] [stdout] 631 | / unsafe extern "C" fn invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 632 | | a: usize, [INFO] [stdout] 633 | | b: usize, [INFO] [stdout] 634 | | $( [INFO] [stdout] ... | [INFO] [stdout] 639 | | )* [INFO] [stdout] 640 | | ) -> WasmRet { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (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/closure.rs:654:25 [INFO] [stdout] | [INFO] [stdout] 654 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (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/closure.rs:654:25 [INFO] [stdout] | [INFO] [stdout] 654 | (*f)($($var),*) [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [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 `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:26 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:661:17 [INFO] [stdout] | [INFO] [stdout] 661 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 662 | | a: usize, [INFO] [stdout] 663 | | b: usize, [INFO] [stdout] 664 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:40 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:26 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | __________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/closure.rs:661:17 [INFO] [stdout] | [INFO] [stdout] 661 | / unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 662 | | a: usize, [INFO] [stdout] 663 | | b: usize, [INFO] [stdout] 664 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:669:40 [INFO] [stdout] | [INFO] [stdout] 669 | drop(Box::from_raw(FatPtr:: R> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 670 | | fields: (a, b) [INFO] [stdout] 671 | | }.ptr)); [INFO] [stdout] | |_________________________^ access to union field [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:592:40 [INFO] [stdout] | [INFO] [stdout] 592 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:592:40 [INFO] [stdout] | [INFO] [stdout] 592 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:652:40 [INFO] [stdout] | [INFO] [stdout] 652 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:652:40 [INFO] [stdout] | [INFO] [stdout] 652 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 747 | / doit! { [INFO] [stdout] 748 | | () [INFO] [stdout] 749 | | (A a1 a2 a3 a4) [INFO] [stdout] 750 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 756 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 757 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:789:49 [INFO] [stdout] | [INFO] [stdout] 789 | let f: *const dyn Fn(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | / unsafe extern "C" fn invoke( [INFO] [stdout] 775 | | a: usize, [INFO] [stdout] 776 | | b: usize, [INFO] [stdout] 777 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 780 | | arg4: ::Prim4, [INFO] [stdout] 781 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:790:27 [INFO] [stdout] | [INFO] [stdout] 790 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:804:18 [INFO] [stdout] | [INFO] [stdout] 804 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 805 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 806 | | )); [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/closure.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:789:49 [INFO] [stdout] | [INFO] [stdout] 789 | let f: *const dyn Fn(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | / unsafe extern "C" fn invoke( [INFO] [stdout] 775 | | a: usize, [INFO] [stdout] 776 | | b: usize, [INFO] [stdout] 777 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 780 | | arg4: ::Prim4, [INFO] [stdout] 781 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:805:17 [INFO] [stdout] | [INFO] [stdout] 805 | FatPtr:: R> { fields: (a, b) }.ptr, [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 `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:790:27 [INFO] [stdout] | [INFO] [stdout] 790 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:838:52 [INFO] [stdout] | [INFO] [stdout] 838 | let f: *const dyn FnMut(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe extern "C" fn invoke( [INFO] [stdout] 824 | | a: usize, [INFO] [stdout] 825 | | b: usize, [INFO] [stdout] 826 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 829 | | arg4: ::Prim4, [INFO] [stdout] 830 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:804:18 [INFO] [stdout] | [INFO] [stdout] 804 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 805 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 806 | | )); [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/closure.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:805:17 [INFO] [stdout] | [INFO] [stdout] 805 | FatPtr:: R> { fields: (a, b) }.ptr, [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 `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:854:18 [INFO] [stdout] | [INFO] [stdout] 854 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 855 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 856 | | )); [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/closure.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:838:52 [INFO] [stdout] | [INFO] [stdout] 838 | let f: *const dyn FnMut(&A) -> R = FatPtr { fields: (a, b) }.ptr; [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/closure.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe extern "C" fn invoke( [INFO] [stdout] 824 | | a: usize, [INFO] [stdout] 825 | | b: usize, [INFO] [stdout] 826 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 829 | | arg4: ::Prim4, [INFO] [stdout] 830 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | FatPtr:: R> { fields: (a, b) }.ptr, [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 `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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/closure.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | (*f)(&*arg) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:854:18 [INFO] [stdout] | [INFO] [stdout] 854 | drop(Box::from_raw( [INFO] [stdout] | __________________^ [INFO] [stdout] 855 | | FatPtr:: R> { fields: (a, b) }.ptr, [INFO] [stdout] 856 | | )); [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/closure.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | unsafe extern "C" fn destroy(a: usize, b: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/closure.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | FatPtr:: R> { fields: (a, b) }.ptr, [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | let f: &dyn Fn($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / unsafe extern "C" fn $invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 29 | | a: usize, [INFO] [stdout] 30 | | b: usize, [INFO] [stdout] 31 | | $( [INFO] [stdout] ... | [INFO] [stdout] 36 | | )* [INFO] [stdout] 37 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | let f: &mut dyn FnMut($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / unsafe extern "C" fn $invoke_mut<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 84 | | a: usize, [INFO] [stdout] 85 | | b: usize, [INFO] [stdout] 86 | | $( [INFO] [stdout] ... | [INFO] [stdout] 91 | | )* [INFO] [stdout] 92 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | let f: &dyn Fn($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / unsafe extern "C" fn $invoke<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 29 | | a: usize, [INFO] [stdout] 30 | | b: usize, [INFO] [stdout] 31 | | $( [INFO] [stdout] ... | [INFO] [stdout] 36 | | )* [INFO] [stdout] 37 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | let f: &mut dyn FnMut($($var),*) -> R = mem::transmute((a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/closures.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / unsafe extern "C" fn $invoke_mut<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] 84 | | a: usize, [INFO] [stdout] 85 | | b: usize, [INFO] [stdout] 86 | | $( [INFO] [stdout] ... | [INFO] [stdout] 91 | | )* [INFO] [stdout] 92 | | ) -> WasmRet { [INFO] [stdout] | |____________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let $var = <$var as FromWasmAbi>::from_abi($var::Abi::join($arg1, $arg2, $arg3, $arg4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 125 | / stack_closures! { [INFO] [stdout] 126 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 127 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 128 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 134 | | (8 invoke8 invoke8_mut A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | let f: &dyn Fn(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn invoke1_ref( [INFO] [stdout] 158 | | a: usize, [INFO] [stdout] 159 | | b: usize, [INFO] [stdout] 160 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 163 | | arg4: ::Prim4, [INFO] [stdout] 164 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | let f: &mut dyn FnMut(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / unsafe extern "C" fn invoke1_mut_ref( [INFO] [stdout] 215 | | a: usize, [INFO] [stdout] 216 | | b: usize, [INFO] [stdout] 217 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 220 | | arg4: ::Prim4, [INFO] [stdout] 221 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | let f: &dyn Fn(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / unsafe extern "C" fn invoke1_ref( [INFO] [stdout] 158 | | a: usize, [INFO] [stdout] 159 | | b: usize, [INFO] [stdout] 160 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 163 | | arg4: ::Prim4, [INFO] [stdout] 164 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | let f: &mut dyn FnMut(&A) -> R = mem::transmute((a, b)); [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/convert/closures.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / unsafe extern "C" fn invoke1_mut_ref( [INFO] [stdout] 215 | | a: usize, [INFO] [stdout] 216 | | b: usize, [INFO] [stdout] 217 | | arg1: ::Prim1, [INFO] [stdout] ... | [INFO] [stdout] 220 | | arg4: ::Prim4, [INFO] [stdout] 221 | | ) -> WasmRet { [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/closures.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | let arg = ::ref_from_abi(A::Abi::join(arg1, arg2, arg3, arg4)); [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 `core::char::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | char::from_u32_unchecked(js) [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/convert/impls.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | unsafe fn from_abi(js: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | NonNull::new_unchecked(js as *mut T) [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/convert/impls.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | Self::from_abi(js) [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/convert/impls.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | unsafe fn long_ref_from_abi(js: u32) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | Some(T::from_abi(js)) [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/convert/impls.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | Clamped(T::from_abi(js)) [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/convert/impls.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::char::from_u32_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | char::from_u32_unchecked(js) [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/convert/impls.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | unsafe fn from_abi(js: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:499:19 [INFO] [stdout] | [INFO] [stdout] 499 | let js_vals = as FromWasmAbi>::from_abi(js); [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/convert/impls.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | / pub unsafe fn js_value_vector_from_abi( [INFO] [stdout] 494 | | js: as FromWasmAbi>::Abi, [INFO] [stdout] 495 | | ) -> Box<[T]> [INFO] [stdout] 496 | | where [INFO] [stdout] 497 | | T::Error: Debug, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | NonNull::new_unchecked(js as *mut T) [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/convert/impls.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | Self::from_abi(js) [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/convert/impls.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | unsafe fn long_ref_from_abi(js: u32) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | Some(T::from_abi(js)) [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/convert/impls.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = <*mut $t>::from_abi(js.ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | Clamped(T::from_abi(js)) [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/convert/impls.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe fn from_abi(js: T::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | >::from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | let contents = >::from_abi(js.slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn ref_mut_from_abi(js: WasmMutSlice) -> MutSlice<$t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let js = JsValue::from_abi(js.idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | Self::ref_from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn long_ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/impls.rs:499:19 [INFO] [stdout] | [INFO] [stdout] 499 | let js_vals = as FromWasmAbi>::from_abi(js); [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/convert/impls.rs:493:1 [INFO] [stdout] | [INFO] [stdout] 493 | / pub unsafe fn js_value_vector_from_abi( [INFO] [stdout] 494 | | js: as FromWasmAbi>::Abi, [INFO] [stdout] 495 | | ) -> Box<[T]> [INFO] [stdout] 496 | | where [INFO] [stdout] 497 | | T::Error: Debug, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let ptr = <*mut $t>::from_abi(js.ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | >::from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe fn ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | let contents = >::from_abi(js.slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe fn ref_mut_from_abi(js: WasmMutSlice) -> MutSlice<$t> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let js = JsValue::from_abi(js.idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | Self::ref_from_abi(js) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for 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/convert/slices.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn long_ref_from_abi(js: WasmSlice) -> Box<[$t]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / vectors! { [INFO] [stdout] 225 | | u8 i8 u16 i16 u32 i32 u64 i64 usize isize f32 f64 [INFO] [stdout] 226 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vectors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::impls::js_value_vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | js_value_vector_from_abi(js) [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/convert/slices.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | >::from_abi(js).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/convert/slices.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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/convert/slices.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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/convert/slices.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:47 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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 `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | Self::ref_from_abi(js) [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/convert/slices.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::VectorFromWasmAbi::vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | T::vector_from_abi(js) [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/convert/slices.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:446:19 [INFO] [stdout] | [INFO] [stdout] 446 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [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 `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | let vec: Vec = Vec::from_raw_parts(ptr, len, len) [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 `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/externref.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | for slot in slice::from_raw_parts_mut(ptr, len) { [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/externref.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe extern "C" fn __externref_drop_slice(ptr: *mut JsValue, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::impls::js_value_vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | js_value_vector_from_abi(js) [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/convert/slices.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | >::from_abi(js).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/convert/slices.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::string::String::from_utf8_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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/convert/slices.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | String::from_utf8_unchecked(>::from_abi(js)) [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 `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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/convert/slices.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:378:47 [INFO] [stdout] | [INFO] [stdout] 378 | mem::transmute::, Box>(>::from_abi(js)) [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 `convert::traits::RefFromWasmAbi::ref_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | Self::ref_from_abi(js) [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/convert/slices.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::VectorFromWasmAbi::vector_from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | T::vector_from_abi(js) [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/convert/slices.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe fn from_abi(js: Self::Abi) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:446:19 [INFO] [stdout] | [INFO] [stdout] 446 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[Self]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | Vec::from_raw_parts(ptr, len, len).into_boxed_slice() [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 `convert::traits::FromWasmAbi::from_abi` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | let ptr = <*mut JsValue>::from_abi(js.ptr); [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/convert/slices.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe fn vector_from_abi(js: WasmSlice) -> Box<[T]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::vec::Vec::::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/convert/slices.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | let vec: Vec = Vec::from_raw_parts(ptr, len, len) [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 `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/externref.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | for slot in slice::from_raw_parts_mut(ptr, len) { [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/externref.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | pub unsafe extern "C" fn __externref_drop_slice(ptr: *mut JsValue, len: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1812:23 [INFO] [stdout] | [INFO] [stdout] 1812 | let ptr = realloc(ptr, layout, new_size); [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/lib.rs:1803:5 [INFO] [stdout] | [INFO] [stdout] 1803 | / pub unsafe extern "C" fn __wbindgen_realloc( [INFO] [stdout] 1804 | | ptr: *mut u8, [INFO] [stdout] 1805 | | old_size: usize, [INFO] [stdout] 1806 | | new_size: usize, [INFO] [stdout] 1807 | | align: usize, [INFO] [stdout] 1808 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::alloc::Layout::from_size_align_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1845:22 [INFO] [stdout] | [INFO] [stdout] 1845 | let layout = Layout::from_size_align_unchecked(size, align); [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/lib.rs:1839:5 [INFO] [stdout] | [INFO] [stdout] 1839 | pub unsafe extern "C" fn __wbindgen_free(ptr: *mut u8, size: usize, align: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1846:9 [INFO] [stdout] | [INFO] [stdout] 1846 | dealloc(ptr, layout); [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] error: aborting due to 8 previous errors; 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1812:23 [INFO] [stdout] | [INFO] [stdout] 1812 | let ptr = realloc(ptr, layout, new_size); [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/lib.rs:1803:5 [INFO] [stdout] | [INFO] [stdout] 1803 | / pub unsafe extern "C" fn __wbindgen_realloc( [INFO] [stdout] 1804 | | ptr: *mut u8, [INFO] [stdout] 1805 | | old_size: usize, [INFO] [stdout] 1806 | | new_size: usize, [INFO] [stdout] 1807 | | align: usize, [INFO] [stdout] 1808 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::alloc::Layout::from_size_align_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1845:22 [INFO] [stdout] | [INFO] [stdout] 1845 | let layout = Layout::from_size_align_unchecked(size, align); [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/lib.rs:1839:5 [INFO] [stdout] | [INFO] [stdout] 1839 | pub unsafe extern "C" fn __wbindgen_free(ptr: *mut u8, size: usize, align: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `alloc::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1846:9 [INFO] [stdout] | [INFO] [stdout] 1846 | dealloc(ptr, layout); [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] [stderr] error: could not compile `wasm-bindgen` (lib) due to 9 previous errors; 57 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen` (lib test) due to 9 previous errors; 57 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "be56ad880df398c4e9d25abf5018580adc9f5ad2a526b101bd23a924c61cbc56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be56ad880df398c4e9d25abf5018580adc9f5ad2a526b101bd23a924c61cbc56", kill_on_drop: false }` [INFO] [stdout] be56ad880df398c4e9d25abf5018580adc9f5ad2a526b101bd23a924c61cbc56