[INFO] fetching crate kn0sys_ndarray 0.17.2... [INFO] testing kn0sys_ndarray-0.17.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate kn0sys_ndarray 0.17.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate kn0sys_ndarray 0.17.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kn0sys_ndarray 0.17.2 [INFO] tweaked toml for crates.io crate kn0sys_ndarray 0.17.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kn0sys_ndarray 0.17.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kn0sys_ndarray 0.17.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-tree v0.3.3 [INFO] [stderr] Downloaded cblas-sys v0.3.0 [INFO] [stderr] Downloaded defmac v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d763602214cc6a9b7a0b70f05521e2990d82dd1330e52dbbe610f0bd52ddcf58 [INFO] running `Command { std: "docker" "start" "-a" "d763602214cc6a9b7a0b70f05521e2990d82dd1330e52dbbe610f0bd52ddcf58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d763602214cc6a9b7a0b70f05521e2990d82dd1330e52dbbe610f0bd52ddcf58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d763602214cc6a9b7a0b70f05521e2990d82dd1330e52dbbe610f0bd52ddcf58", kill_on_drop: false }` [INFO] [stdout] d763602214cc6a9b7a0b70f05521e2990d82dd1330e52dbbe610f0bd52ddcf58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a7d495821b825147793400763f107c4abc5787caee59cfd954134e3d1704786 [INFO] running `Command { std: "docker" "start" "-a" "1a7d495821b825147793400763f107c4abc5787caee59cfd954134e3d1704786", kill_on_drop: false }` [INFO] [stderr] warning: profile package spec `blas-tests` in profile `test` did not match any packages [INFO] [stderr] warning: profile package spec `numeric-tests` in profile `test` did not match any packages [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling kn0sys_ndarray v0.17.2 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let (data, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:393:23 [INFO] [stdout] | [INFO] [stdout] 393 | new_ptr = new_ptr.offset(our_off); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn clone_with_ptr(&self, ptr: NonNull) -> (Self, NonNull) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | self.as_nonnull_mut().offset(our_off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:625:39 [INFO] [stdout] | [INFO] [stdout] 625 | let (new_view, ptr) = view.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | unsafe fn clone_with_ptr(&self, ptr: NonNull) -> (Self, NonNull) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:629:39 [INFO] [stdout] | [INFO] [stdout] 629 | let (new_data, ptr) = data.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_from_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:638:61 [INFO] [stdout] | [INFO] [stdout] 638 | (CowRepr::View(self_), CowRepr::View(other)) => self_.clone_from_with_ptr(other, ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_from_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:639:63 [INFO] [stdout] | [INFO] [stdout] 639 | (CowRepr::Owned(self_), CowRepr::Owned(other)) => self_.clone_from_with_ptr(other, ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:641:37 [INFO] [stdout] | [INFO] [stdout] 641 | let (cloned, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:646:37 [INFO] [stdout] | [INFO] [stdout] 646 | let (cloned, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_repr::OwnedRepr::::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | self.data_subst() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:728:5 [INFO] [stdout] | [INFO] [stdout] 728 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::sync::Arc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | OwnedArcRepr(Arc::from_raw(Arc::into_raw(self.0) as *const OwnedRepr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataSubst::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:791:50 [INFO] [stdout] | [INFO] [stdout] 791 | CowRepr::View(view) => CowRepr::View(view.data_subst()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:788:5 [INFO] [stdout] | [INFO] [stdout] 788 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_repr::OwnedRepr::::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:792:53 [INFO] [stdout] | [INFO] [stdout] 792 | CowRepr::Owned(owned) => CowRepr::Owned(owned.data_subst()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/extension/nonnull.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | NonNull::new_unchecked(ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/extension/nonnull.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) unsafe fn nonnull_debug_checked_from_ptr(ptr: *mut T) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/chunks.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | / ArrayView::new_(ptr, self.chunk.clone(), [INFO] [stdout] 23 | | self.inner_strides.clone()) [INFO] [stdout] | |_______________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/chunks.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | / ArrayViewMut::new_(ptr, [INFO] [stdout] 121 | | self.chunk.clone(), [INFO] [stdout] 122 | | self.inner_strides.clone()) [INFO] [stdout] | |__________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/lanes.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | ArrayView::new_(ptr, Ix1(self.inner_len), Ix1(self.inner_stride as Ix)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/lanes.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ArrayViewMut::new_(ptr, Ix1(self.inner_len), Ix1(self.inner_stride as Ix)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | / ArrayView::new_(ptr, self.window.clone(), [INFO] [stdout] 69 | | self.strides.clone()) [INFO] [stdout] | |_________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | ArrayView::new_(ptr, self.window.clone(), self.strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/windows.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | self.base.uget_ptr(&d) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/windows.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:899:9 [INFO] [stdout] | [INFO] [stdout] 899 | self.ptr.offset(index as isize * self.stride) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:890:5 [INFO] [stdout] | [INFO] [stdout] 890 | unsafe fn offset(&self, index: usize) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1225:9 [INFO] [stdout] | [INFO] [stdout] 1225 | ArrayView::new_(ptr, self.iter.inner_dim.clone(), self.iter.inner_strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::AxisIterCore::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | self.iter.offset(self.iter.index + i[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1228:5 [INFO] [stdout] | [INFO] [stdout] 1228 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | ArrayViewMut::new_(ptr, self.iter.inner_dim.clone(), self.iter.inner_strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1282:5 [INFO] [stdout] | [INFO] [stdout] 1282 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::AxisIterCore::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | self.iter.offset(self.iter.index + i[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1287:5 [INFO] [stdout] | [INFO] [stdout] 1287 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | self.offset(s * (index as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn stride_offset(self, s: Self::Stride, index: usize) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | self.offset(s * (index as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe fn stride_offset(self, s: Self::Stride, index: usize) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | &*ptr [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | &mut *ptr [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *const A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::OffsetTuple::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | let p = ptr.stride_offset(strides, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | / unsafe fn inner( [INFO] [stdout] 342 | | &self, mut acc: Acc, ptr: P::Ptr, strides: P::Stride, len: usize, function: &mut F, [INFO] [stdout] 343 | | ) -> FoldWhile [INFO] [stdout] 344 | | where [INFO] [stdout] 345 | | F: FnMut(Acc, P::Item) -> FoldWhile, [INFO] [stdout] 346 | | P: ZippableTuple, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ZippableTuple::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:351:45 [INFO] [stdout] | [INFO] [stdout] 351 | acc = fold_while!(function(acc, self.parts.as_ref(p))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | self.offset(index as isize * stride) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe fn stride_offset(self, stride: Self::Args, index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::Offset::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | ($(Offset::stride_offset($param, $q, index),)*) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | unsafe fn stride_offset(self, stride: Self::Args, index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `offset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::Offset::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | ($(Offset::stride_offset($param, $q, index),)*) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `offset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | ($($q.as_ref($p),)*) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | ($($p.uget_ptr(i), )*) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | ($($q.as_ref($p),)*) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | ($($p.uget_ptr(i), )*) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `partial::Partial::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:850:39 [INFO] [stdout] | [INFO] [stdout] 850 | let mut partial = Partial::new(output.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | / pub(crate) unsafe fn collect_with_partial(self, mut f: F) -> Partial [INFO] [stdout] 833 | | where F: FnMut($($p::Item,)* ) -> R [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | output_elem.write(f($($p),*)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_constructors::>::from_vec_dim_stride_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | Self::from_vec_dim_stride_unchecked(dim, strides, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | / pub unsafe fn from_shape_vec_unchecked(shape: Sh, v: Vec) -> Self [INFO] [stdout] 506 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | let ptr = nonnull_from_vec_data(&mut v).add(offset_from_low_addr_ptr_to_logical_ptr(&dim, &strides)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe fn from_vec_dim_stride_unchecked(dim: D, strides: D, mut v: Vec) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | ArrayBase::from_data_ptr(DataOwned::new(v), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | ArrayBase::from_data_ptr(DataOwned::new(v), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_constructors::>::from_vec_dim_stride_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | Self::from_vec_dim_stride_unchecked(dim, strides, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | / pub(crate) unsafe fn from_shape_trusted_iter_unchecked(shape: Sh, iter: I, map: F) -> Self [INFO] [stdout] 530 | | where [INFO] [stdout] 531 | | Sh: Into>, [INFO] [stdout] 532 | | I: TrustedIterator + ExactSizeIterator, [INFO] [stdout] 533 | | F: FnMut(I::Item) -> A, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:852:10 [INFO] [stdout] | [INFO] [stdout] 852 | &*self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:845:5 [INFO] [stdout] | [INFO] [stdout] 845 | / pub unsafe fn uget(&self, index: I) -> &A [INFO] [stdout] 846 | | where [INFO] [stdout] 847 | | S: Data, [INFO] [stdout] 848 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:852:11 [INFO] [stdout] | [INFO] [stdout] 852 | &*self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:878:14 [INFO] [stdout] | [INFO] [stdout] 878 | &mut *self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 870 | / pub unsafe fn uget_mut(&mut self, index: I) -> &mut A [INFO] [stdout] 871 | | where [INFO] [stdout] 872 | | S: DataMut, [INFO] [stdout] 873 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:878:15 [INFO] [stdout] | [INFO] [stdout] 878 | &mut *self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::swap` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | / pub unsafe fn uswap(&mut self, index1: I, index2: I) [INFO] [stdout] 921 | | where [INFO] [stdout] 922 | | S: DataMut, [INFO] [stdout] 923 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:24 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:56 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:1688:9 [INFO] [stdout] | [INFO] [stdout] 1688 | RawArrayViewMut::new(self.ptr, self.dim.clone(), self.strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:1685:5 [INFO] [stdout] | [INFO] [stdout] 1685 | / pub(crate) unsafe fn raw_view_mut_unchecked(&mut self) -> RawArrayViewMut [INFO] [stdout] 1686 | | where S: DataOwned [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:3072:5 [INFO] [stdout] | [INFO] [stdout] 3072 | (&*old_data as *const A as *const B).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:3067:1 [INFO] [stdout] | [INFO] [stdout] 3067 | unsafe fn unlimited_transmute(data: A) -> B [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:884:24 [INFO] [stdout] | [INFO] [stdout] 884 | let data_end_ptr = data_ptr.add(data_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_owned_array.rs:870:1 [INFO] [stdout] | [INFO] [stdout] 870 | / pub(crate) unsafe fn drop_unreachable_raw( [INFO] [stdout] 871 | | mut self_: RawArrayViewMut, data_ptr: NonNull, data_len: usize, [INFO] [stdout] 872 | | ) where D: Dimension [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::Baseiter::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | let mut iter = Baseiter::new(self_.ptr, self_.dim, self_.strides); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:922:37 [INFO] [stdout] | [INFO] [stdout] 922 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:923:24 [INFO] [stdout] | [INFO] [stdout] 923 | last_ptr = last_ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:927:20 [INFO] [stdout] | [INFO] [stdout] 927 | last_ptr = elem_ptr.add(inner_lane_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:931:33 [INFO] [stdout] | [INFO] [stdout] 931 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:932:20 [INFO] [stdout] | [INFO] [stdout] 932 | last_ptr = last_ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataSubst::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let data = S::data_subst(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_special_element_types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn assume_init(self) -> ArrayBase<>::Output, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ArrayBase::from_data_ptr(data, ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ArrayBase::from_data_ptr(data, ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:710:17 [INFO] [stdout] | [INFO] [stdout] 710 | elt.write(row.dot(x) * alpha); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/linalg/impl_linalg.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / unsafe fn general_mat_vec_mul_impl( [INFO] [stdout] 645 | | alpha: A, a: &ArrayBase, x: &ArrayBase, beta: A, y: RawArrayViewMut, [INFO] [stdout] 646 | | ) where [INFO] [stdout] 647 | | S1: Data, [INFO] [stdout] 648 | | S2: Data, [INFO] [stdout] 649 | | A: LinalgScalar, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 714 | *elt = *elt * beta + row.dot(x) * alpha; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/linalg/impl_linalg.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / unsafe fn general_mat_vec_mul_impl( [INFO] [stdout] 645 | | alpha: A, a: &ArrayBase, x: &ArrayBase, beta: A, y: RawArrayViewMut, [INFO] [stdout] 646 | | ) where [INFO] [stdout] 647 | | S1: Data, [INFO] [stdout] 648 | | S2: Data, [INFO] [stdout] 649 | | A: LinalgScalar, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:714:24 [INFO] [stdout] | [INFO] [stdout] 714 | *elt = *elt * beta + row.dot(x) * alpha; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | RawArrayView::from_shape_ptr(shape, ptr).deref_into_view() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *const A) -> Self [INFO] [stdout] 115 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::from_shape_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | RawArrayView::from_shape_ptr(shape, ptr).deref_into_view() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | RawArrayViewMut::from_shape_ptr(shape, ptr).deref_into_view_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *mut A) -> Self [INFO] [stdout] 218 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::from_shape_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | RawArrayViewMut::from_shape_ptr(shape, ptr).deref_into_view_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ArrayView::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ArrayView::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub(crate) unsafe fn new_(ptr: *const A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | ArrayViewMut::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | ArrayViewMut::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) unsafe fn new_(ptr: *mut A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/conversions.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | / self.into_raw_view_mut() [INFO] [stdout] 190 | | .cast::>() [INFO] [stdout] 191 | | .deref_into_view_mut() [INFO] [stdout] | |__________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/conversions.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) unsafe fn into_maybe_uninit(self) -> ArrayViewMut<'a, MaybeUninit, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | &*self.as_ptr().offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/indexing.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn uget(self, index: I) -> &'a A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | &*self.as_ptr().offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | &mut *self [INFO] [stdout] | ______________^ [INFO] [stdout] 215 | | .as_mut_ptr() [INFO] [stdout] 216 | | .offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | |_________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/indexing.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | unsafe fn uget(mut self, index: I) -> &'a mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | &mut *self [INFO] [stdout] | _______________^ [INFO] [stdout] 215 | | .as_mut_ptr() [INFO] [stdout] 216 | | .offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RawArrayView::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RawArrayView::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn new_(ptr: *const A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | RawArrayView::new_(ptr, dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *const A) -> Self [INFO] [stdout] 72 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | ArrayView::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe fn deref_into_view<'a>(self) -> ArrayView<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | RawArrayViewMut::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | RawArrayViewMut::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe fn new_(ptr: *mut A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | RawArrayViewMut::new_(ptr, dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *mut A) -> Self [INFO] [stdout] 288 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | ArrayView::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe fn deref_into_view<'a>(self) -> ArrayView<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | ArrayViewMut::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | pub unsafe fn deref_into_view_mut<'a>(self) -> ArrayViewMut<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 5.86s [INFO] running `Command { std: "docker" "inspect" "1a7d495821b825147793400763f107c4abc5787caee59cfd954134e3d1704786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7d495821b825147793400763f107c4abc5787caee59cfd954134e3d1704786", kill_on_drop: false }` [INFO] [stdout] 1a7d495821b825147793400763f107c4abc5787caee59cfd954134e3d1704786 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6219c71249c9241c1ed448fbd0ad8e9dcdffd7631b2767373bd9b9a4ed1e4090 [INFO] running `Command { std: "docker" "start" "-a" "6219c71249c9241c1ed448fbd0ad8e9dcdffd7631b2767373bd9b9a4ed1e4090", kill_on_drop: false }` [INFO] [stderr] warning: profile package spec `blas-tests` in profile `test` did not match any packages [INFO] [stderr] warning: profile package spec `numeric-tests` in profile `test` did not match any packages [INFO] [stderr] Compiling defmac v0.2.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let (data, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:393:23 [INFO] [stdout] | [INFO] [stdout] 393 | new_ptr = new_ptr.offset(our_off); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn clone_with_ptr(&self, ptr: NonNull) -> (Self, NonNull) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | self.as_nonnull_mut().offset(our_off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:625:39 [INFO] [stdout] | [INFO] [stdout] 625 | let (new_view, ptr) = view.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | unsafe fn clone_with_ptr(&self, ptr: NonNull) -> (Self, NonNull) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:629:39 [INFO] [stdout] | [INFO] [stdout] 629 | let (new_data, ptr) = data.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_from_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:638:61 [INFO] [stdout] | [INFO] [stdout] 638 | (CowRepr::View(self_), CowRepr::View(other)) => self_.clone_from_with_ptr(other, ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_from_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:639:63 [INFO] [stdout] | [INFO] [stdout] 639 | (CowRepr::Owned(self_), CowRepr::Owned(other)) => self_.clone_from_with_ptr(other, ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:641:37 [INFO] [stdout] | [INFO] [stdout] 641 | let (cloned, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:646:37 [INFO] [stdout] | [INFO] [stdout] 646 | let (cloned, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_repr::OwnedRepr::::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | self.data_subst() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:728:5 [INFO] [stdout] | [INFO] [stdout] 728 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::sync::Arc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | OwnedArcRepr(Arc::from_raw(Arc::into_raw(self.0) as *const OwnedRepr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataSubst::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:791:50 [INFO] [stdout] | [INFO] [stdout] 791 | CowRepr::View(view) => CowRepr::View(view.data_subst()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:788:5 [INFO] [stdout] | [INFO] [stdout] 788 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_repr::OwnedRepr::::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:792:53 [INFO] [stdout] | [INFO] [stdout] 792 | CowRepr::Owned(owned) => CowRepr::Owned(owned.data_subst()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/extension/nonnull.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | NonNull::new_unchecked(ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/extension/nonnull.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) unsafe fn nonnull_debug_checked_from_ptr(ptr: *mut T) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/chunks.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | / ArrayView::new_(ptr, self.chunk.clone(), [INFO] [stdout] 23 | | self.inner_strides.clone()) [INFO] [stdout] | |_______________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/chunks.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | / ArrayViewMut::new_(ptr, [INFO] [stdout] 121 | | self.chunk.clone(), [INFO] [stdout] 122 | | self.inner_strides.clone()) [INFO] [stdout] | |__________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/lanes.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | ArrayView::new_(ptr, Ix1(self.inner_len), Ix1(self.inner_stride as Ix)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/lanes.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ArrayViewMut::new_(ptr, Ix1(self.inner_len), Ix1(self.inner_stride as Ix)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | / ArrayView::new_(ptr, self.window.clone(), [INFO] [stdout] 69 | | self.strides.clone()) [INFO] [stdout] | |_________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | ArrayView::new_(ptr, self.window.clone(), self.strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/windows.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | self.base.uget_ptr(&d) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/windows.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:899:9 [INFO] [stdout] | [INFO] [stdout] 899 | self.ptr.offset(index as isize * self.stride) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:890:5 [INFO] [stdout] | [INFO] [stdout] 890 | unsafe fn offset(&self, index: usize) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1225:9 [INFO] [stdout] | [INFO] [stdout] 1225 | ArrayView::new_(ptr, self.iter.inner_dim.clone(), self.iter.inner_strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::AxisIterCore::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | self.iter.offset(self.iter.index + i[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1228:5 [INFO] [stdout] | [INFO] [stdout] 1228 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | ArrayViewMut::new_(ptr, self.iter.inner_dim.clone(), self.iter.inner_strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1282:5 [INFO] [stdout] | [INFO] [stdout] 1282 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::AxisIterCore::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | self.iter.offset(self.iter.index + i[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1287:5 [INFO] [stdout] | [INFO] [stdout] 1287 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | self.offset(s * (index as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn stride_offset(self, s: Self::Stride, index: usize) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | self.offset(s * (index as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe fn stride_offset(self, s: Self::Stride, index: usize) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | &*ptr [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | &mut *ptr [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *const A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::OffsetTuple::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | let p = ptr.stride_offset(strides, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | / unsafe fn inner( [INFO] [stdout] 342 | | &self, mut acc: Acc, ptr: P::Ptr, strides: P::Stride, len: usize, function: &mut F, [INFO] [stdout] 343 | | ) -> FoldWhile [INFO] [stdout] 344 | | where [INFO] [stdout] 345 | | F: FnMut(Acc, P::Item) -> FoldWhile, [INFO] [stdout] 346 | | P: ZippableTuple, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ZippableTuple::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:351:45 [INFO] [stdout] | [INFO] [stdout] 351 | acc = fold_while!(function(acc, self.parts.as_ref(p))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | self.offset(index as isize * stride) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe fn stride_offset(self, stride: Self::Args, index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::Offset::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | ($(Offset::stride_offset($param, $q, index),)*) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | unsafe fn stride_offset(self, stride: Self::Args, index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `offset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::Offset::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | ($(Offset::stride_offset($param, $q, index),)*) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `offset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | ($($q.as_ref($p),)*) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | ($($p.uget_ptr(i), )*) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | ($($q.as_ref($p),)*) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | ($($p.uget_ptr(i), )*) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `partial::Partial::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:850:39 [INFO] [stdout] | [INFO] [stdout] 850 | let mut partial = Partial::new(output.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | / pub(crate) unsafe fn collect_with_partial(self, mut f: F) -> Partial [INFO] [stdout] 833 | | where F: FnMut($($p::Item,)* ) -> R [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | output_elem.write(f($($p),*)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_constructors::>::from_vec_dim_stride_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | Self::from_vec_dim_stride_unchecked(dim, strides, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | / pub unsafe fn from_shape_vec_unchecked(shape: Sh, v: Vec) -> Self [INFO] [stdout] 506 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | let ptr = nonnull_from_vec_data(&mut v).add(offset_from_low_addr_ptr_to_logical_ptr(&dim, &strides)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe fn from_vec_dim_stride_unchecked(dim: D, strides: D, mut v: Vec) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | ArrayBase::from_data_ptr(DataOwned::new(v), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | ArrayBase::from_data_ptr(DataOwned::new(v), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_constructors::>::from_vec_dim_stride_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | Self::from_vec_dim_stride_unchecked(dim, strides, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | / pub(crate) unsafe fn from_shape_trusted_iter_unchecked(shape: Sh, iter: I, map: F) -> Self [INFO] [stdout] 530 | | where [INFO] [stdout] 531 | | Sh: Into>, [INFO] [stdout] 532 | | I: TrustedIterator + ExactSizeIterator, [INFO] [stdout] 533 | | F: FnMut(I::Item) -> A, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:852:10 [INFO] [stdout] | [INFO] [stdout] 852 | &*self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:845:5 [INFO] [stdout] | [INFO] [stdout] 845 | / pub unsafe fn uget(&self, index: I) -> &A [INFO] [stdout] 846 | | where [INFO] [stdout] 847 | | S: Data, [INFO] [stdout] 848 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:852:11 [INFO] [stdout] | [INFO] [stdout] 852 | &*self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:878:14 [INFO] [stdout] | [INFO] [stdout] 878 | &mut *self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 870 | / pub unsafe fn uget_mut(&mut self, index: I) -> &mut A [INFO] [stdout] 871 | | where [INFO] [stdout] 872 | | S: DataMut, [INFO] [stdout] 873 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:878:15 [INFO] [stdout] | [INFO] [stdout] 878 | &mut *self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::swap` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | / pub unsafe fn uswap(&mut self, index1: I, index2: I) [INFO] [stdout] 921 | | where [INFO] [stdout] 922 | | S: DataMut, [INFO] [stdout] 923 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:24 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:56 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:1688:9 [INFO] [stdout] | [INFO] [stdout] 1688 | RawArrayViewMut::new(self.ptr, self.dim.clone(), self.strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:1685:5 [INFO] [stdout] | [INFO] [stdout] 1685 | / pub(crate) unsafe fn raw_view_mut_unchecked(&mut self) -> RawArrayViewMut [INFO] [stdout] 1686 | | where S: DataOwned [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:3072:5 [INFO] [stdout] | [INFO] [stdout] 3072 | (&*old_data as *const A as *const B).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:3067:1 [INFO] [stdout] | [INFO] [stdout] 3067 | unsafe fn unlimited_transmute(data: A) -> B [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:884:24 [INFO] [stdout] | [INFO] [stdout] 884 | let data_end_ptr = data_ptr.add(data_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_owned_array.rs:870:1 [INFO] [stdout] | [INFO] [stdout] 870 | / pub(crate) unsafe fn drop_unreachable_raw( [INFO] [stdout] 871 | | mut self_: RawArrayViewMut, data_ptr: NonNull, data_len: usize, [INFO] [stdout] 872 | | ) where D: Dimension [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::Baseiter::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | let mut iter = Baseiter::new(self_.ptr, self_.dim, self_.strides); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:922:37 [INFO] [stdout] | [INFO] [stdout] 922 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:923:24 [INFO] [stdout] | [INFO] [stdout] 923 | last_ptr = last_ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:927:20 [INFO] [stdout] | [INFO] [stdout] 927 | last_ptr = elem_ptr.add(inner_lane_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:931:33 [INFO] [stdout] | [INFO] [stdout] 931 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:932:20 [INFO] [stdout] | [INFO] [stdout] 932 | last_ptr = last_ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataSubst::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let data = S::data_subst(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_special_element_types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn assume_init(self) -> ArrayBase<>::Output, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ArrayBase::from_data_ptr(data, ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ArrayBase::from_data_ptr(data, ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:710:17 [INFO] [stdout] | [INFO] [stdout] 710 | elt.write(row.dot(x) * alpha); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/linalg/impl_linalg.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / unsafe fn general_mat_vec_mul_impl( [INFO] [stdout] 645 | | alpha: A, a: &ArrayBase, x: &ArrayBase, beta: A, y: RawArrayViewMut, [INFO] [stdout] 646 | | ) where [INFO] [stdout] 647 | | S1: Data, [INFO] [stdout] 648 | | S2: Data, [INFO] [stdout] 649 | | A: LinalgScalar, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 714 | *elt = *elt * beta + row.dot(x) * alpha; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/linalg/impl_linalg.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / unsafe fn general_mat_vec_mul_impl( [INFO] [stdout] 645 | | alpha: A, a: &ArrayBase, x: &ArrayBase, beta: A, y: RawArrayViewMut, [INFO] [stdout] 646 | | ) where [INFO] [stdout] 647 | | S1: Data, [INFO] [stdout] 648 | | S2: Data, [INFO] [stdout] 649 | | A: LinalgScalar, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:714:24 [INFO] [stdout] | [INFO] [stdout] 714 | *elt = *elt * beta + row.dot(x) * alpha; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | RawArrayView::from_shape_ptr(shape, ptr).deref_into_view() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *const A) -> Self [INFO] [stdout] 115 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::from_shape_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | RawArrayView::from_shape_ptr(shape, ptr).deref_into_view() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | RawArrayViewMut::from_shape_ptr(shape, ptr).deref_into_view_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *mut A) -> Self [INFO] [stdout] 218 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::from_shape_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | RawArrayViewMut::from_shape_ptr(shape, ptr).deref_into_view_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ArrayView::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ArrayView::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub(crate) unsafe fn new_(ptr: *const A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | ArrayViewMut::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | ArrayViewMut::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) unsafe fn new_(ptr: *mut A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/conversions.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | / self.into_raw_view_mut() [INFO] [stdout] 190 | | .cast::>() [INFO] [stdout] 191 | | .deref_into_view_mut() [INFO] [stdout] | |__________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/conversions.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) unsafe fn into_maybe_uninit(self) -> ArrayViewMut<'a, MaybeUninit, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | &*self.as_ptr().offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/indexing.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn uget(self, index: I) -> &'a A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | &*self.as_ptr().offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | &mut *self [INFO] [stdout] | ______________^ [INFO] [stdout] 215 | | .as_mut_ptr() [INFO] [stdout] 216 | | .offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | |_________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/indexing.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | unsafe fn uget(mut self, index: I) -> &'a mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | &mut *self [INFO] [stdout] | _______________^ [INFO] [stdout] 215 | | .as_mut_ptr() [INFO] [stdout] 216 | | .offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RawArrayView::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RawArrayView::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn new_(ptr: *const A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | RawArrayView::new_(ptr, dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *const A) -> Self [INFO] [stdout] 72 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | ArrayView::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe fn deref_into_view<'a>(self) -> ArrayView<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | RawArrayViewMut::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | RawArrayViewMut::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe fn new_(ptr: *mut A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | RawArrayViewMut::new_(ptr, dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *mut A) -> Self [INFO] [stdout] 288 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | ArrayView::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe fn deref_into_view<'a>(self) -> ArrayView<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | ArrayViewMut::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | pub unsafe fn deref_into_view_mut<'a>(self) -> ArrayViewMut<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Compiling kn0sys_ndarray v0.17.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndarray_gen` [INFO] [stdout] --> tests/oper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ndarray_gen::array_builder::ArrayBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ndarray_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndarray_gen`, use `cargo add ndarray_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> tests/oper.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/bounds_check_elim.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 37 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/bounds_check_elim.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 47 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/bounds_check_elim.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 57 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/bounds_check_elim.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 68 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/bounds_check_elim.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 78 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/bounds_check_elim.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 90 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/bounds_check_elim.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 102 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (example "bounds_check_elim") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `Dimension` and `IxDyn` [INFO] [stdout] --> src/dimension/mod.rs:805:22 [INFO] [stdout] | [INFO] [stdout] 805 | use crate::{Dim, Dimension, Ix0, Ix1, Ix2, Ix3, IxDyn, NewAxis}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kn0sys_ndarray` (test "oper") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let (data, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:393:23 [INFO] [stdout] | [INFO] [stdout] 393 | new_ptr = new_ptr.offset(our_off); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn clone_with_ptr(&self, ptr: NonNull) -> (Self, NonNull) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | self.as_nonnull_mut().offset(our_off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:625:39 [INFO] [stdout] | [INFO] [stdout] 625 | let (new_view, ptr) = view.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | unsafe fn clone_with_ptr(&self, ptr: NonNull) -> (Self, NonNull) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:629:39 [INFO] [stdout] | [INFO] [stdout] 629 | let (new_data, ptr) = data.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_from_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:638:61 [INFO] [stdout] | [INFO] [stdout] 638 | (CowRepr::View(self_), CowRepr::View(other)) => self_.clone_from_with_ptr(other, ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | unsafe fn clone_from_with_ptr(&mut self, other: &Self, ptr: NonNull) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_from_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:639:63 [INFO] [stdout] | [INFO] [stdout] 639 | (CowRepr::Owned(self_), CowRepr::Owned(other)) => self_.clone_from_with_ptr(other, ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:641:37 [INFO] [stdout] | [INFO] [stdout] 641 | let (cloned, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataClone::clone_with_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:646:37 [INFO] [stdout] | [INFO] [stdout] 646 | let (cloned, ptr) = other.clone_with_ptr(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_repr::OwnedRepr::::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | self.data_subst() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:728:5 [INFO] [stdout] | [INFO] [stdout] 728 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::sync::Arc::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | OwnedArcRepr(Arc::from_raw(Arc::into_raw(self.0) as *const OwnedRepr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataSubst::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:791:50 [INFO] [stdout] | [INFO] [stdout] 791 | CowRepr::View(view) => CowRepr::View(view.data_subst()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/data_traits.rs:788:5 [INFO] [stdout] | [INFO] [stdout] 788 | unsafe fn data_subst(self) -> Self::Output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_repr::OwnedRepr::::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/data_traits.rs:792:53 [INFO] [stdout] | [INFO] [stdout] 792 | CowRepr::Owned(owned) => CowRepr::Owned(owned.data_subst()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/extension/nonnull.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | NonNull::new_unchecked(ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/extension/nonnull.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) unsafe fn nonnull_debug_checked_from_ptr(ptr: *mut T) -> NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/chunks.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | / ArrayView::new_(ptr, self.chunk.clone(), [INFO] [stdout] 23 | | self.inner_strides.clone()) [INFO] [stdout] | |_______________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | ExactChunks { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/chunks.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | / ArrayViewMut::new_(ptr, [INFO] [stdout] 121 | | self.chunk.clone(), [INFO] [stdout] 122 | | self.inner_strides.clone()) [INFO] [stdout] | |__________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/chunks.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl_ndproducer! { [INFO] [stdout] 107 | | ['a, A, D: Dimension] [INFO] [stdout] 108 | | [Clone => ] [INFO] [stdout] 109 | | ExactChunksMut { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/lanes.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | ArrayView::new_(ptr, Ix1(self.inner_len), Ix1(self.inner_stride as Ix)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / impl_ndproducer! { [INFO] [stdout] 9 | | ['a, A, D: Dimension] [INFO] [stdout] 10 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 11 | | Lanes { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/lanes.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ArrayViewMut::new_(ptr, Ix1(self.inner_len), Ix1(self.inner_stride as Ix)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/lanes.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_ndproducer! { [INFO] [stdout] 62 | | ['a, A, D: Dimension] [INFO] [stdout] 63 | | [Clone =>] [INFO] [stdout] 64 | | LanesMut { [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | / ArrayView::new_(ptr, self.window.clone(), [INFO] [stdout] 69 | | self.strides.clone()) [INFO] [stdout] | |_________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe fn as_ref(&$self_, $ptr: *mut A) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/macros.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | self.$base.uget_ptr(i) as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/macros.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/iterators/windows.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl_ndproducer! { [INFO] [stdout] 55 | | ['a, A, D: Dimension] [INFO] [stdout] 56 | | [Clone => 'a, A, D: Clone ] [INFO] [stdout] 57 | | Windows { [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_ndproducer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | ArrayView::new_(ptr, self.window.clone(), self.strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/windows.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/windows.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | self.base.uget_ptr(&d) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/windows.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:899:9 [INFO] [stdout] | [INFO] [stdout] 899 | self.ptr.offset(index as isize * self.stride) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:890:5 [INFO] [stdout] | [INFO] [stdout] 890 | unsafe fn offset(&self, index: usize) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1225:9 [INFO] [stdout] | [INFO] [stdout] 1225 | ArrayView::new_(ptr, self.iter.inner_dim.clone(), self.iter.inner_strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::AxisIterCore::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | self.iter.offset(self.iter.index + i[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1228:5 [INFO] [stdout] | [INFO] [stdout] 1228 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | ArrayViewMut::new_(ptr, self.iter.inner_dim.clone(), self.iter.inner_strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1282:5 [INFO] [stdout] | [INFO] [stdout] 1282 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::AxisIterCore::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterators/mod.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | self.iter.offset(self.iter.index + i[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/iterators/mod.rs:1287:5 [INFO] [stdout] | [INFO] [stdout] 1287 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | self.offset(s * (index as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe fn stride_offset(self, s: Self::Stride, index: usize) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | self.offset(s * (index as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe fn stride_offset(self, s: Self::Stride, index: usize) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | &*ptr [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | &mut *ptr [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | unsafe fn as_ref(&self, ptr: *mut A) -> Self::Item [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *const A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/ndproducer.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | self.ptr.as_ptr().offset(i.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/ndproducer.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> *mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::OffsetTuple::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | let p = ptr.stride_offset(strides, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | / unsafe fn inner( [INFO] [stdout] 342 | | &self, mut acc: Acc, ptr: P::Ptr, strides: P::Stride, len: usize, function: &mut F, [INFO] [stdout] 343 | | ) -> FoldWhile [INFO] [stdout] 344 | | where [INFO] [stdout] 345 | | F: FnMut(Acc, P::Item) -> FoldWhile, [INFO] [stdout] 346 | | P: ZippableTuple, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ZippableTuple::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:351:45 [INFO] [stdout] | [INFO] [stdout] 351 | acc = fold_while!(function(acc, self.parts.as_ref(p))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | self.offset(index as isize * stride) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | unsafe fn stride_offset(self, stride: Self::Args, index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::Offset::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | ($(Offset::stride_offset($param, $q, index),)*) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | unsafe fn stride_offset(self, stride: Self::Args, index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `offset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::Offset::stride_offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | ($(Offset::stride_offset($param, $q, index),)*) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 498 | / offset_impl! { [INFO] [stdout] 499 | | [A ][ a], [INFO] [stdout] 500 | | [A B][ a b], [INFO] [stdout] 501 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 504 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 505 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `offset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | ($($q.as_ref($p),)*) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | unsafe fn as_ref(&self, ptr: Self::Ptr) -> Self::Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | ($($p.uget_ptr(i), )*) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | unsafe fn uget_ptr(&self, i: &Self::Dim) -> Self::Ptr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | ($($q.as_ref($p),)*) [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `zip::ndproducer::NdProducer::uget_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | ($($p.uget_ptr(i), )*) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 557 | / zipt_impl! { [INFO] [stdout] 558 | | [A ][ a], [INFO] [stdout] 559 | | [A B][ a b], [INFO] [stdout] 560 | | [A B C][ a b c], [INFO] [stdout] ... | [INFO] [stdout] 563 | | [A B C D E F][ a b c d e f], [INFO] [stdout] 564 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `zipt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `partial::Partial::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:850:39 [INFO] [stdout] | [INFO] [stdout] 850 | let mut partial = Partial::new(output.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/zip/mod.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | / pub(crate) unsafe fn collect_with_partial(self, mut f: F) -> Partial [INFO] [stdout] 833 | | where F: FnMut($($p::Item,)* ) -> R [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip/mod.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | output_elem.write(f($($p),*)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 908 | / map_impl! { [INFO] [stdout] 909 | | [true P1], [INFO] [stdout] 910 | | [true P1 P2], [INFO] [stdout] 911 | | [true P1 P2 P3], [INFO] [stdout] ... | [INFO] [stdout] 914 | | [false P1 P2 P3 P4 P5 P6], [INFO] [stdout] 915 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_constructors::>::from_vec_dim_stride_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | Self::from_vec_dim_stride_unchecked(dim, strides, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | / pub unsafe fn from_shape_vec_unchecked(shape: Sh, v: Vec) -> Self [INFO] [stdout] 506 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | let ptr = nonnull_from_vec_data(&mut v).add(offset_from_low_addr_ptr_to_logical_ptr(&dim, &strides)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe fn from_vec_dim_stride_unchecked(dim: D, strides: D, mut v: Vec) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | ArrayBase::from_data_ptr(DataOwned::new(v), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | ArrayBase::from_data_ptr(DataOwned::new(v), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_constructors::>::from_vec_dim_stride_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_constructors.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | Self::from_vec_dim_stride_unchecked(dim, strides, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_constructors.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | / pub(crate) unsafe fn from_shape_trusted_iter_unchecked(shape: Sh, iter: I, map: F) -> Self [INFO] [stdout] 530 | | where [INFO] [stdout] 531 | | Sh: Into>, [INFO] [stdout] 532 | | I: TrustedIterator + ExactSizeIterator, [INFO] [stdout] 533 | | F: FnMut(I::Item) -> A, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:852:10 [INFO] [stdout] | [INFO] [stdout] 852 | &*self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:845:5 [INFO] [stdout] | [INFO] [stdout] 845 | / pub unsafe fn uget(&self, index: I) -> &A [INFO] [stdout] 846 | | where [INFO] [stdout] 847 | | S: Data, [INFO] [stdout] 848 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:852:11 [INFO] [stdout] | [INFO] [stdout] 852 | &*self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:878:14 [INFO] [stdout] | [INFO] [stdout] 878 | &mut *self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 870 | / pub unsafe fn uget_mut(&mut self, index: I) -> &mut A [INFO] [stdout] 871 | | where [INFO] [stdout] 872 | | S: DataMut, [INFO] [stdout] 873 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:878:15 [INFO] [stdout] | [INFO] [stdout] 878 | &mut *self.ptr.as_ptr().offset(off) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::swap` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | / pub unsafe fn uswap(&mut self, index1: I, index2: I) [INFO] [stdout] 921 | | where [INFO] [stdout] 922 | | S: DataMut, [INFO] [stdout] 923 | | I: NdIndex, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:24 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:930:56 [INFO] [stdout] | [INFO] [stdout] 930 | std::ptr::swap(self.ptr.as_ptr().offset(off1), self.ptr.as_ptr().offset(off2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:1688:9 [INFO] [stdout] | [INFO] [stdout] 1688 | RawArrayViewMut::new(self.ptr, self.dim.clone(), self.strides.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:1685:5 [INFO] [stdout] | [INFO] [stdout] 1685 | / pub(crate) unsafe fn raw_view_mut_unchecked(&mut self) -> RawArrayViewMut [INFO] [stdout] 1686 | | where S: DataOwned [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_methods.rs:3072:5 [INFO] [stdout] | [INFO] [stdout] 3072 | (&*old_data as *const A as *const B).read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_methods.rs:3067:1 [INFO] [stdout] | [INFO] [stdout] 3067 | unsafe fn unlimited_transmute(data: A) -> B [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:884:24 [INFO] [stdout] | [INFO] [stdout] 884 | let data_end_ptr = data_ptr.add(data_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_owned_array.rs:870:1 [INFO] [stdout] | [INFO] [stdout] 870 | / pub(crate) unsafe fn drop_unreachable_raw( [INFO] [stdout] 871 | | mut self_: RawArrayViewMut, data_ptr: NonNull, data_len: usize, [INFO] [stdout] 872 | | ) where D: Dimension [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `iterators::Baseiter::::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | let mut iter = Baseiter::new(self_.ptr, self_.dim, self_.strides); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:922:37 [INFO] [stdout] | [INFO] [stdout] 922 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:923:24 [INFO] [stdout] | [INFO] [stdout] 923 | last_ptr = last_ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:927:20 [INFO] [stdout] | [INFO] [stdout] 927 | last_ptr = elem_ptr.add(inner_lane_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::drop_in_place` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::as_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:931:33 [INFO] [stdout] | [INFO] [stdout] 931 | std::ptr::drop_in_place(last_ptr.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_owned_array.rs:932:20 [INFO] [stdout] | [INFO] [stdout] 932 | last_ptr = last_ptr.add(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `data_traits::RawDataSubst::data_subst` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let data = S::data_subst(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_special_element_types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn assume_init(self) -> ArrayBase<>::Output, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ArrayBase::from_data_ptr(data, ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_special_element_types.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ArrayBase::from_data_ptr(data, ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:710:17 [INFO] [stdout] | [INFO] [stdout] 710 | elt.write(row.dot(x) * alpha); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/linalg/impl_linalg.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / unsafe fn general_mat_vec_mul_impl( [INFO] [stdout] 645 | | alpha: A, a: &ArrayBase, x: &ArrayBase, beta: A, y: RawArrayViewMut, [INFO] [stdout] 646 | | ) where [INFO] [stdout] 647 | | S1: Data, [INFO] [stdout] 648 | | S2: Data, [INFO] [stdout] 649 | | A: LinalgScalar, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 714 | *elt = *elt * beta + row.dot(x) * alpha; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/linalg/impl_linalg.rs:644:1 [INFO] [stdout] | [INFO] [stdout] 644 | / unsafe fn general_mat_vec_mul_impl( [INFO] [stdout] 645 | | alpha: A, a: &ArrayBase, x: &ArrayBase, beta: A, y: RawArrayViewMut, [INFO] [stdout] 646 | | ) where [INFO] [stdout] 647 | | S1: Data, [INFO] [stdout] 648 | | S2: Data, [INFO] [stdout] 649 | | A: LinalgScalar, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linalg/impl_linalg.rs:714:24 [INFO] [stdout] | [INFO] [stdout] 714 | *elt = *elt * beta + row.dot(x) * alpha; [INFO] [stdout] | ^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | RawArrayView::from_shape_ptr(shape, ptr).deref_into_view() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *const A) -> Self [INFO] [stdout] 115 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::from_shape_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | RawArrayView::from_shape_ptr(shape, ptr).deref_into_view() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | RawArrayViewMut::from_shape_ptr(shape, ptr).deref_into_view_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *mut A) -> Self [INFO] [stdout] 218 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::from_shape_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | RawArrayViewMut::from_shape_ptr(shape, ptr).deref_into_view_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ArrayView::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ArrayView::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub(crate) unsafe fn new_(ptr: *const A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | ArrayViewMut::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | ArrayViewMut::from_data_ptr(ViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/constructors.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) unsafe fn new_(ptr: *mut A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/constructors.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::deref_into_view_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/conversions.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | / self.into_raw_view_mut() [INFO] [stdout] 190 | | .cast::>() [INFO] [stdout] 191 | | .deref_into_view_mut() [INFO] [stdout] | |__________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/conversions.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) unsafe fn into_maybe_uninit(self) -> ArrayViewMut<'a, MaybeUninit, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | &*self.as_ptr().offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/indexing.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn uget(self, index: I) -> &'a A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | &*self.as_ptr().offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | &mut *self [INFO] [stdout] | ______________^ [INFO] [stdout] 215 | | .as_mut_ptr() [INFO] [stdout] 216 | | .offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | |_________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_views/indexing.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | unsafe fn uget(mut self, index: I) -> &'a mut A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_views/indexing.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | &mut *self [INFO] [stdout] | _______________^ [INFO] [stdout] 215 | | .as_mut_ptr() [INFO] [stdout] 216 | | .offset(index.index_unchecked(&self.strides)) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RawArrayView::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RawArrayView::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn new_(ptr: *const A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Self::new(nonnull_debug_checked_from_ptr(ptr as *mut A), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | RawArrayView::new_(ptr, dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *const A) -> Self [INFO] [stdout] 72 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | ArrayView::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe fn deref_into_view<'a>(self) -> ArrayView<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>::with_strides_dim` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | RawArrayViewMut::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) unsafe fn new(ptr: NonNull, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_internal_constructors::>>::from_data_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | RawArrayViewMut::from_data_ptr(RawViewRepr::new(), ptr).with_strides_dim(strides, dim) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe fn new_(ptr: *mut A, dim: D, strides: D) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `extension::nonnull::nonnull_debug_checked_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self::new(nonnull_debug_checked_from_ptr(ptr), dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_raw_views::, D>>::new_` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | RawArrayViewMut::new_(ptr, dim, strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / pub unsafe fn from_shape_ptr(shape: Sh, ptr: *mut A) -> Self [INFO] [stdout] 288 | | where Sh: Into> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | ArrayView::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe fn deref_into_view<'a>(self) -> ArrayView<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_views::constructors::, D>>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_raw_views.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | ArrayViewMut::new(self.ptr, self.dim, self.strides) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_raw_views.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | pub unsafe fn deref_into_view_mut<'a>(self) -> ArrayViewMut<'a, A, D> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6219c71249c9241c1ed448fbd0ad8e9dcdffd7631b2767373bd9b9a4ed1e4090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6219c71249c9241c1ed448fbd0ad8e9dcdffd7631b2767373bd9b9a4ed1e4090", kill_on_drop: false }` [INFO] [stdout] 6219c71249c9241c1ed448fbd0ad8e9dcdffd7631b2767373bd9b9a4ed1e4090