[INFO] fetching crate bytevec2 0.3.1... [INFO] testing bytevec2-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bytevec2 0.3.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bytevec2 0.3.1 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] 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 925bce732e995262cfceb8486a83ca03acf45016e3418543d7d09f6ebac930f9 [INFO] running `Command { std: "docker" "start" "-a" "925bce732e995262cfceb8486a83ca03acf45016e3418543d7d09f6ebac930f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "925bce732e995262cfceb8486a83ca03acf45016e3418543d7d09f6ebac930f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "925bce732e995262cfceb8486a83ca03acf45016e3418543d7d09f6ebac930f9", kill_on_drop: false }` [INFO] [stdout] 925bce732e995262cfceb8486a83ca03acf45016e3418543d7d09f6ebac930f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5c079dc8f2cfdb142f6ebffa31a604ff0268501dc3d42ef59fc4308f51cbcb9b [INFO] running `Command { std: "docker" "start" "-a" "5c079dc8f2cfdb142f6ebffa31a604ff0268501dc3d42ef59fc4308f51cbcb9b", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "5c079dc8f2cfdb142f6ebffa31a604ff0268501dc3d42ef59fc4308f51cbcb9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c079dc8f2cfdb142f6ebffa31a604ff0268501dc3d42ef59fc4308f51cbcb9b", kill_on_drop: false }` [INFO] [stdout] 5c079dc8f2cfdb142f6ebffa31a604ff0268501dc3d42ef59fc4308f51cbcb9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f82b0dd20ee4e4a3e2267d36e6511bfccc5418551915f140e108838008051c3f [INFO] running `Command { std: "docker" "start" "-a" "f82b0dd20ee4e4a3e2267d36e6511bfccc5418551915f140e108838008051c3f", kill_on_drop: false }` [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] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "f82b0dd20ee4e4a3e2267d36e6511bfccc5418551915f140e108838008051c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f82b0dd20ee4e4a3e2267d36e6511bfccc5418551915f140e108838008051c3f", kill_on_drop: false }` [INFO] [stdout] f82b0dd20ee4e4a3e2267d36e6511bfccc5418551915f140e108838008051c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 22258c283b80a4b5139ef5699e0df56877a6e7c11ee806658e09891b5684dadf [INFO] running `Command { std: "docker" "start" "-a" "22258c283b80a4b5139ef5699e0df56877a6e7c11ee806658e09891b5684dadf", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stderr] | ---------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stderr] | ---------^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 47 | / impl_integrals! { [INFO] [stderr] 48 | | u8: 1, [INFO] [stderr] 49 | | u16: 2, [INFO] [stderr] 50 | | u32: 4, [INFO] [stderr] ... | [INFO] [stderr] 55 | | i64: 8 [INFO] [stderr] 56 | | } [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_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:72:49 [INFO] [stderr] | [INFO] [stderr] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stderr] | ---------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] ... [INFO] [stderr] 90 | / as_unsized_impl! { [INFO] [stderr] 91 | | f32: u32, [INFO] [stderr] 92 | | f64: u64, [INFO] [stderr] 93 | | char: u32 [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:83:33 [INFO] [stderr] | [INFO] [stderr] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stderr] | ---------^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] ... [INFO] [stderr] 90 | / as_unsized_impl! { [INFO] [stderr] 91 | | f32: u32, [INFO] [stderr] 92 | | f64: u64, [INFO] [stderr] 93 | | char: u32 [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:72:49 [INFO] [stderr] | [INFO] [stderr] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stderr] | ---------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_bits` [INFO] [stderr] ... [INFO] [stderr] 90 | / as_unsized_impl! { [INFO] [stderr] 91 | | f32: u32, [INFO] [stderr] 92 | | f64: u64, [INFO] [stderr] 93 | | char: u32 [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:83:33 [INFO] [stderr] | [INFO] [stderr] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stderr] | ---------^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] ... [INFO] [stderr] 90 | / as_unsized_impl! { [INFO] [stderr] 91 | | f32: u32, [INFO] [stderr] 92 | | f64: u64, [INFO] [stderr] 93 | | char: u32 [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:72:49 [INFO] [stderr] | [INFO] [stderr] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stderr] | ---------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from` [INFO] [stderr] ... [INFO] [stderr] 90 | / as_unsized_impl! { [INFO] [stderr] 91 | | f32: u32, [INFO] [stderr] 92 | | f64: u64, [INFO] [stderr] 93 | | char: u32 [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/impls/primitives.rs:83:33 [INFO] [stderr] | [INFO] [stderr] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stderr] | ---------^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `char::from_u32_unchecked` [INFO] [stderr] ... [INFO] [stderr] 90 | / as_unsized_impl! { [INFO] [stderr] 91 | | f32: u32, [INFO] [stderr] 92 | | f64: u64, [INFO] [stderr] 93 | | char: u32 [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stderr] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bytevec2` (lib) generated 22 warnings (run `cargo fix --lib -p bytevec2` to apply 22 suggestions) [INFO] [stderr] warning: `bytevec2` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bytevec2-fbdf62220654464e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lib-aa5d7abfd9d739e7) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_decode_limit_err ... ok [INFO] [stdout] test test_serialize_map ... ok [INFO] [stdout] test test_serialize_set ... ok [INFO] [stdout] test test_serialize_bool ... ok [INFO] [stdout] test test_serialize_options ... ok [INFO] [stdout] test test_serialize_slices ... ok [INFO] [stdout] test test_serialize_tuple ... ok [INFO] [stdout] test test_serialize_slice_with_map_containers ... ok [INFO] [stdout] test test_u8_upper_limit_encode_err ... ok [INFO] [stdout] test test_serialize_vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22258c283b80a4b5139ef5699e0df56877a6e7c11ee806658e09891b5684dadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22258c283b80a4b5139ef5699e0df56877a6e7c11ee806658e09891b5684dadf", kill_on_drop: false }` [INFO] [stdout] 22258c283b80a4b5139ef5699e0df56877a6e7c11ee806658e09891b5684dadf