[INFO] fetching crate coercion 0.1.0... [INFO] checking coercion-0.1.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate coercion 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate coercion 0.1.0 [INFO] finished tweaking crates.io crate coercion 0.1.0 [INFO] tweaked toml for crates.io crate coercion 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate coercion 0.1.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b226fd9ff4d1ae5b08281589a7de418ada7083e59877e882b33d3f9c942fb094 [INFO] running `Command { std: "docker" "start" "-a" "b226fd9ff4d1ae5b08281589a7de418ada7083e59877e882b33d3f9c942fb094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b226fd9ff4d1ae5b08281589a7de418ada7083e59877e882b33d3f9c942fb094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b226fd9ff4d1ae5b08281589a7de418ada7083e59877e882b33d3f9c942fb094", kill_on_drop: false }` [INFO] [stdout] b226fd9ff4d1ae5b08281589a7de418ada7083e59877e882b33d3f9c942fb094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db646aa569891053d98d8d92d76aac5afec34baed3bd21a39f9fdb0bc4f1c7ff [INFO] running `Command { std: "docker" "start" "-a" "db646aa569891053d98d8d92d76aac5afec34baed3bd21a39f9fdb0bc4f1c7ff", kill_on_drop: false }` [INFO] [stderr] Checking coercion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u8::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i8::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u8::from(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i8::from(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u16::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i16::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u32::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i32::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u64::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i64::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u128::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i128::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + usize::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + isize::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u8::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i8::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u8::from(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i8::from(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u16::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i16::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u32::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i32::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u64::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i64::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + u128::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + i128::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + usize::cast_signed(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | ::core::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coerce.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / unsafe_impl_coerce! { [INFO] [stdout] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stdout] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stdout] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stdout] ... | [INFO] [stdout] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::unsafe_impl_coerce` which comes from the expansion of the macro `unsafe_impl_coerce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 49 - ::core::mem::transmute(self) [INFO] [stdout] 49 + isize::cast_unsigned(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "db646aa569891053d98d8d92d76aac5afec34baed3bd21a39f9fdb0bc4f1c7ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db646aa569891053d98d8d92d76aac5afec34baed3bd21a39f9fdb0bc4f1c7ff", kill_on_drop: false }` [INFO] [stdout] db646aa569891053d98d8d92d76aac5afec34baed3bd21a39f9fdb0bc4f1c7ff