[INFO] fetching crate packed 0.4.2... [INFO] testing packed-0.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate packed 0.4.2 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate packed 0.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4b182855e344d236f71848a661ac6986b7dbf149ad38ada8236f0a5e14ba335 [INFO] running `Command { std: "docker" "start" "-a" "c4b182855e344d236f71848a661ac6986b7dbf149ad38ada8236f0a5e14ba335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4b182855e344d236f71848a661ac6986b7dbf149ad38ada8236f0a5e14ba335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b182855e344d236f71848a661ac6986b7dbf149ad38ada8236f0a5e14ba335", kill_on_drop: false }` [INFO] [stdout] c4b182855e344d236f71848a661ac6986b7dbf149ad38ada8236f0a5e14ba335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03afd88d04ce3dcd380b414c6cd97be5b583dea9e3854b4c2429aaa17b99f4d9 [INFO] running `Command { std: "docker" "start" "-a" "03afd88d04ce3dcd380b414c6cd97be5b583dea9e3854b4c2429aaa17b99f4d9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "03afd88d04ce3dcd380b414c6cd97be5b583dea9e3854b4c2429aaa17b99f4d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03afd88d04ce3dcd380b414c6cd97be5b583dea9e3854b4c2429aaa17b99f4d9", kill_on_drop: false }` [INFO] [stdout] 03afd88d04ce3dcd380b414c6cd97be5b583dea9e3854b4c2429aaa17b99f4d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc19d19cbd8afba7f852bf7d84298de77757565a293cb6644ffad9d9fabcc754 [INFO] running `Command { std: "docker" "start" "-a" "cc19d19cbd8afba7f852bf7d84298de77757565a293cb6644ffad9d9fabcc754", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling packed v0.4.2 (/opt/rustwide/workdir) [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 `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "cc19d19cbd8afba7f852bf7d84298de77757565a293cb6644ffad9d9fabcc754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc19d19cbd8afba7f852bf7d84298de77757565a293cb6644ffad9d9fabcc754", kill_on_drop: false }` [INFO] [stdout] cc19d19cbd8afba7f852bf7d84298de77757565a293cb6644ffad9d9fabcc754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c73ab2a5e3ff3f2127ff11c77ec7b8b825fe03c7a3360ca9d71dc6531625f27c [INFO] running `Command { std: "docker" "start" "-a" "c73ab2a5e3ff3f2127ff11c77ec7b8b825fe03c7a3360ca9d71dc6531625f27c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | use std::mem::{transmute, uninitialized, forget, align_of, size_of}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:109:43 [INFO] [stderr] | [INFO] [stderr] 109 | let mut un: Self::Unaligned = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:119:27 [INFO] [stderr] | [INFO] [stderr] 119 | let mut s: Self = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:176:87 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:176:87 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:176:87 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:176:87 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `[u8; 4]` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stderr] = 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] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the type `char` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: characters must be a valid Unicode codepoint [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `[u8; 4]` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `f32` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: floats must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `[u8; 8]` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `f64` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: floats must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `[u8; 2]` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `i16` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `u16` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `i32` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `u32` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `i64` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `u64` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 209 | / aligned_impl! { [INFO] [stderr] 210 | | char: 4, [INFO] [stderr] 211 | | f32: 4, [INFO] [stderr] 212 | | f64: 8, [INFO] [stderr] ... | [INFO] [stderr] 218 | | u64: 8 [INFO] [stderr] 219 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 3 tests [INFO] [stderr] = note: integers must be initialized [INFO] [stdout] test test::assert_packed ... ok [INFO] [stderr] = 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] test test::unaligned_conversion ... ok [INFO] [stderr] [INFO] [stdout] test test::pointer_alignment ... ok [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `[u8; 8]` [INFO] [stderr] ... [INFO] [stderr] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `isize::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `isize` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: the type `usize` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 241 | aligned_impl! { isize: 8, usize: 8 } [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `[u8; 8]` [INFO] [stderr] ... [INFO] [stderr] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the type `*const T` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 242 | unsafe impl Aligned for *const T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: raw pointers must be initialized [INFO] [stderr] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `[u8; 8]` [INFO] [stderr] ... [INFO] [stderr] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 176 - ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] 176 + let _ = ::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the type `*mut T` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:176:75 [INFO] [stderr] | [INFO] [stderr] 176 | ::std::mem::forget(::std::mem::transmute::<$t, $t::Unaligned>(::std::mem::uninitialized())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 243 | unsafe impl Aligned for *mut T { type Unaligned = [u8; 8]; aligned_assert!(Self); } [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: raw pointers must be initialized [INFO] [stderr] = note: this warning originates in the macro `aligned_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `packed` (lib) generated 52 warnings (15 duplicates) (run `cargo fix --lib -p packed` to apply 10 suggestions) [INFO] [stderr] warning: `packed` (lib test) generated 52 warnings (52 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/packed-54e6f951d5bee8aa) [INFO] [stderr] Doc-tests packed [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c73ab2a5e3ff3f2127ff11c77ec7b8b825fe03c7a3360ca9d71dc6531625f27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c73ab2a5e3ff3f2127ff11c77ec7b8b825fe03c7a3360ca9d71dc6531625f27c", kill_on_drop: false }` [INFO] [stdout] c73ab2a5e3ff3f2127ff11c77ec7b8b825fe03c7a3360ca9d71dc6531625f27c