[INFO] fetching crate lrpc 1.1.0... [INFO] testing lrpc-1.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lrpc 1.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate lrpc 1.1.0 [INFO] finished tweaking crates.io crate lrpc 1.1.0 [INFO] tweaked toml for crates.io crate lrpc 1.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lrpc 1.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6840c4a2e6c66f5db7e799201197c97dbcaf60180be3b88526ed39bf70e1909 [INFO] running `Command { std: "docker" "start" "-a" "a6840c4a2e6c66f5db7e799201197c97dbcaf60180be3b88526ed39bf70e1909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6840c4a2e6c66f5db7e799201197c97dbcaf60180be3b88526ed39bf70e1909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6840c4a2e6c66f5db7e799201197c97dbcaf60180be3b88526ed39bf70e1909", kill_on_drop: false }` [INFO] [stdout] a6840c4a2e6c66f5db7e799201197c97dbcaf60180be3b88526ed39bf70e1909 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e0563162849d127c37a65db9b3ee376b3a8e7d4ad6a578c6e0e09bf30bd06b4 [INFO] running `Command { std: "docker" "start" "-a" "2e0563162849d127c37a65db9b3ee376b3a8e7d4ad6a578c6e0e09bf30bd06b4", kill_on_drop: false }` [INFO] [stderr] Compiling lrpc-macros v1.0.0 [INFO] [stderr] Compiling lrpc v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i16::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i16::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u16::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u16::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i128::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i128::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u128::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u128::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { f32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { f32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { f64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { f64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "2e0563162849d127c37a65db9b3ee376b3a8e7d4ad6a578c6e0e09bf30bd06b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e0563162849d127c37a65db9b3ee376b3a8e7d4ad6a578c6e0e09bf30bd06b4", kill_on_drop: false }` [INFO] [stdout] 2e0563162849d127c37a65db9b3ee376b3a8e7d4ad6a578c6e0e09bf30bd06b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c2ff8c4268ce49bc2818ffd495bde7b97d7399a7f885e7de7f88ef1b799265e [INFO] running `Command { std: "docker" "start" "-a" "4c2ff8c4268ce49bc2818ffd495bde7b97d7399a7f885e7de7f88ef1b799265e", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i16::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i16::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u16::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u16::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lrpc v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i128::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i128::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u128::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u128::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { f32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { f32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { f64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { f64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i16::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i16::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u16::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u16::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { i128::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { i128::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { u128::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { u128::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { f32::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { f32::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stdout] 204 + let mut s: [u8; $num] = unsafe { f64::to_ne_bytes(*self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/val.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { std::mem::transmute(s) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 217 - unsafe { std::mem::transmute(s) } [INFO] [stdout] 217 + unsafe { f64::from_ne_bytes(s) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "4c2ff8c4268ce49bc2818ffd495bde7b97d7399a7f885e7de7f88ef1b799265e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2ff8c4268ce49bc2818ffd495bde7b97d7399a7f885e7de7f88ef1b799265e", kill_on_drop: false }` [INFO] [stdout] 4c2ff8c4268ce49bc2818ffd495bde7b97d7399a7f885e7de7f88ef1b799265e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae996031702ab51c26bd60ef4d40ac62a82b6c4c84c3b5b3954ce285ec121805 [INFO] running `Command { std: "docker" "start" "-a" "ae996031702ab51c26bd60ef4d40ac62a82b6c4c84c3b5b3954ce285ec121805", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { i16::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | number_store!(i16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { i16::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { u16::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 224 | number_store!(u16, 2); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { u16::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { i32::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 225 | number_store!(i32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { i32::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { u32::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 226 | number_store!(u32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { u32::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { i64::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 227 | number_store!(i64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { i64::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { u64::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | number_store!(u64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { u64::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { i128::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | number_store!(i128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { i128::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { u128::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 230 | number_store!(u128, 16); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { u128::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { f32::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 231 | number_store!(f32, 4); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { f32::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:204:50 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 204 - let mut s: [u8; $num] = unsafe { std::mem::transmute(*self) }; [INFO] [stderr] 204 + let mut s: [u8; $num] = unsafe { f64::to_ne_bytes(*self) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/val.rs:217:26 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { std::mem::transmute(s) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 232 | number_store!(f64, 8); [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 `number_store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 217 - unsafe { std::mem::transmute(s) } [INFO] [stderr] 217 + unsafe { f64::from_ne_bytes(s) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lrpc` (lib) generated 20 warnings (run `cargo fix --lib -p lrpc` to apply 20 suggestions) [INFO] [stderr] warning: `lrpc` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lrpc-5f71bc22dceb8dc2) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_attribute_macro ... ok [INFO] [stdout] test tests::test_buf ... ok [INFO] [stdout] test tests::test_derive_macros ... ok [INFO] [stdout] test tests::test_fun ... ok [INFO] [stdout] test tests::test_val ... ok [INFO] [stdout] test tests::test_tcp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests lrpc [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/val.rs - val (line 3) - compile ... ok [INFO] [stdout] test src/fun.rs - fun (line 3) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 5) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae996031702ab51c26bd60ef4d40ac62a82b6c4c84c3b5b3954ce285ec121805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae996031702ab51c26bd60ef4d40ac62a82b6c4c84c3b5b3954ce285ec121805", kill_on_drop: false }` [INFO] [stdout] ae996031702ab51c26bd60ef4d40ac62a82b6c4c84c3b5b3954ce285ec121805