[INFO] fetching crate contrail 0.3.0... [INFO] testing contrail-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate contrail 0.3.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate contrail 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fab6c59629c684deae17c60092754dda7f32bae22bcc726ad22cb40fe9dd20b [INFO] running `Command { std: "docker" "start" "-a" "3fab6c59629c684deae17c60092754dda7f32bae22bcc726ad22cb40fe9dd20b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fab6c59629c684deae17c60092754dda7f32bae22bcc726ad22cb40fe9dd20b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fab6c59629c684deae17c60092754dda7f32bae22bcc726ad22cb40fe9dd20b", kill_on_drop: false }` [INFO] [stdout] 3fab6c59629c684deae17c60092754dda7f32bae22bcc726ad22cb40fe9dd20b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8e4d543e7be691570383c1eadfad383efa103ef492a026b6be21126296ff9102 [INFO] running `Command { std: "docker" "start" "-a" "8e4d543e7be691570383c1eadfad383efa103ef492a026b6be21126296ff9102", kill_on_drop: false }` [INFO] [stderr] Compiling contrail-derive v0.2.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "8e4d543e7be691570383c1eadfad383efa103ef492a026b6be21126296ff9102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4d543e7be691570383c1eadfad383efa103ef492a026b6be21126296ff9102", kill_on_drop: false }` [INFO] [stdout] 8e4d543e7be691570383c1eadfad383efa103ef492a026b6be21126296ff9102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bfe7ca4e4e821edea89f86423e8cb7333db31cd31e046f31a9576a605395f3ba [INFO] running `Command { std: "docker" "start" "-a" "bfe7ca4e4e821edea89f86423e8cb7333db31cd31e046f31a9576a605395f3ba", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [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] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "bfe7ca4e4e821edea89f86423e8cb7333db31cd31e046f31a9576a605395f3ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe7ca4e4e821edea89f86423e8cb7333db31cd31e046f31a9576a605395f3ba", kill_on_drop: false }` [INFO] [stdout] bfe7ca4e4e821edea89f86423e8cb7333db31cd31e046f31a9576a605395f3ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 22f14e8f862b75c9721400d4ec48eefd42a913818037fa99a048941ca051d339 [INFO] running `Command { std: "docker" "start" "-a" "22f14e8f862b75c9721400d4ec48eefd42a913818037fa99a048941ca051d339", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i128::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i128::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `isize::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `isize::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:637:21 [INFO] [stderr] | [INFO] [stderr] 637 | std::mem::transmute::<[u8; std::mem::size_of::<$T>()], $T>(byte_array) [INFO] [stderr] | ----------------------------------------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/mem.rs:643:38 [INFO] [stderr] | [INFO] [stderr] 643 | let byte_array = std::mem::transmute::<$T, [u8; std::mem::size_of::<$T>()]>(self); [INFO] [stderr] | ----------------------------------------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 652 | / impl_bytes_primitive! { [INFO] [stderr] 653 | | i8, i16, i32, i64, i128, isize, [INFO] [stderr] 654 | | u8, u16, u32, u64, u128, usize, [INFO] [stderr] 655 | | f32, f64, [INFO] [stderr] ... | [INFO] [stderr] 658 | | (), [INFO] [stderr] 659 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `impl_bytes_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `contrail` (lib) generated 28 warnings (run `cargo fix --lib -p contrail` to apply 28 suggestions) [INFO] [stderr] warning: `contrail` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/contrail-7c20c3be461b33b4) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test mem::tests::array_pointer::clone_eq ... ok [INFO] [stdout] test mem::tests::array_pointer::empty ... ok [INFO] [stdout] test mem::tests::pointer::debug ... ok [INFO] [stdout] test mem::tests::pointer::clone_eq ... ok [INFO] [stdout] test mem::tests::array_pointer::swap ... ok [INFO] [stdout] test mem::tests::pointer::get_set_update ... ok [INFO] [stdout] test mem::tests::array_pointer::get_set_update ... ok [INFO] [stdout] test mem::tests::read_write_bytes::i8 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::u8 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::i16 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::i32 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::u128 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::i64 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::u32 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::char ... ok [INFO] [stdout] test mem::tests::read_write_bytes::u16 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::f64 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::i128 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::f32 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::bool ... ok [INFO] [stdout] test mem::tests::array_pointer::debug ... ok [INFO] [stdout] test mem::tests::read_write_bytes::u64 ... ok [INFO] [stdout] test mem::tests::read_write_bytes::isize ... ok [INFO] [stdout] test mem::tests::read_write_bytes::unit ... ok [INFO] [stdout] test mem::tests::read_write_bytes::usize ... ok [INFO] [stdout] test tests::array::clone_eq ... ok [INFO] [stdout] test tests::array::debug ... ok [INFO] [stdout] test tests::array::get_set_roundtrip ... ok [INFO] [stdout] test tests::array::iter ... ok [INFO] [stdout] test tests::array::swap ... ok [INFO] [stdout] test tests::array::update ... ok [INFO] [stdout] test tests::value::debug ... ok [INFO] [stdout] test tests::value::get_set_roundtrip ... ok [INFO] [stdout] test tests::value::update ... ok [INFO] [stdout] test tests::value::clone_eq ... ok [INFO] [stdout] test tests::array::empty ... ok [INFO] [stdout] [INFO] [stderr] Running tests/derive.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/derive-e91d6ec06f5a9291) [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test custom_derive ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22f14e8f862b75c9721400d4ec48eefd42a913818037fa99a048941ca051d339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f14e8f862b75c9721400d4ec48eefd42a913818037fa99a048941ca051d339", kill_on_drop: false }` [INFO] [stdout] 22f14e8f862b75c9721400d4ec48eefd42a913818037fa99a048941ca051d339