[INFO] fetching crate luminance-webgl 0.6.1... [INFO] checking luminance-webgl-0.6.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate luminance-webgl 0.6.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate luminance-webgl 0.6.1 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] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate luminance-webgl 0.6.1 [INFO] finished tweaking crates.io crate luminance-webgl 0.6.1 [INFO] tweaked toml for crates.io crate luminance-webgl 0.6.1 written to /workspace/builds/worker-2-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 21 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 568f8a92da7e7cff840f2245f585aa5ad06b9012946c5fa3468070898f62248d [INFO] running `Command { std: "docker" "start" "-a" "568f8a92da7e7cff840f2245f585aa5ad06b9012946c5fa3468070898f62248d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "568f8a92da7e7cff840f2245f585aa5ad06b9012946c5fa3468070898f62248d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568f8a92da7e7cff840f2245f585aa5ad06b9012946c5fa3468070898f62248d", kill_on_drop: false }` [INFO] [stdout] 568f8a92da7e7cff840f2245f585aa5ad06b9012946c5fa3468070898f62248d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8392b0b85deff1a23123b2a2a71e382e7668ab0045b567c20e62c0471f2c0bdc [INFO] running `Command { std: "docker" "start" "-a" "8392b0b85deff1a23123b2a2a71e382e7668ab0045b567c20e62c0471f2c0bdc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.109 [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] Compiling luminance-derive v0.10.0 [INFO] [stderr] Checking luminance v0.47.0 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking luminance-std140 v0.2.1 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking luminance-webgl v0.6.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `luminance_webgl` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/slice.rs [INFO] [stderr] * src/webgl2/shader.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/slice.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | ($e:ident : $t:ty , len = $len: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/webgl2/shader.rs:376:6 [INFO] [stderr] | [INFO] [stderr] 376 | ($ty:expr_2021, $( ( $v:tt, $t:tt ) ),* $(,)?) => { [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/webgl2/shader.rs:477:28 [INFO] [stderr] | [INFO] [stderr] 477 | (vec arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [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/webgl2/shader.rs:569:28 [INFO] [stderr] | [INFO] [stderr] 569 | (mat arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [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/webgl2/shader.rs:597:24 [INFO] [stderr] | [INFO] [stderr] 597 | (mat $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [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] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:809:7 [INFO] [stderr] | [INFO] [stderr] 809 | &BOOL_CACHE, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 809 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:833:7 [INFO] [stderr] | [INFO] [stderr] 833 | &BOOL_CACHE, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 833 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:861:7 [INFO] [stderr] | [INFO] [stderr] 861 | &BOOL_CACHE, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 861 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:889:7 [INFO] [stderr] | [INFO] [stderr] 889 | &BOOL_CACHE, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 4 warnings emitted [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/slice.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | ($e:ident : $t:ty , len = $len: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] 8 | ($e:ident : $t:ty , len = $len: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/webgl2/shader.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | ($ty:expr, $( ( $v:tt, $t:tt ) ),* $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 376 | ($ty:expr_2021, $( ( $v:tt, $t:tt ) ),* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/webgl2/shader.rs:477:34 [INFO] [stdout] | [INFO] [stdout] 477 | (vec arr $q:ident $t:ty, $size:expr, $uty:tt, $f:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 477 | (vec arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/webgl2/shader.rs:569:34 [INFO] [stdout] | [INFO] [stdout] 569 | (mat arr $q:ident $t:ty, $size:expr, $uty:tt, $f:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 569 | (mat arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/webgl2/shader.rs:597:30 [INFO] [stdout] | [INFO] [stdout] 597 | (mat $q:ident $t:ty, $size:expr, $uty:tt, $f:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 597 | (mat $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:809:7 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:833:7 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 833 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:861:7 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 861 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:889:7 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/framebuffer.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let buffers = Uint32Array::view(&color_buffers); [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/webgl2/framebuffer.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | / unsafe fn new_framebuffer( [INFO] [stdout] 47 | | &mut self, [INFO] [stdout] 48 | | size: D::Size, [INFO] [stdout] 49 | | _: usize, [INFO] [stdout] ... | [INFO] [stdout] 53 | | CS: ColorSlot, [INFO] [stdout] 54 | | DS: DepthStencilSlot, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:243:3 [INFO] [stdout] | [INFO] [stdout] 243 | / unsafe fn render( [INFO] [stdout] 244 | | &mut self, [INFO] [stdout] 245 | | tess: &Self::TessRepr, [INFO] [stdout] 246 | | start_index: usize, [INFO] [stdout] 247 | | vert_nb: usize, [INFO] [stdout] 248 | | inst_nb: usize, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:260:3 [INFO] [stdout] | [INFO] [stdout] 260 | / unsafe fn render( [INFO] [stdout] 261 | | &mut self, [INFO] [stdout] 262 | | tess: &Self::TessRepr, [INFO] [stdout] 263 | | start_index: usize, [INFO] [stdout] 264 | | vert_nb: usize, [INFO] [stdout] 265 | | inst_nb: usize, [INFO] [stdout] 266 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::shader::Uniformable::ty` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | let ty = Self::ty(); [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/webgl2/shader.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 284 | / unsafe fn ask_uniform( [INFO] [stdout] 285 | | uniform_builder: &mut Self::UniformBuilderRepr, [INFO] [stdout] 286 | | name: &str, [INFO] [stdout] 287 | | ) -> Result, UniformWarning> [INFO] [stdout] 288 | | where [INFO] [stdout] 289 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::shader::Uniform::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | Uniform::new(-1) [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/webgl2/shader.rs:300:3 [INFO] [stdout] | [INFO] [stdout] 300 | / unsafe fn unbound(_: &mut Self::UniformBuilderRepr) -> Uniform [INFO] [stdout] 301 | | where [INFO] [stdout] 302 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:626:1 [INFO] [stdout] | [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:632:1 [INFO] [stdout] | [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:638:1 [INFO] [stdout] | [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:662:1 [INFO] [stdout] | [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:694:1 [INFO] [stdout] | [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:697:1 [INFO] [stdout] | [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:701:1 [INFO] [stdout] | [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:803:3 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe fn update(program: &mut Program, uniform: &'a Uniform>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | BOOL_CACHE.extend(value.iter().map(|x| *x as u32)); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 828 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:823:3 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe fn update( [INFO] [stdout] 824 | | program: &mut Program, [INFO] [stdout] 825 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 826 | | value: Self::Target, [INFO] [stdout] 827 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | BOOL_CACHE.extend(value.iter().flat_map(|x| [x[0] as u32, x[1] as u32])); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:852:5 [INFO] [stdout] | [INFO] [stdout] 852 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:847:3 [INFO] [stdout] | [INFO] [stdout] 847 | / unsafe fn update( [INFO] [stdout] 848 | | program: &mut Program, [INFO] [stdout] 849 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 850 | | value: Self::Target, [INFO] [stdout] 851 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 853 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:861:8 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 880 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | / unsafe fn update( [INFO] [stdout] 876 | | program: &mut Program, [INFO] [stdout] 877 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 878 | | value: Self::Target, [INFO] [stdout] 879 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:889:8 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn render( [INFO] [stdout] 192 | | tess: &Self::TessRepr, [INFO] [stdout] 193 | | start_index: usize, [INFO] [stdout] 194 | | vert_nb: usize, [INFO] [stdout] 195 | | inst_nb: usize, [INFO] [stdout] 196 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | / unsafe fn render( [INFO] [stdout] 370 | | tess: &Self::TessRepr, [INFO] [stdout] 371 | | start_index: usize, [INFO] [stdout] 372 | | vert_nb: usize, [INFO] [stdout] 373 | | inst_nb: usize, [INFO] [stdout] 374 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:389:3 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn vertices(tess: &'a mut Self::TessRepr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 399 | / unsafe fn vertices_mut( [INFO] [stdout] 400 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 401 | | ) -> Result { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 455 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / unsafe fn instances( [INFO] [stdout] 449 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 450 | | ) -> Result { [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:467:19 [INFO] [stdout] | [INFO] [stdout] 467 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:460:3 [INFO] [stdout] | [INFO] [stdout] 460 | / unsafe fn instances_mut( [INFO] [stdout] 461 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 462 | | ) -> Result { [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn new_texture( [INFO] [stdout] 50 | | &mut self, [INFO] [stdout] 51 | | size: D::Size, [INFO] [stdout] 52 | | sampler: Sampler, [INFO] [stdout] 53 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 54 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | / unsafe fn new_texture_raw( [INFO] [stdout] 59 | | &mut self, [INFO] [stdout] 60 | | size: D::Size, [INFO] [stdout] 61 | | sampler: Sampler, [INFO] [stdout] 62 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 63 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | >::upload_part(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | / unsafe fn upload( [INFO] [stdout] 87 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 88 | | size: D::Size, [INFO] [stdout] 89 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 90 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | >::upload_part_raw(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | / unsafe fn upload_raw( [INFO] [stdout] 110 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 111 | | size: D::Size, [INFO] [stdout] 112 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 113 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | / slice::from_raw_parts_mut( [INFO] [stdout] 171 | | texels.as_mut_ptr() as *mut u8, [INFO] [stdout] 172 | | texels_nb * mem::size_of::(), [INFO] [stdout] 173 | | ), [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/webgl2/texture.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / unsafe fn get_raw_texels( [INFO] [stdout] 118 | | texture: &Self::TextureRepr, [INFO] [stdout] 119 | | size: D::Size, [INFO] [stdout] 120 | | ) -> Result, TextureError> [INFO] [stdout] 121 | | where [INFO] [stdout] 122 | | P::RawEncoding: Copy + Default, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::setup_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | / setup_texture::( [INFO] [stdout] 259 | | &mut state, [INFO] [stdout] 260 | | target, [INFO] [stdout] 261 | | size, [INFO] [stdout] ... | [INFO] [stdout] 264 | | sampler, [INFO] [stdout] 265 | | )?; [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/webgl2/texture.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / unsafe fn generic_new_texture( [INFO] [stdout] 234 | | webgl2: &mut WebGL2, [INFO] [stdout] 235 | | size: D::Size, [INFO] [stdout] 236 | | sampler: Sampler, [INFO] [stdout] ... | [INFO] [stdout] 241 | | P: Pixel, [INFO] [stdout] 242 | | Px: IntoArrayBuffer, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/webgl2/shader.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Stage { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | handle: WebGlShader, [INFO] [stdout] 24 | ty: StageType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/webgl2/state.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | } else if let Some(handle_) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | | ___________________________________| [INFO] [stdout] 306 | || .bound_uniform_buffers [INFO] [stdout] | ||____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 307 | | .iter_mut() [INFO] [stdout] 308 | | .find(|h| h.as_ref() == Some(buffer)) [INFO] [stdout] | |____________________________________________^ [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/webgl2/state.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | } [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] 305 ~ } else { match self [INFO] [stdout] 306 | .bound_uniform_buffers [INFO] [stdout] 307 | .iter_mut() [INFO] [stdout] 308 | .find(|h| h.as_ref() == Some(buffer)) [INFO] [stdout] 309 ~ { Some(handle_) => { [INFO] [stdout] 310 | *handle_ = None; [INFO] [stdout] 311 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 127 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 `luminance_webgl` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/slice.rs [INFO] [stderr] * src/webgl2/shader.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/slice.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | ($e:ident : $t:ty , len = $len: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/webgl2/shader.rs:376:6 [INFO] [stderr] | [INFO] [stderr] 376 | ($ty:expr_2021, $( ( $v:tt, $t:tt ) ),* $(,)?) => { [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/webgl2/shader.rs:477:28 [INFO] [stderr] | [INFO] [stderr] 477 | (vec arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [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/webgl2/shader.rs:569:28 [INFO] [stderr] | [INFO] [stderr] 569 | (mat arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [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/webgl2/shader.rs:597:24 [INFO] [stderr] | [INFO] [stderr] 597 | (mat $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [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] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:809:7 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/slice.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | ($e:ident : $t:ty , len = $len: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] 8 | ($e:ident : $t:ty , len = $len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/webgl2/shader.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | ($ty:expr, $( ( $v:tt, $t:tt ) ),* $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 376 | ($ty:expr_2021, $( ( $v:tt, $t:tt ) ),* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 809 | &BOOL_CACHE, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/webgl2/shader.rs:477:34 [INFO] [stdout] | [INFO] [stdout] 477 | (vec arr $q:ident $t:ty, $size:expr, $uty:tt, $f:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 477 | (vec arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/webgl2/shader.rs:569:34 [INFO] [stdout] | [INFO] [stdout] 569 | (mat arr $q:ident $t:ty, $size:expr, $uty:tt, $f:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 569 | (mat arr $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/webgl2/shader.rs:597:30 [INFO] [stdout] | [INFO] [stdout] 597 | (mat $q:ident $t:ty, $size:expr, $uty:tt, $f:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 597 | (mat $q:ident $t:ty, $size:expr_2021, $uty:tt, $f:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:809:7 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:833:7 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 833 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:861:7 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 861 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/webgl2/shader.rs:889:7 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 809 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:833:7 [INFO] [stderr] | [INFO] [stderr] 833 | &BOOL_CACHE, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 833 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:861:7 [INFO] [stderr] | [INFO] [stderr] 861 | &BOOL_CACHE, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 861 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/webgl2/shader.rs:889:7 [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 889 | &BOOL_CACHE, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | addr_of!(BOOL_CACHE), [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 4 warnings emitted [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[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/framebuffer.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let buffers = Uint32Array::view(&color_buffers); [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/webgl2/framebuffer.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | / unsafe fn new_framebuffer( [INFO] [stdout] 47 | | &mut self, [INFO] [stdout] 48 | | size: D::Size, [INFO] [stdout] 49 | | _: usize, [INFO] [stdout] ... | [INFO] [stdout] 53 | | CS: ColorSlot, [INFO] [stdout] 54 | | DS: DepthStencilSlot, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:243:3 [INFO] [stdout] | [INFO] [stdout] 243 | / unsafe fn render( [INFO] [stdout] 244 | | &mut self, [INFO] [stdout] 245 | | tess: &Self::TessRepr, [INFO] [stdout] 246 | | start_index: usize, [INFO] [stdout] 247 | | vert_nb: usize, [INFO] [stdout] 248 | | inst_nb: usize, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:260:3 [INFO] [stdout] | [INFO] [stdout] 260 | / unsafe fn render( [INFO] [stdout] 261 | | &mut self, [INFO] [stdout] 262 | | tess: &Self::TessRepr, [INFO] [stdout] 263 | | start_index: usize, [INFO] [stdout] 264 | | vert_nb: usize, [INFO] [stdout] 265 | | inst_nb: usize, [INFO] [stdout] 266 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::shader::Uniformable::ty` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | let ty = Self::ty(); [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/webgl2/shader.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 284 | / unsafe fn ask_uniform( [INFO] [stdout] 285 | | uniform_builder: &mut Self::UniformBuilderRepr, [INFO] [stdout] 286 | | name: &str, [INFO] [stdout] 287 | | ) -> Result, UniformWarning> [INFO] [stdout] 288 | | where [INFO] [stdout] 289 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::shader::Uniform::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | Uniform::new(-1) [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/webgl2/shader.rs:300:3 [INFO] [stdout] | [INFO] [stdout] 300 | / unsafe fn unbound(_: &mut Self::UniformBuilderRepr) -> Uniform [INFO] [stdout] 301 | | where [INFO] [stdout] 302 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:626:1 [INFO] [stdout] | [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:632:1 [INFO] [stdout] | [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:638:1 [INFO] [stdout] | [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:662:1 [INFO] [stdout] | [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:694:1 [INFO] [stdout] | [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:697:1 [INFO] [stdout] | [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:701:1 [INFO] [stdout] | [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:803:3 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe fn update(program: &mut Program, uniform: &'a Uniform>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | BOOL_CACHE.extend(value.iter().map(|x| *x as u32)); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 828 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:823:3 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe fn update( [INFO] [stdout] 824 | | program: &mut Program, [INFO] [stdout] 825 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 826 | | value: Self::Target, [INFO] [stdout] 827 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | BOOL_CACHE.extend(value.iter().flat_map(|x| [x[0] as u32, x[1] as u32])); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:852:5 [INFO] [stdout] | [INFO] [stdout] 852 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:847:3 [INFO] [stdout] | [INFO] [stdout] 847 | / unsafe fn update( [INFO] [stdout] 848 | | program: &mut Program, [INFO] [stdout] 849 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 850 | | value: Self::Target, [INFO] [stdout] 851 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 853 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:861:8 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 880 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | / unsafe fn update( [INFO] [stdout] 876 | | program: &mut Program, [INFO] [stdout] 877 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 878 | | value: Self::Target, [INFO] [stdout] 879 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:889:8 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn render( [INFO] [stdout] 192 | | tess: &Self::TessRepr, [INFO] [stdout] 193 | | start_index: usize, [INFO] [stdout] 194 | | vert_nb: usize, [INFO] [stdout] 195 | | inst_nb: usize, [INFO] [stdout] 196 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | / unsafe fn render( [INFO] [stdout] 370 | | tess: &Self::TessRepr, [INFO] [stdout] 371 | | start_index: usize, [INFO] [stdout] 372 | | vert_nb: usize, [INFO] [stdout] 373 | | inst_nb: usize, [INFO] [stdout] 374 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:389:3 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn vertices(tess: &'a mut Self::TessRepr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 399 | / unsafe fn vertices_mut( [INFO] [stdout] 400 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 401 | | ) -> Result { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 455 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / unsafe fn instances( [INFO] [stdout] 449 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 450 | | ) -> Result { [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:467:19 [INFO] [stdout] | [INFO] [stdout] 467 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:460:3 [INFO] [stdout] | [INFO] [stdout] 460 | / unsafe fn instances_mut( [INFO] [stdout] 461 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 462 | | ) -> Result { [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn new_texture( [INFO] [stdout] 50 | | &mut self, [INFO] [stdout] 51 | | size: D::Size, [INFO] [stdout] 52 | | sampler: Sampler, [INFO] [stdout] 53 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 54 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | / unsafe fn new_texture_raw( [INFO] [stdout] 59 | | &mut self, [INFO] [stdout] 60 | | size: D::Size, [INFO] [stdout] 61 | | sampler: Sampler, [INFO] [stdout] 62 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 63 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | >::upload_part(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | / unsafe fn upload( [INFO] [stdout] 87 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 88 | | size: D::Size, [INFO] [stdout] 89 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 90 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | >::upload_part_raw(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | / unsafe fn upload_raw( [INFO] [stdout] 110 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 111 | | size: D::Size, [INFO] [stdout] 112 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 113 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | / slice::from_raw_parts_mut( [INFO] [stdout] 171 | | texels.as_mut_ptr() as *mut u8, [INFO] [stdout] 172 | | texels_nb * mem::size_of::(), [INFO] [stdout] 173 | | ), [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/webgl2/texture.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / unsafe fn get_raw_texels( [INFO] [stdout] 118 | | texture: &Self::TextureRepr, [INFO] [stdout] 119 | | size: D::Size, [INFO] [stdout] 120 | | ) -> Result, TextureError> [INFO] [stdout] 121 | | where [INFO] [stdout] 122 | | P::RawEncoding: Copy + Default, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::setup_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | / setup_texture::( [INFO] [stdout] 259 | | &mut state, [INFO] [stdout] 260 | | target, [INFO] [stdout] 261 | | size, [INFO] [stdout] ... | [INFO] [stdout] 264 | | sampler, [INFO] [stdout] 265 | | )?; [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/webgl2/texture.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / unsafe fn generic_new_texture( [INFO] [stdout] 234 | | webgl2: &mut WebGL2, [INFO] [stdout] 235 | | size: D::Size, [INFO] [stdout] 236 | | sampler: Sampler, [INFO] [stdout] ... | [INFO] [stdout] 241 | | P: Pixel, [INFO] [stdout] 242 | | Px: IntoArrayBuffer, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/webgl2/shader.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Stage { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | handle: WebGlShader, [INFO] [stdout] 24 | ty: StageType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/webgl2/state.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | } else if let Some(handle_) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | | ___________________________________| [INFO] [stdout] 306 | || .bound_uniform_buffers [INFO] [stdout] | ||____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 307 | | .iter_mut() [INFO] [stdout] 308 | | .find(|h| h.as_ref() == Some(buffer)) [INFO] [stdout] | |____________________________________________^ [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/webgl2/state.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | } [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] 305 ~ } else { match self [INFO] [stdout] 306 | .bound_uniform_buffers [INFO] [stdout] 307 | .iter_mut() [INFO] [stdout] 308 | .find(|h| h.as_ref() == Some(buffer)) [INFO] [stdout] 309 ~ { Some(handle_) => { [INFO] [stdout] 310 | *handle_ = None; [INFO] [stdout] 311 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 127 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 8.33s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking luminance-webgl v0.6.1 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:809:7 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:833:7 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 833 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:861:7 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 861 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:889:7 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:809:7 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 809 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:833:7 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 833 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:861:7 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 861 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/webgl2/shader.rs:889:7 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | addr_of!(BOOL_CACHE), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 68 | impl_IntoArrayBuffer!(u8, js_sys::Uint8Array); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int8Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 69 | impl_IntoArrayBuffer!(i8, js_sys::Int8Array); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 70 | impl_IntoArrayBuffer!(u16, js_sys::Uint16Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int16Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | impl_IntoArrayBuffer!(i16, js_sys::Int16Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 72 | impl_IntoArrayBuffer!(u32, js_sys::Uint32Array); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Int32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 73 | impl_IntoArrayBuffer!(i32, js_sys::Int32Array); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 75 | impl_IntoArrayBuffer!(f32, js_sys::Float32Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | <$buffer>::view(texels).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * $n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_tuple_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | std::slice::from_raw_parts(texels.as_ptr() as *const $t, texels.len() * N); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/array_buffer.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn into_array_buffer(texels: &[Self]) -> js_sys::Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Float64Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/array_buffer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | <$buffer>::view(slice).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 76 | impl_IntoArrayBuffer!(f64, js_sys::Float64Array); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_array_IntoArrayBuffer` which comes from the expansion of the macro `impl_IntoArrayBuffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/framebuffer.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let buffers = Uint32Array::view(&color_buffers); [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/webgl2/framebuffer.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | / unsafe fn new_framebuffer( [INFO] [stdout] 47 | | &mut self, [INFO] [stdout] 48 | | size: D::Size, [INFO] [stdout] 49 | | _: usize, [INFO] [stdout] ... | [INFO] [stdout] 53 | | CS: ColorSlot, [INFO] [stdout] 54 | | DS: DepthStencilSlot, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `js_sys::Uint32Array::view` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/framebuffer.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let buffers = Uint32Array::view(&color_buffers); [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/webgl2/framebuffer.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | / unsafe fn new_framebuffer( [INFO] [stdout] 47 | | &mut self, [INFO] [stdout] 48 | | size: D::Size, [INFO] [stdout] 49 | | _: usize, [INFO] [stdout] ... | [INFO] [stdout] 53 | | CS: ColorSlot, [INFO] [stdout] 54 | | DS: DepthStencilSlot, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:243:3 [INFO] [stdout] | [INFO] [stdout] 243 | / unsafe fn render( [INFO] [stdout] 244 | | &mut self, [INFO] [stdout] 245 | | tess: &Self::TessRepr, [INFO] [stdout] 246 | | start_index: usize, [INFO] [stdout] 247 | | vert_nb: usize, [INFO] [stdout] 248 | | inst_nb: usize, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:260:3 [INFO] [stdout] | [INFO] [stdout] 260 | / unsafe fn render( [INFO] [stdout] 261 | | &mut self, [INFO] [stdout] 262 | | tess: &Self::TessRepr, [INFO] [stdout] 263 | | start_index: usize, [INFO] [stdout] 264 | | vert_nb: usize, [INFO] [stdout] 265 | | inst_nb: usize, [INFO] [stdout] 266 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:243:3 [INFO] [stdout] | [INFO] [stdout] 243 | / unsafe fn render( [INFO] [stdout] 244 | | &mut self, [INFO] [stdout] 245 | | tess: &Self::TessRepr, [INFO] [stdout] 246 | | start_index: usize, [INFO] [stdout] 247 | | vert_nb: usize, [INFO] [stdout] 248 | | inst_nb: usize, [INFO] [stdout] 249 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::tess::Tess::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/pipeline.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let _ = >::render(tess, start_index, vert_nb, inst_nb); [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/webgl2/pipeline.rs:260:3 [INFO] [stdout] | [INFO] [stdout] 260 | / unsafe fn render( [INFO] [stdout] 261 | | &mut self, [INFO] [stdout] 262 | | tess: &Self::TessRepr, [INFO] [stdout] 263 | | start_index: usize, [INFO] [stdout] 264 | | vert_nb: usize, [INFO] [stdout] 265 | | inst_nb: usize, [INFO] [stdout] 266 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::shader::Uniformable::ty` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | let ty = Self::ty(); [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/webgl2/shader.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 284 | / unsafe fn ask_uniform( [INFO] [stdout] 285 | | uniform_builder: &mut Self::UniformBuilderRepr, [INFO] [stdout] 286 | | name: &str, [INFO] [stdout] 287 | | ) -> Result, UniformWarning> [INFO] [stdout] 288 | | where [INFO] [stdout] 289 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::shader::Uniform::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | Uniform::new(-1) [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/webgl2/shader.rs:300:3 [INFO] [stdout] | [INFO] [stdout] 300 | / unsafe fn unbound(_: &mut Self::UniformBuilderRepr) -> Uniform [INFO] [stdout] 301 | | where [INFO] [stdout] 302 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::shader::Uniformable::ty` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | let ty = Self::ty(); [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/webgl2/shader.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 284 | / unsafe fn ask_uniform( [INFO] [stdout] 285 | | uniform_builder: &mut Self::UniformBuilderRepr, [INFO] [stdout] 286 | | name: &str, [INFO] [stdout] 287 | | ) -> Result, UniformWarning> [INFO] [stdout] 288 | | where [INFO] [stdout] 289 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::shader::Uniform::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | Uniform::new(-1) [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/webgl2/shader.rs:300:3 [INFO] [stdout] | [INFO] [stdout] 300 | / unsafe fn unbound(_: &mut Self::UniformBuilderRepr) -> Uniform [INFO] [stdout] 301 | | where [INFO] [stdout] 302 | | Self: for<'a> Uniformable<'a, T>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:626:1 [INFO] [stdout] | [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:632:1 [INFO] [stdout] | [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:626:1 [INFO] [stdout] | [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 626 | / impl_Uniformable!( [INFO] [stdout] 627 | | vec arr Vec2 i32, [INFO] [stdout] 628 | | 2, [INFO] [stdout] 629 | | IVec2, [INFO] [stdout] 630 | | uniform2iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 631 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:638:1 [INFO] [stdout] | [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:632:1 [INFO] [stdout] | [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 632 | / impl_Uniformable!( [INFO] [stdout] 633 | | vec arr Vec3 i32, [INFO] [stdout] 634 | | 3, [INFO] [stdout] 635 | | IVec3, [INFO] [stdout] 636 | | uniform3iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:638:1 [INFO] [stdout] | [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 638 | / impl_Uniformable!( [INFO] [stdout] 639 | | vec arr Vec4 i32, [INFO] [stdout] 640 | | 4, [INFO] [stdout] 641 | | IVec4, [INFO] [stdout] 642 | | uniform4iv_with_i32_array_and_src_offset_and_src_length [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 650 | / impl_Uniformable!( [INFO] [stdout] 651 | | vec arr Vec2 u32, [INFO] [stdout] 652 | | 2, [INFO] [stdout] 653 | | UIVec2, [INFO] [stdout] 654 | | uniform2uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 655 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 656 | / impl_Uniformable!( [INFO] [stdout] 657 | | vec arr Vec3 u32, [INFO] [stdout] 658 | | 3, [INFO] [stdout] 659 | | UIVec3, [INFO] [stdout] 660 | | uniform3uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 661 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:662:1 [INFO] [stdout] | [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:662:1 [INFO] [stdout] | [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 662 | / impl_Uniformable!( [INFO] [stdout] 663 | | vec arr Vec4 u32, [INFO] [stdout] 664 | | 4, [INFO] [stdout] 665 | | UIVec4, [INFO] [stdout] 666 | | uniform4uiv_with_u32_array_and_src_offset_and_src_length [INFO] [stdout] 667 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 674 | / impl_Uniformable!( [INFO] [stdout] 675 | | vec arr Vec2 f32, [INFO] [stdout] 676 | | 2, [INFO] [stdout] 677 | | Vec2, [INFO] [stdout] 678 | | uniform2fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 679 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:694:1 [INFO] [stdout] | [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 680 | / impl_Uniformable!( [INFO] [stdout] 681 | | vec arr Vec3 f32, [INFO] [stdout] 682 | | 3, [INFO] [stdout] 683 | | Vec3, [INFO] [stdout] 684 | | uniform3fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 685 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:686:1 [INFO] [stdout] | [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | / unsafe fn update( [INFO] [stdout] 488 | | program: &mut Program, [INFO] [stdout] 489 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 490 | | value: Self::Target, [INFO] [stdout] 491 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 686 | / impl_Uniformable!( [INFO] [stdout] 687 | | vec arr Vec4 f32, [INFO] [stdout] 688 | | 4, [INFO] [stdout] 689 | | Vec4, [INFO] [stdout] 690 | | uniform4fv_with_f32_array_and_src_offset_and_src_length [INFO] [stdout] 691 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:697:1 [INFO] [stdout] | [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:694:1 [INFO] [stdout] | [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 694 | impl_Uniformable!(mat Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 695 | impl_Uniformable!(mat arr Mat22 f32, 4, M22, uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:697:1 [INFO] [stdout] | [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | impl_Uniformable!(mat Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:701:1 [INFO] [stdout] | [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 698 | impl_Uniformable!(mat arr Mat33 f32, 9, M33, uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:607:7 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe fn update(program: &mut Program, uniform: &'a Uniform<$q<$t>>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | impl_Uniformable!(mat Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/slice.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | std::slice::from_raw_parts($e.as_ptr() as *const $t, $len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/webgl2/shader.rs:701:1 [INFO] [stdout] | [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | / unsafe fn update( [INFO] [stdout] 580 | | program: &mut Program, [INFO] [stdout] 581 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 582 | | value: Self::Target, [INFO] [stdout] 583 | | ) { [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 701 | impl_Uniformable!(mat arr Mat44 f32, 16, M44, uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `flatten_slice` which comes from the expansion of the macro `impl_Uniformable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:803:3 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe fn update(program: &mut Program, uniform: &'a Uniform>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | BOOL_CACHE.extend(value.iter().map(|x| *x as u32)); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 828 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:823:3 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe fn update( [INFO] [stdout] 824 | | program: &mut Program, [INFO] [stdout] 825 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 826 | | value: Self::Target, [INFO] [stdout] 827 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | BOOL_CACHE.extend(value.iter().flat_map(|x| [x[0] as u32, x[1] as u32])); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:852:5 [INFO] [stdout] | [INFO] [stdout] 852 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:847:3 [INFO] [stdout] | [INFO] [stdout] 847 | / unsafe fn update( [INFO] [stdout] 848 | | program: &mut Program, [INFO] [stdout] 849 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 850 | | value: Self::Target, [INFO] [stdout] 851 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 853 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:861:8 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:803:3 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe fn update(program: &mut Program, uniform: &'a Uniform>, value: Self::Target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | BOOL_CACHE.extend(value.iter().map(|x| *x as u32)); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 809 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 880 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | / unsafe fn update( [INFO] [stdout] 876 | | program: &mut Program, [INFO] [stdout] 877 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 878 | | value: Self::Target, [INFO] [stdout] 879 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:889:8 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:828:5 [INFO] [stdout] | [INFO] [stdout] 828 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:823:3 [INFO] [stdout] | [INFO] [stdout] 823 | / unsafe fn update( [INFO] [stdout] 824 | | program: &mut Program, [INFO] [stdout] 825 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 826 | | value: Self::Target, [INFO] [stdout] 827 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | BOOL_CACHE.extend(value.iter().flat_map(|x| [x[0] as u32, x[1] as u32])); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:852:5 [INFO] [stdout] | [INFO] [stdout] 852 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:847:3 [INFO] [stdout] | [INFO] [stdout] 847 | / unsafe fn update( [INFO] [stdout] 848 | | program: &mut Program, [INFO] [stdout] 849 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 850 | | value: Self::Target, [INFO] [stdout] 851 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 853 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:861:8 [INFO] [stdout] | [INFO] [stdout] 861 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 880 | BOOL_CACHE.clear(); [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/webgl2/shader.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | / unsafe fn update( [INFO] [stdout] 876 | | program: &mut Program, [INFO] [stdout] 877 | | uniform: &'a Uniform, N>>, [INFO] [stdout] 878 | | value: Self::Target, [INFO] [stdout] 879 | | ) { [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | BOOL_CACHE.extend( [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/shader.rs:889:8 [INFO] [stdout] | [INFO] [stdout] 889 | &BOOL_CACHE, [INFO] [stdout] | ^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn render( [INFO] [stdout] 192 | | tess: &Self::TessRepr, [INFO] [stdout] 193 | | start_index: usize, [INFO] [stdout] 194 | | vert_nb: usize, [INFO] [stdout] 195 | | inst_nb: usize, [INFO] [stdout] 196 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | / unsafe fn render( [INFO] [stdout] 370 | | tess: &Self::TessRepr, [INFO] [stdout] 371 | | start_index: usize, [INFO] [stdout] 372 | | vert_nb: usize, [INFO] [stdout] 373 | | inst_nb: usize, [INFO] [stdout] 374 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:389:3 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn vertices(tess: &'a mut Self::TessRepr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 399 | / unsafe fn vertices_mut( [INFO] [stdout] 400 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 401 | | ) -> Result { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 455 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / unsafe fn instances( [INFO] [stdout] 449 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 450 | | ) -> Result { [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:467:19 [INFO] [stdout] | [INFO] [stdout] 467 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:460:3 [INFO] [stdout] | [INFO] [stdout] 460 | / unsafe fn instances_mut( [INFO] [stdout] 461 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 462 | | ) -> Result { [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn new_texture( [INFO] [stdout] 50 | | &mut self, [INFO] [stdout] 51 | | size: D::Size, [INFO] [stdout] 52 | | sampler: Sampler, [INFO] [stdout] 53 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 54 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | / unsafe fn new_texture_raw( [INFO] [stdout] 59 | | &mut self, [INFO] [stdout] 60 | | size: D::Size, [INFO] [stdout] 61 | | sampler: Sampler, [INFO] [stdout] 62 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 63 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | >::upload_part(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | / unsafe fn upload( [INFO] [stdout] 87 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 88 | | size: D::Size, [INFO] [stdout] 89 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 90 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | >::upload_part_raw(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | / unsafe fn upload_raw( [INFO] [stdout] 110 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 111 | | size: D::Size, [INFO] [stdout] 112 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 113 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | / slice::from_raw_parts_mut( [INFO] [stdout] 171 | | texels.as_mut_ptr() as *mut u8, [INFO] [stdout] 172 | | texels_nb * mem::size_of::(), [INFO] [stdout] 173 | | ), [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/webgl2/texture.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / unsafe fn get_raw_texels( [INFO] [stdout] 118 | | texture: &Self::TextureRepr, [INFO] [stdout] 119 | | size: D::Size, [INFO] [stdout] 120 | | ) -> Result, TextureError> [INFO] [stdout] 121 | | where [INFO] [stdout] 122 | | P::RawEncoding: Copy + Default, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::setup_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | / setup_texture::( [INFO] [stdout] 259 | | &mut state, [INFO] [stdout] 260 | | target, [INFO] [stdout] 261 | | size, [INFO] [stdout] ... | [INFO] [stdout] 264 | | sampler, [INFO] [stdout] 265 | | )?; [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/webgl2/texture.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / unsafe fn generic_new_texture( [INFO] [stdout] 234 | | webgl2: &mut WebGL2, [INFO] [stdout] 235 | | size: D::Size, [INFO] [stdout] 236 | | sampler: Sampler, [INFO] [stdout] ... | [INFO] [stdout] 241 | | P: Pixel, [INFO] [stdout] 242 | | Px: IntoArrayBuffer, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | / unsafe fn render( [INFO] [stdout] 192 | | tess: &Self::TessRepr, [INFO] [stdout] 193 | | start_index: usize, [INFO] [stdout] 194 | | vert_nb: usize, [INFO] [stdout] 195 | | inst_nb: usize, [INFO] [stdout] 196 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::tess::TessRaw::::render` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | tess.raw.render(start_index, vert_nb, inst_nb) [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/webgl2/tess.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | / unsafe fn render( [INFO] [stdout] 370 | | tess: &Self::TessRepr, [INFO] [stdout] 371 | | start_index: usize, [INFO] [stdout] 372 | | vert_nb: usize, [INFO] [stdout] 373 | | inst_nb: usize, [INFO] [stdout] 374 | | ) -> Result<(), TessError> { [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:389:3 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn vertices(tess: &'a mut Self::TessRepr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 116 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 399 | / unsafe fn vertices_mut( [INFO] [stdout] 400 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 401 | | ) -> Result { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSlice::<'a, u8>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 455 | let slice = buffer.slice_buffer().transmute(); [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/webgl2/tess.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | / unsafe fn instances( [INFO] [stdout] 449 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 450 | | ) -> Result { [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::buffer::BufferSliceMut::<'a, u8, TARGET>::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/tess.rs:467:19 [INFO] [stdout] | [INFO] [stdout] 467 | let slice = buffer.slice_buffer_mut().transmute(); [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/webgl2/tess.rs:460:3 [INFO] [stdout] | [INFO] [stdout] 460 | / unsafe fn instances_mut( [INFO] [stdout] 461 | | tess: &'a mut Self::TessRepr, [INFO] [stdout] 462 | | ) -> Result { [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | / unsafe fn new_texture( [INFO] [stdout] 50 | | &mut self, [INFO] [stdout] 51 | | size: D::Size, [INFO] [stdout] 52 | | sampler: Sampler, [INFO] [stdout] 53 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 54 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `webgl2::texture::generic_new_texture` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | generic_new_texture::(self, size, sampler, texels) [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/webgl2/texture.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | / unsafe fn new_texture_raw( [INFO] [stdout] 59 | | &mut self, [INFO] [stdout] 60 | | size: D::Size, [INFO] [stdout] 61 | | sampler: Sampler, [INFO] [stdout] 62 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 63 | | ) -> Result { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luminance-webgl` (lib) due to 5 previous errors; 116 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | >::upload_part(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | / unsafe fn upload( [INFO] [stdout] 87 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 88 | | size: D::Size, [INFO] [stdout] 89 | | texels: TexelUpload<[P::Encoding]>, [INFO] [stdout] 90 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `luminance::backend::texture::Texture::upload_part_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | >::upload_part_raw(texture, D::ZERO_OFFSET, size, texels) [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/webgl2/texture.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | / unsafe fn upload_raw( [INFO] [stdout] 110 | | texture: &mut Self::TextureRepr, [INFO] [stdout] 111 | | size: D::Size, [INFO] [stdout] 112 | | texels: TexelUpload<[P::RawEncoding]>, [INFO] [stdout] 113 | | ) -> Result<(), TextureError> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/webgl2/texture.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | / slice::from_raw_parts_mut( [INFO] [stdout] 171 | | texels.as_mut_ptr() as *mut u8, [INFO] [stdout] 172 | | texels_nb * mem::size_of::(), [INFO] [stdout] 173 | | ), [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/webgl2/texture.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / unsafe fn get_raw_texels( [INFO] [stdout] 118 | | texture: &Self::TextureRepr, [INFO] [stdout] 119 | | size: D::Size, [INFO] [stdout] 120 | | ) -> Result, TextureError> [INFO] [stdout] 121 | | where [WARN] too many lines in the log, truncating it