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