[INFO] fetching crate bytevec2 0.3.1... [INFO] testing bytevec2-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate bytevec2 0.3.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bytevec2 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55dab5fc249bd4c819d97fca2b5e47768d587794eb95f44ea3ee81260b197aa8 [INFO] running `Command { std: "docker" "start" "-a" "55dab5fc249bd4c819d97fca2b5e47768d587794eb95f44ea3ee81260b197aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55dab5fc249bd4c819d97fca2b5e47768d587794eb95f44ea3ee81260b197aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55dab5fc249bd4c819d97fca2b5e47768d587794eb95f44ea3ee81260b197aa8", kill_on_drop: false }` [INFO] [stdout] 55dab5fc249bd4c819d97fca2b5e47768d587794eb95f44ea3ee81260b197aa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e82535adb49946a590fc383600905ce2d2ece0aa0e6fb46cce71a303e572fc4 [INFO] running `Command { std: "docker" "start" "-a" "1e82535adb49946a590fc383600905ce2d2ece0aa0e6fb46cce71a303e572fc4", 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.97s [INFO] running `Command { std: "docker" "inspect" "1e82535adb49946a590fc383600905ce2d2ece0aa0e6fb46cce71a303e572fc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e82535adb49946a590fc383600905ce2d2ece0aa0e6fb46cce71a303e572fc4", kill_on_drop: false }` [INFO] [stdout] 1e82535adb49946a590fc383600905ce2d2ece0aa0e6fb46cce71a303e572fc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ba9e2186734af24ea39dee4dd43b52c4c6c4600f3938db0e36be1253e537a2a [INFO] running `Command { std: "docker" "start" "-a" "4ba9e2186734af24ea39dee4dd43b52c4c6c4600f3938db0e36be1253e537a2a", 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] [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: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | let bytes: [u8; $size] = transmute(self.to_le()); [INFO] [stdout] | ---------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { Ok(<$t>::from_le(transmute(t_bytes))) } [INFO] [stdout] | ---------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 47 | / impl_integrals! { [INFO] [stdout] 48 | | u8: 1, [INFO] [stdout] 49 | | u16: 2, [INFO] [stdout] 50 | | u32: 4, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i64: 8 [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `impl_integrals` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | let unsigned: $unsizd = transmute(*self); [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/impls/primitives.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { Ok(transmute(unsigned)) } [INFO] [stdout] | ---------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] ... [INFO] [stdout] 90 | / as_unsized_impl! { [INFO] [stdout] 91 | | f32: u32, [INFO] [stdout] 92 | | f64: u64, [INFO] [stdout] 93 | | char: u32 [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this warning originates in the macro `as_unsized_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "4ba9e2186734af24ea39dee4dd43b52c4c6c4600f3938db0e36be1253e537a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba9e2186734af24ea39dee4dd43b52c4c6c4600f3938db0e36be1253e537a2a", kill_on_drop: false }` [INFO] [stdout] 4ba9e2186734af24ea39dee4dd43b52c4c6c4600f3938db0e36be1253e537a2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a5cccfa6e23b69141444d7d35a30477f8d07362905c568ce356dac1f934801a0 [INFO] running `Command { std: "docker" "start" "-a" "a5cccfa6e23b69141444d7d35a30477f8d07362905c568ce356dac1f934801a0", 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.09s [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_map ... ok [INFO] [stderr] Doc-tests bytevec2 [INFO] [stdout] test test_serialize_options ... ok [INFO] [stdout] test test_serialize_bool ... ok [INFO] [stdout] test test_serialize_set ... ok [INFO] [stdout] test test_serialize_slices ... ok [INFO] [stdout] test test_serialize_tuple ... ok [INFO] [stdout] test test_u8_upper_limit_encode_err ... ok [INFO] [stdout] test test_serialize_vec ... ok [INFO] [stdout] test test_serialize_slice_with_map_containers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a5cccfa6e23b69141444d7d35a30477f8d07362905c568ce356dac1f934801a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5cccfa6e23b69141444d7d35a30477f8d07362905c568ce356dac1f934801a0", kill_on_drop: false }` [INFO] [stdout] a5cccfa6e23b69141444d7d35a30477f8d07362905c568ce356dac1f934801a0