[INFO] fetching crate contrail 0.3.0... [INFO] checking contrail-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate contrail 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate contrail 0.3.0 [INFO] finished tweaking crates.io crate contrail 0.3.0 [INFO] tweaked toml for crates.io crate contrail 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate contrail 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded contrail-derive v0.2.0 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c63fd66266e52924a54bcdf2e3fd66f678305a6df25d370608d096566c9811c7 [INFO] running `Command { std: "docker" "start" "-a" "c63fd66266e52924a54bcdf2e3fd66f678305a6df25d370608d096566c9811c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c63fd66266e52924a54bcdf2e3fd66f678305a6df25d370608d096566c9811c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63fd66266e52924a54bcdf2e3fd66f678305a6df25d370608d096566c9811c7", kill_on_drop: false }` [INFO] [stdout] c63fd66266e52924a54bcdf2e3fd66f678305a6df25d370608d096566c9811c7 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e860842010b639cabc5966e464fff8a4b07aa71e691dfd1f0d9a56e89d4cf43 [INFO] running `Command { std: "docker" "start" "-a" "3e860842010b639cabc5966e464fff8a4b07aa71e691dfd1f0d9a56e89d4cf43", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling contrail-derive v0.2.0 [INFO] [stderr] Checking contrail v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stdout] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mem.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stdout] | ----------------------------------------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 652 | / impl_bytes_primitive! { [INFO] [stdout] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stdout] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stdout] 655 | | f32, f64, [INFO] [stdout] ... | [INFO] [stdout] 658 | | (), [INFO] [stdout] 659 | | } [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 `impl_bytes_primitive` (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 6.35s [INFO] running `Command { std: "docker" "inspect" "3e860842010b639cabc5966e464fff8a4b07aa71e691dfd1f0d9a56e89d4cf43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e860842010b639cabc5966e464fff8a4b07aa71e691dfd1f0d9a56e89d4cf43", kill_on_drop: false }` [INFO] [stdout] 3e860842010b639cabc5966e464fff8a4b07aa71e691dfd1f0d9a56e89d4cf43