[INFO] fetching crate coercion 0.1.0... [INFO] testing coercion-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate coercion 0.1.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate coercion 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ae3833c22ccb1f4989b0372aea8044475c772b8c18ad78e2d4e89508635fe78 [INFO] running `Command { std: "docker" "start" "-a" "7ae3833c22ccb1f4989b0372aea8044475c772b8c18ad78e2d4e89508635fe78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ae3833c22ccb1f4989b0372aea8044475c772b8c18ad78e2d4e89508635fe78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae3833c22ccb1f4989b0372aea8044475c772b8c18ad78e2d4e89508635fe78", kill_on_drop: false }` [INFO] [stdout] 7ae3833c22ccb1f4989b0372aea8044475c772b8c18ad78e2d4e89508635fe78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4e926bae3fdbe2f0afd902f4721ebb135d9aa6d3f2e46792cca619580a362483 [INFO] running `Command { std: "docker" "start" "-a" "4e926bae3fdbe2f0afd902f4721ebb135d9aa6d3f2e46792cca619580a362483", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | help: replace this with: `u8::cast_signed` [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] [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] | help: replace this with: `i8::cast_unsigned` [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] [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] | help: replace this with: `u8::from` [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] [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] | help: replace this with: `i8::from` [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] [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] | help: replace this with: `u16::cast_signed` [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] [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] | help: replace this with: `i16::cast_unsigned` [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] [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] | help: replace this with: `u32::cast_signed` [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] [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] | help: replace this with: `i32::cast_unsigned` [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] [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] | help: replace this with: `u64::cast_signed` [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] [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] | help: replace this with: `i64::cast_unsigned` [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] [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] | help: replace this with: `u128::cast_signed` [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] [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] | help: replace this with: `i128::cast_unsigned` [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] [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] | help: replace this with: `usize::cast_signed` [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] [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] | help: replace this with: `isize::cast_unsigned` [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "4e926bae3fdbe2f0afd902f4721ebb135d9aa6d3f2e46792cca619580a362483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e926bae3fdbe2f0afd902f4721ebb135d9aa6d3f2e46792cca619580a362483", kill_on_drop: false }` [INFO] [stdout] 4e926bae3fdbe2f0afd902f4721ebb135d9aa6d3f2e46792cca619580a362483 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c5b5e87adda80ad0cc0aedb53a64d28c051b607bf8d6317c2d5a05a166008ee5 [INFO] running `Command { std: "docker" "start" "-a" "c5b5e87adda80ad0cc0aedb53a64d28c051b607bf8d6317c2d5a05a166008ee5", kill_on_drop: false }` [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] | help: replace this with: `u8::cast_signed` [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] [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] | help: replace this with: `i8::cast_unsigned` [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] [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] | help: replace this with: `u8::from` [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] [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] | help: replace this with: `i8::from` [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] [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] | help: replace this with: `u16::cast_signed` [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] [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] | help: replace this with: `i16::cast_unsigned` [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] [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] | help: replace this with: `u32::cast_signed` [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] [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] | help: replace this with: `i32::cast_unsigned` [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] [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] | help: replace this with: `u64::cast_signed` [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] [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] | help: replace this with: `i64::cast_unsigned` [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] [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] | help: replace this with: `u128::cast_signed` [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] [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] | help: replace this with: `i128::cast_unsigned` [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] [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] | help: replace this with: `usize::cast_signed` [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] [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] | help: replace this with: `isize::cast_unsigned` [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] [INFO] [stdout] [INFO] [stderr] Compiling 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] | help: replace this with: `u8::cast_signed` [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] [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] | help: replace this with: `i8::cast_unsigned` [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] [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] | help: replace this with: `u8::from` [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] [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] | help: replace this with: `i8::from` [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] [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] | help: replace this with: `u16::cast_signed` [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] [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] | help: replace this with: `i16::cast_unsigned` [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] [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] | help: replace this with: `u32::cast_signed` [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] [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] | help: replace this with: `i32::cast_unsigned` [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] [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] | help: replace this with: `u64::cast_signed` [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] [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] | help: replace this with: `i64::cast_unsigned` [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] [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] | help: replace this with: `u128::cast_signed` [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] [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] | help: replace this with: `i128::cast_unsigned` [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] [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] | help: replace this with: `usize::cast_signed` [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] [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] | help: replace this with: `isize::cast_unsigned` [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "c5b5e87adda80ad0cc0aedb53a64d28c051b607bf8d6317c2d5a05a166008ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b5e87adda80ad0cc0aedb53a64d28c051b607bf8d6317c2d5a05a166008ee5", kill_on_drop: false }` [INFO] [stdout] c5b5e87adda80ad0cc0aedb53a64d28c051b607bf8d6317c2d5a05a166008ee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ac485b3e8d01e6e4bdd3ec862abc271e1b25af9f71f1d7124f075497572de327 [INFO] running `Command { std: "docker" "start" "-a" "ac485b3e8d01e6e4bdd3ec862abc271e1b25af9f71f1d7124f075497572de327", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::cast_signed` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::cast_unsigned` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i8::from` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::cast_signed` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::cast_unsigned` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::cast_signed` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::cast_unsigned` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::cast_signed` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i128::cast_unsigned` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::cast_signed` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | ::core::mem::transmute(self) [INFO] [stderr] | ----------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `isize::cast_unsigned` [INFO] [stderr] | [INFO] [stderr] ::: src/coerce.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / unsafe_impl_coerce! { [INFO] [stderr] 182 | | { u8 | i8 | NonZeroU8 | NonZeroI8 | AtomicU8 | AtomicI8 | bool | AtomicBool }; [INFO] [stderr] 183 | | { u16 | i16 | NonZeroU16 | NonZeroI16 | AtomicU16 | AtomicI16 }; [INFO] [stderr] 184 | | { u32 | i32 | NonZeroU32 | NonZeroI32 | AtomicU32 | AtomicI32 }; [INFO] [stderr] ... | [INFO] [stderr] 187 | | { usize | isize | NonZeroUsize | NonZeroIsize | AtomicUsize | AtomicIsize }; [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `coercion` (lib) generated 14 warnings (run `cargo fix --lib -p coercion` to apply 14 suggestions) [INFO] [stderr] warning: `coercion` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/coercion-66be903d6efa8bf2) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test as_::tests::boxed_str_to_u8 ... ok [INFO] [stdout] test coerce::tests::boxed_slice_coercion ... ok [INFO] [stdout] test coerce::tests::box_coercion ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ac485b3e8d01e6e4bdd3ec862abc271e1b25af9f71f1d7124f075497572de327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac485b3e8d01e6e4bdd3ec862abc271e1b25af9f71f1d7124f075497572de327", kill_on_drop: false }` [INFO] [stdout] ac485b3e8d01e6e4bdd3ec862abc271e1b25af9f71f1d7124f075497572de327