[INFO] fetching crate lrpc 1.1.0... [INFO] testing lrpc-1.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate lrpc 1.1.0 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lrpc 1.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lrpc-macros v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98abd03dedb8ceb12cba3b1cb54d717fa0e6e91100d938a2bdced4980f96f55e [INFO] running `Command { std: "docker" "start" "-a" "98abd03dedb8ceb12cba3b1cb54d717fa0e6e91100d938a2bdced4980f96f55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98abd03dedb8ceb12cba3b1cb54d717fa0e6e91100d938a2bdced4980f96f55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98abd03dedb8ceb12cba3b1cb54d717fa0e6e91100d938a2bdced4980f96f55e", kill_on_drop: false }` [INFO] [stdout] 98abd03dedb8ceb12cba3b1cb54d717fa0e6e91100d938a2bdced4980f96f55e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ad0eaf5772fb611c3071598de9733e16ec38ca25d4f93469b05d83bda603540 [INFO] running `Command { std: "docker" "start" "-a" "7ad0eaf5772fb611c3071598de9733e16ec38ca25d4f93469b05d83bda603540", 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 0.91s [INFO] running `Command { std: "docker" "inspect" "7ad0eaf5772fb611c3071598de9733e16ec38ca25d4f93469b05d83bda603540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad0eaf5772fb611c3071598de9733e16ec38ca25d4f93469b05d83bda603540", kill_on_drop: false }` [INFO] [stdout] 7ad0eaf5772fb611c3071598de9733e16ec38ca25d4f93469b05d83bda603540 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2967ba4cfce7728f408062fdddb14d8607179724afcbe7cb2635eb4be0fa9d09 [INFO] running `Command { std: "docker" "start" "-a" "2967ba4cfce7728f408062fdddb14d8607179724afcbe7cb2635eb4be0fa9d09", 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] [stderr] Compiling lrpc v1.1.0 (/opt/rustwide/workdir) [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] [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.64s [INFO] running `Command { std: "docker" "inspect" "2967ba4cfce7728f408062fdddb14d8607179724afcbe7cb2635eb4be0fa9d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2967ba4cfce7728f408062fdddb14d8607179724afcbe7cb2635eb4be0fa9d09", kill_on_drop: false }` [INFO] [stdout] 2967ba4cfce7728f408062fdddb14d8607179724afcbe7cb2635eb4be0fa9d09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98813ed9d8e9a6c047b3172dbccda8471a96db03ef17e62c2a7c55051a4faf50 [INFO] running `Command { std: "docker" "start" "-a" "98813ed9d8e9a6c047b3172dbccda8471a96db03ef17e62c2a7c55051a4faf50", 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.03s [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_buf ... ok [INFO] [stdout] test tests::test_attribute_macro ... 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.06s [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.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "98813ed9d8e9a6c047b3172dbccda8471a96db03ef17e62c2a7c55051a4faf50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98813ed9d8e9a6c047b3172dbccda8471a96db03ef17e62c2a7c55051a4faf50", kill_on_drop: false }` [INFO] [stdout] 98813ed9d8e9a6c047b3172dbccda8471a96db03ef17e62c2a7c55051a4faf50