[INFO] fetching crate bytevec2 0.3.1... [INFO] testing bytevec2-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-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 b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39b09269c4cb8bf1ffbc5e225905255a76d44c1160bea5643efbf71931d86632 [INFO] running `Command { std: "docker" "start" "-a" "39b09269c4cb8bf1ffbc5e225905255a76d44c1160bea5643efbf71931d86632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39b09269c4cb8bf1ffbc5e225905255a76d44c1160bea5643efbf71931d86632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b09269c4cb8bf1ffbc5e225905255a76d44c1160bea5643efbf71931d86632", kill_on_drop: false }` [INFO] [stdout] 39b09269c4cb8bf1ffbc5e225905255a76d44c1160bea5643efbf71931d86632 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6dd9f84e63ceed0805692cd45451ea6f990a70202d246d228ee202965c57318 [INFO] running `Command { std: "docker" "start" "-a" "c6dd9f84e63ceed0805692cd45451ea6f990a70202d246d228ee202965c57318", 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.55s [INFO] running `Command { std: "docker" "inspect" "c6dd9f84e63ceed0805692cd45451ea6f990a70202d246d228ee202965c57318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6dd9f84e63ceed0805692cd45451ea6f990a70202d246d228ee202965c57318", kill_on_drop: false }` [INFO] [stdout] c6dd9f84e63ceed0805692cd45451ea6f990a70202d246d228ee202965c57318 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90cfaf77c1f4cdc11248ed5ce6c396da3078f407565634f0eb0245b8ff415e71 [INFO] running `Command { std: "docker" "start" "-a" "90cfaf77c1f4cdc11248ed5ce6c396da3078f407565634f0eb0245b8ff415e71", 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] [stderr] Compiling bytevec2 v0.3.1 (/opt/rustwide/workdir) [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 `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "90cfaf77c1f4cdc11248ed5ce6c396da3078f407565634f0eb0245b8ff415e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90cfaf77c1f4cdc11248ed5ce6c396da3078f407565634f0eb0245b8ff415e71", kill_on_drop: false }` [INFO] [stdout] 90cfaf77c1f4cdc11248ed5ce6c396da3078f407565634f0eb0245b8ff415e71 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 435d2267c6f3775753ec73d97043a5d760891cbde0fbca579baae259189de6af [INFO] running `Command { std: "docker" "start" "-a" "435d2267c6f3775753ec73d97043a5d760891cbde0fbca579baae259189de6af", 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/debug/deps/bytevec2-df7e822cd9ba2834) [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/debug/deps/lib-0ed17bd8110fbd86) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_decode_limit_err ... ok [INFO] [stdout] test test_serialize_bool ... ok [INFO] [stdout] test test_serialize_map ... ok [INFO] [stdout] test test_serialize_set ... ok [INFO] [stdout] test test_serialize_options ... ok [INFO] [stdout] test test_serialize_slices ... ok [INFO] [stdout] test test_serialize_slice_with_map_containers ... ok [INFO] [stdout] test test_serialize_tuple ... ok [INFO] [stdout] test test_serialize_vec ... ok [INFO] [stdout] test test_u8_upper_limit_encode_err ... 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] [stderr] Doc-tests bytevec2 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 123) ... ok [INFO] [stdout] test src/macros.rs - macros::bytevec_impls (line 19) ... ok [INFO] [stdout] test src/macros.rs - macros::bytevec_decl (line 149) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "435d2267c6f3775753ec73d97043a5d760891cbde0fbca579baae259189de6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435d2267c6f3775753ec73d97043a5d760891cbde0fbca579baae259189de6af", kill_on_drop: false }` [INFO] [stdout] 435d2267c6f3775753ec73d97043a5d760891cbde0fbca579baae259189de6af