[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_getrandom_patch_0 [INFO] extracting crate coercion 0.1.0 into /workspace/builds/worker-6-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-6-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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c373aa266a02740abbb66c40d508e93cfb4901240454ce1976f7b9f44d3bad62 [INFO] running `Command { std: "docker" "start" "-a" "c373aa266a02740abbb66c40d508e93cfb4901240454ce1976f7b9f44d3bad62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c373aa266a02740abbb66c40d508e93cfb4901240454ce1976f7b9f44d3bad62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c373aa266a02740abbb66c40d508e93cfb4901240454ce1976f7b9f44d3bad62", kill_on_drop: false }` [INFO] [stdout] c373aa266a02740abbb66c40d508e93cfb4901240454ce1976f7b9f44d3bad62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] 4cb02d5b12bc225d2dddc23629b76b65f568f86f68202569c2bf764e70802fcc [INFO] running `Command { std: "docker" "start" "-a" "4cb02d5b12bc225d2dddc23629b76b65f568f86f68202569c2bf764e70802fcc", 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" "4cb02d5b12bc225d2dddc23629b76b65f568f86f68202569c2bf764e70802fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb02d5b12bc225d2dddc23629b76b65f568f86f68202569c2bf764e70802fcc", kill_on_drop: false }` [INFO] [stdout] 4cb02d5b12bc225d2dddc23629b76b65f568f86f68202569c2bf764e70802fcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] 76c25ac4fd7c81798b1512eb6b99bb615e9b0557daeb57181cfcfeedec0de49f [INFO] running `Command { std: "docker" "start" "-a" "76c25ac4fd7c81798b1512eb6b99bb615e9b0557daeb57181cfcfeedec0de49f", 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] [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: `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] [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.62s [INFO] running `Command { std: "docker" "inspect" "76c25ac4fd7c81798b1512eb6b99bb615e9b0557daeb57181cfcfeedec0de49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c25ac4fd7c81798b1512eb6b99bb615e9b0557daeb57181cfcfeedec0de49f", kill_on_drop: false }` [INFO] [stdout] 76c25ac4fd7c81798b1512eb6b99bb615e9b0557daeb57181cfcfeedec0de49f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6e6aecc700a63e01fd6f66edca540fb7d67756d60763a059d52fd3fb856113de [INFO] running `Command { std: "docker" "start" "-a" "6e6aecc700a63e01fd6f66edca540fb7d67756d60763a059d52fd3fb856113de", 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.01s [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 tests::it_works ... ok [INFO] [stdout] test as_::tests::boxed_str_to_u8 ... ok [INFO] [stdout] test coerce::tests::box_coercion ... ok [INFO] [stdout] test coerce::tests::boxed_slice_coercion ... 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" "6e6aecc700a63e01fd6f66edca540fb7d67756d60763a059d52fd3fb856113de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6aecc700a63e01fd6f66edca540fb7d67756d60763a059d52fd3fb856113de", kill_on_drop: false }` [INFO] [stdout] 6e6aecc700a63e01fd6f66edca540fb7d67756d60763a059d52fd3fb856113de