[INFO] fetching crate packed 0.4.2... [INFO] testing packed-0.4.2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate packed 0.4.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate packed 0.4.2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate packed 0.4.2 [INFO] finished tweaking crates.io crate packed 0.4.2 [INFO] tweaked toml for crates.io crate packed 0.4.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 327bf4a5f2312dc84085d21da5a43e5a17f21b255a9023e5720dea1ccaec570b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "327bf4a5f2312dc84085d21da5a43e5a17f21b255a9023e5720dea1ccaec570b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "327bf4a5f2312dc84085d21da5a43e5a17f21b255a9023e5720dea1ccaec570b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327bf4a5f2312dc84085d21da5a43e5a17f21b255a9023e5720dea1ccaec570b", kill_on_drop: false }` [INFO] [stdout] 327bf4a5f2312dc84085d21da5a43e5a17f21b255a9023e5720dea1ccaec570b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71027c3806fcdcd8f340425ace1698b14fc000cc089cdd8784b1ecb39d1b3602 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "71027c3806fcdcd8f340425ace1698b14fc000cc089cdd8784b1ecb39d1b3602", kill_on_drop: false }` [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` (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` (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` (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` (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` (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` (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` (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` (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` (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` (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` (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: 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: characters must be a valid Unicode codepoint [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "71027c3806fcdcd8f340425ace1698b14fc000cc089cdd8784b1ecb39d1b3602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71027c3806fcdcd8f340425ace1698b14fc000cc089cdd8784b1ecb39d1b3602", kill_on_drop: false }` [INFO] [stdout] 71027c3806fcdcd8f340425ace1698b14fc000cc089cdd8784b1ecb39d1b3602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3371bce266a924206f05718ff8bdb17a40b6987b6cbf104ea078e3daed51cdf7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3371bce266a924206f05718ff8bdb17a40b6987b6cbf104ea078e3daed51cdf7", kill_on_drop: false }` [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` (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` (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` (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` (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` (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` (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` (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` (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: 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` (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` (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` (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: 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: characters must be a valid Unicode codepoint [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: 17 warnings emitted [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` (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` (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` (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` (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` (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` (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` (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` (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` (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` (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` (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: 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: characters must be a valid Unicode codepoint [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "3371bce266a924206f05718ff8bdb17a40b6987b6cbf104ea078e3daed51cdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3371bce266a924206f05718ff8bdb17a40b6987b6cbf104ea078e3daed51cdf7", kill_on_drop: false }` [INFO] [stdout] 3371bce266a924206f05718ff8bdb17a40b6987b6cbf104ea078e3daed51cdf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 201186e745c14a6d2288aa5fcbe9ff4b1f924e96039dac099cf2e1e2c16bffed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "201186e745c14a6d2288aa5fcbe9ff4b1f924e96039dac099cf2e1e2c16bffed", kill_on_drop: false }` [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` (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` (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: 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: `#[warn(invalid_value)]` on by default [INFO] [stderr] = note: characters must be a valid Unicode codepoint [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 17 warnings (9 duplicates) [INFO] [stderr] warning: `packed` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/packed-a5087b74a7ed4adc) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Doc-tests packed [INFO] [stdout] test test::assert_packed ... ok [INFO] [stdout] test test::pointer_alignment ... ok [INFO] [stdout] test test::unaligned_conversion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "201186e745c14a6d2288aa5fcbe9ff4b1f924e96039dac099cf2e1e2c16bffed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201186e745c14a6d2288aa5fcbe9ff4b1f924e96039dac099cf2e1e2c16bffed", kill_on_drop: false }` [INFO] [stdout] 201186e745c14a6d2288aa5fcbe9ff4b1f924e96039dac099cf2e1e2c16bffed