[INFO] fetching crate bytevec2 0.3.1... [INFO] checking bytevec2-0.3.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bytevec2 0.3.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate bytevec2 0.3.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bytevec2 0.3.1 [INFO] tweaked toml for crates.io crate bytevec2 0.3.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bytevec2 0.3.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bytevec2 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782fb1f9c094ef81f778c82c42d5fb0eea4bbc9084b6820ffdc120f31da687ac [INFO] running `Command { std: "docker" "start" "-a" "782fb1f9c094ef81f778c82c42d5fb0eea4bbc9084b6820ffdc120f31da687ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782fb1f9c094ef81f778c82c42d5fb0eea4bbc9084b6820ffdc120f31da687ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782fb1f9c094ef81f778c82c42d5fb0eea4bbc9084b6820ffdc120f31da687ac", kill_on_drop: false }` [INFO] [stdout] 782fb1f9c094ef81f778c82c42d5fb0eea4bbc9084b6820ffdc120f31da687ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c0cd3db91b30b8a3c692e1b3291eaa4460ee636ca291d7862ac3f07e0390964 [INFO] running `Command { std: "docker" "start" "-a" "1c0cd3db91b30b8a3c692e1b3291eaa4460ee636ca291d7862ac3f07e0390964", kill_on_drop: false }` [INFO] [stderr] Checking bytevec2 v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (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 1.52s [INFO] running `Command { std: "docker" "inspect" "1c0cd3db91b30b8a3c692e1b3291eaa4460ee636ca291d7862ac3f07e0390964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0cd3db91b30b8a3c692e1b3291eaa4460ee636ca291d7862ac3f07e0390964", kill_on_drop: false }` [INFO] [stdout] 1c0cd3db91b30b8a3c692e1b3291eaa4460ee636ca291d7862ac3f07e0390964