[INFO] fetching crate packed 0.4.2... [INFO] testing packed-0.4.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate packed 0.4.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate packed 0.4.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d0e48cf8e711064de8f7aa3733e45d27e66ac6d61d1b67fc08e37b10f1001d9 [INFO] running `Command { std: "docker" "start" "-a" "6d0e48cf8e711064de8f7aa3733e45d27e66ac6d61d1b67fc08e37b10f1001d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d0e48cf8e711064de8f7aa3733e45d27e66ac6d61d1b67fc08e37b10f1001d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0e48cf8e711064de8f7aa3733e45d27e66ac6d61d1b67fc08e37b10f1001d9", kill_on_drop: false }` [INFO] [stdout] 6d0e48cf8e711064de8f7aa3733e45d27e66ac6d61d1b67fc08e37b10f1001d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8dadbf83cdcec774aba798ec74e5551a4ebcd01f1e245d6da9f9b0cca7998d6 [INFO] running `Command { std: "docker" "start" "-a" "d8dadbf83cdcec774aba798ec74e5551a4ebcd01f1e245d6da9f9b0cca7998d6", 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.22s [INFO] running `Command { std: "docker" "inspect" "d8dadbf83cdcec774aba798ec74e5551a4ebcd01f1e245d6da9f9b0cca7998d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8dadbf83cdcec774aba798ec74e5551a4ebcd01f1e245d6da9f9b0cca7998d6", kill_on_drop: false }` [INFO] [stdout] d8dadbf83cdcec774aba798ec74e5551a4ebcd01f1e245d6da9f9b0cca7998d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a32d0556273cd2422c85f6670ffd43155da1aefb326e8e1d35700245d648d81d [INFO] running `Command { std: "docker" "start" "-a" "a32d0556273cd2422c85f6670ffd43155da1aefb326e8e1d35700245d648d81d", 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.38s [INFO] running `Command { std: "docker" "inspect" "a32d0556273cd2422c85f6670ffd43155da1aefb326e8e1d35700245d648d81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a32d0556273cd2422c85f6670ffd43155da1aefb326e8e1d35700245d648d81d", kill_on_drop: false }` [INFO] [stdout] a32d0556273cd2422c85f6670ffd43155da1aefb326e8e1d35700245d648d81d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f781e3f216377eb130571e5b68b7830207e4b4de7f588171e3c7ad0ec5e65780 [INFO] running `Command { std: "docker" "start" "-a" "f781e3f216377eb130571e5b68b7830207e4b4de7f588171e3c7ad0ec5e65780", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/packed-54e6f951d5bee8aa) [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] [stderr] Doc-tests packed [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f781e3f216377eb130571e5b68b7830207e4b4de7f588171e3c7ad0ec5e65780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f781e3f216377eb130571e5b68b7830207e4b4de7f588171e3c7ad0ec5e65780", kill_on_drop: false }` [INFO] [stdout] f781e3f216377eb130571e5b68b7830207e4b4de7f588171e3c7ad0ec5e65780