[INFO] fetching crate packed 0.4.2... [INFO] checking packed-0.4.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate packed 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate packed 0.4.2 [INFO] finished tweaking crates.io crate packed 0.4.2 [INFO] tweaked toml for crates.io crate packed 0.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate packed 0.4.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbdb3660005f0aee4f0ffa5fd349f2a4500dd1a9f85f6d61155d3f32ec700d99 [INFO] running `Command { std: "docker" "start" "-a" "fbdb3660005f0aee4f0ffa5fd349f2a4500dd1a9f85f6d61155d3f32ec700d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbdb3660005f0aee4f0ffa5fd349f2a4500dd1a9f85f6d61155d3f32ec700d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbdb3660005f0aee4f0ffa5fd349f2a4500dd1a9f85f6d61155d3f32ec700d99", kill_on_drop: false }` [INFO] [stdout] fbdb3660005f0aee4f0ffa5fd349f2a4500dd1a9f85f6d61155d3f32ec700d99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37275ea684c9c62738632d13af8c36164e5a8f4cc3507d18c8895bbfff24e99c [INFO] running `Command { std: "docker" "start" "-a" "37275ea684c9c62738632d13af8c36164e5a8f4cc3507d18c8895bbfff24e99c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking packed v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::{transmute, uninitialized, forget, align_of, size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | let mut un: Self::Unaligned = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | let mut s: Self = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `char` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: characters must be a valid Unicode codepoint [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `f32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: floats must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `f64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: floats must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 2]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 2]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `isize` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `usize` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const T` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut T` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::{transmute, uninitialized, forget, align_of, size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | let mut un: Self::Unaligned = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | let mut s: Self = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `char` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: characters must be a valid Unicode codepoint [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `f32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: floats must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `f64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: floats must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 2]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 2]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 209 | / aligned_impl! { [INFO] [stdout] 210 | | char: 4, [INFO] [stdout] 211 | | f32: 4, [INFO] [stdout] 212 | | f64: 8, [INFO] [stdout] ... | [INFO] [stdout] 218 | | u64: 8 [INFO] [stdout] 219 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `isize` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `usize` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` which comes from the expansion of the macro `aligned_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const T` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] ... [INFO] [stdout] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut T` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:176:75 [INFO] [stdout] | [INFO] [stdout] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "37275ea684c9c62738632d13af8c36164e5a8f4cc3507d18c8895bbfff24e99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37275ea684c9c62738632d13af8c36164e5a8f4cc3507d18c8895bbfff24e99c", kill_on_drop: false }` [INFO] [stdout] 37275ea684c9c62738632d13af8c36164e5a8f4cc3507d18c8895bbfff24e99c