[INFO] fetching crate rend 0.5.2... [INFO] testing rend-0.5.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rend 0.5.2 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rend 0.5.2 [INFO] finished tweaking crates.io crate rend 0.5.2 [INFO] tweaked toml for crates.io crate rend 0.5.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rend 0.5.2 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [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] 86bfb55d7f226afb3bf2e92ff4bdbecb3852c1031dd0b9a1f4ecead04c482246 [INFO] running `Command { std: "docker" "start" "-a" "86bfb55d7f226afb3bf2e92ff4bdbecb3852c1031dd0b9a1f4ecead04c482246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86bfb55d7f226afb3bf2e92ff4bdbecb3852c1031dd0b9a1f4ecead04c482246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86bfb55d7f226afb3bf2e92ff4bdbecb3852c1031dd0b9a1f4ecead04c482246", kill_on_drop: false }` [INFO] [stdout] 86bfb55d7f226afb3bf2e92ff4bdbecb3852c1031dd0b9a1f4ecead04c482246 [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] eec6f87a442813e7ab400324aa137490aebf3081c1b69fef1657a5164b93ad25 [INFO] running `Command { std: "docker" "start" "-a" "eec6f87a442813e7ab400324aa137490aebf3081c1b69fef1657a5164b93ad25", kill_on_drop: false }` [INFO] [stderr] Compiling rend v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unnecessary_transmutes)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / define_floats! { [INFO] [stdout] 191 | | f32_le f32_be: 4 f32 as u32, [INFO] [stdout] 192 | | f64_le f64_be: 8 f64 as u64, [INFO] [stdout] 193 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe { transmute::(swap_endian!($endian self.0)) } [INFO] [stdout] | ----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | define_char!(char_le: little); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this error originates in the macro `impl_char` which comes from the expansion of the macro `define_char` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe { transmute::(swap_endian!($endian self.0)) } [INFO] [stdout] | ----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | define_char!(char_be: big); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this error originates in the macro `impl_char` which comes from the expansion of the macro `define_char` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let value = unsafe { transmute::<$prim, $prim_int>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let value = unsafe { transmute::<$prim_int, $prim>(value) }; [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let value = unsafe { transmute::<$prim, $prim_int>(self.0) }; [INFO] [stdout] | -----------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | unsafe { transmute::<$prim_int, $prim>(value) } [INFO] [stdout] | -----------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / define_unaligned_floats! { [INFO] [stdout] 138 | | f32_ule f32_ube: 4 f32 as u32, [INFO] [stdout] 139 | | f64_ule f64_ube: 8 f64 as u64, [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_float` which comes from the expansion of the macro `define_unaligned_floats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe { transmute::(swap_endian!($endian self.0)) } [INFO] [stdout] | ----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | define_unaligned_char!(char_ule: little); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this error originates in the macro `impl_char` which comes from the expansion of the macro `define_unaligned_char` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/common.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | unsafe { transmute::(swap_endian!($endian self.0)) } [INFO] [stdout] | ----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `char::from_u32_unchecked` [INFO] [stdout] | [INFO] [stdout] ::: src/unaligned.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | define_unaligned_char!(char_ube: big); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using `char::from_u32(…).unwrap()` [INFO] [stdout] = note: this error originates in the macro `impl_char` which comes from the expansion of the macro `define_unaligned_char` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rend` (lib) due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "eec6f87a442813e7ab400324aa137490aebf3081c1b69fef1657a5164b93ad25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec6f87a442813e7ab400324aa137490aebf3081c1b69fef1657a5164b93ad25", kill_on_drop: false }` [INFO] [stdout] eec6f87a442813e7ab400324aa137490aebf3081c1b69fef1657a5164b93ad25